wood burning stoves 2.0*
The moose likes Struts and the fly likes sslext with tiles. URL shows .jsp instead of .do Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "sslext with tiles. URL shows .jsp instead of .do" Watch "sslext with tiles. URL shows .jsp instead of .do" New topic
Author

sslext with tiles. URL shows .jsp instead of .do

GANESH LAKSHMANAN
Greenhorn

Joined: Apr 19, 2006
Posts: 2
Hi All,
I am Struts 1.2.8 with Tiles,Velocity Menu & sslext-1.2 .
Problem is :
1. I'm linking from one page to another page with as the following URL with https:
<a href="https://localhost:8443/web/formAction.do"> SSL</a>
2. That is Action with ".do".
3. struts-config.xml
<action path="/formAction" type="test.ssl.NullAction">
<set-property property="secure" value="false"/>
<forward name="success" path="/form.jsp" />
</action>
This is just forward to the required form (form.jsp). So, if we activate hit the URL as http://localhost:8080/web/formAction.do - (No https)
the form will show properly (No URL Change)

4.But in form.jsp, if we add the following lines:
<%@ taglib uri="/WEB-INF/StrutsConfig/sslext.tld" prefix="sslext" %>
<sslext ageScheme secure="false"/>

Because the page should be load as non https. Logic is posting of data is https after forawarding to another page is non https.

5. Using https link if we click, moving as security alert, then once again moving to non secured page.
But the URL is
http://localhost:8080/web/form.jsp;jsessionid=E9FAA9E74623B4C60FFEC265BC76CD56.
Instead of http://localhost:8080/web/formAction.do .

What is the problem how we can resolve this?. Becuse of this is , template based tiles is not working properly.


All Suggestions are welcomes and my advance thanks

This is very urgend. Once again my thanks.

you can reach me lenaganesh@yahoo.com.

L.GANESH.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sslext with tiles. URL shows .jsp instead of .do
 
Similar Threads
How to change to secure ?
Each Time The Server Restarts, The Browser Does Not Display The Welcome Page
SSLExt, Tiles, Struts 1.3.5
Disable Session Id
Bert Bates-Struts Sample Appliation code