| Author |
Create fake request coming in from jsp to ActionServlet
|
Alex Lee
Greenhorn
Joined: May 05, 2004
Posts: 5
|
|
Hi guys,
Do you guys encounter this situation before?
I have 2 framework running in my web app.
One is struts , the other is normal servlet
the struts contain the login portion..
I don't have the code of struts portion,
I only know the following from struts -config.xml :
<action path="/logon" type="UserLogonAction" input="/logon.jsp" name="UserLogonForm" unknown="false">
<forward name="secure-logon-success" path="/redirect.jsp" />
<forward name="logon-success" path="/InboxAction.wdo?action=init" />
</action>
Now, I would like to call login from my normal servlet...how do i do it?
Any idea?
|
 |
Anantha Sharma
Ranch Hand
Joined: Sep 01, 2010
Posts: 43
|
|
you cal submit to the login servlet..
once you click the button its takes you to logon page.
alternatively, you can use meta tags to get similar result
CONTEXT="1" - means that the refresh should happen every second
URL=logon.do - this is the URL to which it will go to once the second is up.
|
 |
 |
|
|
subject: Create fake request coming in from jsp to ActionServlet
|
|
|