Hi,
 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
is
 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,
 and
 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
 and
 where it has to go??
 need help on this
 
 Ashish
 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to