This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes validation problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validation problems" Watch "validation problems" New topic
Author

validation problems

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

hi all,

Say we are using validation on some jsp and i have the back button on the same jsp which can be used to edit the privious pages date.

than what is the best way to get rid of this.

thanks in advance
regards
rahul
Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 137
than what is the best way to get rid of this

Get rid of what? Back button?

What back button you are talking about browser's back button or you have any back button in your application's web page? Please be specific and clear on what you wanna ask


Paras Jain
SCJP 5.0
Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

if we use validation-frame work we can only apply the validations on that form/jsp. say we have our own back button on the same page/jsp/form, which can be used to edit privious page's data how to handle this in a simple way.

[ 2 buttons are there one page. 1 is submit to go to next page and one is back button to go to privious page to edit that page's values/text boxes/drop down boxes.]

rahul
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validation problems
 
Similar Threads
Problem with validator
Server side validation - not working.
Is there any validation plugin in place of Javascript
how to send error messages from sendRedirect to Jsp from a servlet
Unmatched brace or incomplete EL expression