ods gel

Greenhorn
+ Follow
since Oct 09, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ods gel

apache- tomcat
16 years ago
Hi,
I had in the jsp file tag input:

and since it didn't match the bean property: contactName I have changed it to

I have deployed and restarted the server, but still it seems to be that the server doesn't catch the change and doesn't care about contactName (it returns null while it's not).
I have also restarted the computer.
What else can I do to have it notice the change?
16 years ago
create the select as:

and in the form itself:
16 years ago
Hi,
I m uploading a file using with FormFile (Struts).
What is the best way to save it with unique name for each file (so it won't overwrite exiting ones)?
16 years ago
Hello,
When I restart the server, I get this exception:

Caused by: java.io.NotSerializableException: org.apache.struts.beanaction.DefaultActionInterceptor
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)

What could be the source for it?
16 years ago
Thanks for the reply.
A. What other scope could be valid? I need it for a user session. Or I should use something else?
B.
16 years ago
Hello,
I have written the following bean with method to find books:


and the following action mapping:


The search bar appears on the BooksIndex.jsp page - which is being filled when site it being loaded.
When I press the search button for a book, I can see that I get a list of books, but the page is not being reloaded.
What could be the problem?
16 years ago
Hello,
I am trying to implement <h:datatable >.
I have the following Object - ObituaryData:



and the following ObituariesList:



Where getObituariesList() returns a collection of ObituaryData (I can see it when debugging).
I implemented in in <h:datatable> like this:

The screen runs all right, but nothing it being displayed instead of #obituaryAd# values!
What could have gone wrong?
16 years ago
JSF