aspose file tools*
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
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