• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Create fake request coming in from jsp to ActionServlet

 
Alex Lee
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 43
Android Hibernate jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic