File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Validation in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validation in Struts" Watch "Validation in Struts" New topic
Author

Validation in Struts

Priya Jotwani
Ranch Hand

Joined: Oct 30, 2002
Posts: 53
Hi ,

I have a two listboxes on a JSP Page.I move some of the elements from first Listbox(which contains Available Data) to the other(which is blank when the page loads for the first time).When I click next button , I should check if my Second Listbox contains some data.If not, I should show user an error message.How do I do this ?

Thanks in Advance,
Priya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validation in Struts
 
Similar Threads
Lisbox validation in struts
SelectManyListBox is acting really weird
how to retain selected value.....
logic:iterate and onChange
Why doesn't a component in a Listbox see mouse clicks when using a DefaultListCellRenderer ?