Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to specify absolute path in struts-config

 
S Kulkarni
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I want to forward the action "/signin" to a secure page via https. I tried the following line in struts-config

<action path="/signin" parameter="https://somecompany.com/signin.jsp" type="org.apache.struts.actions.ForwardAction" scope="request" name="loginForm" validate="false" input="/index.jsp">
</action>
It doesnt work and the app navigates to the context relative path
"/https://somecompany.com/signin.jsp"
How can I specify absolute path of the secure page in the <action> tag ?
Thanks
S. Kulkarni
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic