struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Kulkarni <>
Subject need suggestion on logic
Date Mon, 28 Jul 2003 14:32:51 GMT
 I am building a web application using struts1.1, and
 this is my requirement,
 There is a jsp where in user will enter data in text
 field, and then press enter, this will submit to a
 Action class, this action class must decide wether a
 relogin page has to be displayed or not, and if yes
 then display a relogin page, the user will enter the
 password, if the password is correct, perform the
 task  of entering data in database, if the password
 wrong  or user presses cancel, then take him back to 
   the jsp from where the user came, and populate all
the data which was entered in jsp,
 If there is no need for relogin screen, enter the
 data to  database.
 the puzzle here is how do i write that common Action
 class which will handle to display the login page,
 other Action class which will validate the password,
 and forward the request to other class 
 So i need to remmember where the request came from
 where it has to go??
 need help on this

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message