Check with a proxy(I use Paros) and see the headers thayt you are receiving. Sent via BlackBerry from T-Mobile
-----Original Message----- From: "Amit Oberoi" <aobe...@techmahindra.com> Date: Mon, 27 Dec 2010 20:22:26 To: Struts Users Mailing List<user@struts.apache.org> Reply-To: "Struts Users Mailing List" <user@struts.apache.org> Subject: <html:link> prompting me to download the jsp file rather then displaying it on the browser window All, Any suggestions in reference to below email will be helpful; I am not able to dig to the root cause of this issue. Regards Amit Oberoi To: Struts Users Mailing List Subject: <html:link> prompting me to download the jsp file Hi, Probably I'll top the list for seeking dumb advices I had my head scratched enough on this but couldn't get through. I am using the <html:link> tag as shown below to navigate to a page called register.jsp; however when I click the link my browser prompts me to download the jsp page (surprisingly the html inside the downloaded jsp page is what I'm expecting). <html:link action="registerUser.do" styleClass="style.css">Register</html:link> My struts-config.xml action mapping looks as below <action-mappings> <action path="/registerUser" forward="/register.jsp"/> <action path="/access" forward="/access.jsp"/> <action path="/register" name="registrationForm" input="/register.jsp" scope="request" validate="true" type="com.btw.action.RegisterAction"> <forward name="success" path="/access"/> </action> <action path="/forgotPasssword" name="forgotPasswordForm" input="/forgotPassword.jsp" scope="request" validate="true" type="com.btw.action.EmailPasswordAction"/> <action path="/login" name="loginForm" input="/access.jsp" scope="session" validate="true" type="com.btw.action.LoginAction"> <forward name="success" path="/welcome"/> <forward name="failure" path="/access"/> </action> <action path="/welcome" forward="/welcomeStruts.jsp"/> </action-mappings> Am I doing anything wrong with the <html:link> tag? Regards Amit Oberoi ============================================================================================================================Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org