Good point!
In my derived class I didn't code another get method to use a String, so maybe it was confused.
I'll add that and see what happens.
Type: Posts; User: darrinps; Keyword(s):
Good point!
In my derived class I didn't code another get method to use a String, so maybe it was confused.
I'll add that and see what happens.
I just shot you an email.
No...I'm afraid that we are locked into this version for a while.
Note that I know that I can simply alter the name in the derived class, calculate the date, then call the correct setting in the...
I have a situation where a parent class has a Date field. I want to be able to set this field dynamically and allow things to vary by what I set up in an XML file. For example, in my XML file I...
I also found this: http://www.devx.com/Java/Article/21665/0/page/3
Hold on....think I found it.
String[] configFiles = new String[] { "applicationcontext1.xml",
"applicationcontext2.xml" };
BeanFactory factory = new...
I know how to set up a web based application to use multiple application context files:
<!-- In my web.xml file-->
<context-param>
<param-name>contextConfigLocation</param-name>...
I'm fairly sure that the framework has a custom class class loader.
I'm getting a ClassCastException when running the following code:
Resource res = new FileSystemResource("flightAvailabilityTest.xml");
BeanFactory factory = new XmlBeanFactory(res);
...
Hmmm...I'm a little confused here having not used reference beans much at all.
What it looks like you are saying to do is to set up "theListOfBeans" using individual "location" (in my example) ...
Thanks.
I'll start with that.
I have a situation where I need to have a list of beans and not a bean that contains lists. All of the documentation and books I have read talk about beans with lists, but not a list of beans. Is...
Hmmm...beginning to agree with storing the metadata instead of the images themselves in the database...may consider that.
Anyway, the images stored are a set of thumbnils (about 12) and the...
What "price" are you paying over storing them in some other format? Databases are designed to retrieve data quickly and store it efficiently.
The same can be said of images. For example, say...
Why do you frown on holding images in a database? Note that the images are the data, not just part of the GUI.
I have a situation where the amount of user data is quite large (it is a 3D app in addition to large 2D images). This application is running on a single node. For the short term, this isn't an issue...
I have a web based application where the database is set up so each user has a login/password that ties to their data only. In other words, the permission is set on a specific user table so only...
I converted from JNDI to use a DriverManagerDataSource and now that seems to work as expected.
Now my question is, what is wrong with using a JNDI datasource?
I verified that the datasource I...
That works for me:
params.put("name",null);
Looks like there is some sort of problem with this as any password at all is accepted as valid. I even edited the applicationContext-jdbc.xml file inside the UserCredentialsDataSourceAdapater bean to...
Boy, the response I've been getting is just overwhelming. :roll:
Is it that nobody uses this maybe?
Boy that got a tremendous response. :(
How about this question then...
How inefficient is it to have to set the username/password that UserCredentialsDataSourceAdapter requires?
I mean,...
OK, I have a situation where I need to use MS SQL Server's built in user authentication and set a different username/password combination for each session.
I currently have a datasource set up...
Doing a search on this forum it looks like the answer is yes...but you have to do it in a certain way.
I think someone mentioned seeing the "contacts" demo for Ageci, so that is what I will seach...
I am working on a project where JSF will be the front end to a Spring based middle.
Given that JSF has its own servlet that is separate from Spring, is it possible to use Ageci for security, and...