This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes How to specify absolute path in struts-config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to specify absolute path in struts-config" Watch "How to specify absolute path in struts-config" New topic
Author

How to specify absolute path in struts-config

S Kulkarni
Greenhorn

Joined: Jul 09, 2003
Posts: 3
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to specify absolute path in struts-config
 
Similar Threads
sslext with tiles. URL shows .jsp instead of .do
SSLEXT and Struts 1.2.9
MappedPropertyDescriptor error
SSL
Using ActionMapping to open a https page