Hi everyone,
I am using struts 1.2.4 with tomcat 5.0.27, and have 1 module setup.
I am experience a very strange problem that only happens on the production environment. ie. It works fine on the test machine. The problem is when I have an html:link tag in my JSP, the rendered href is incorrect. Eg.
JSP:
<html:link action="home"/>Home</html:link>
HTML output (note the '//'):
<a href="//home.do">Home</a>
As you can see the href is incorrect. I have tryed all kinds of variations on the html:link action attribute, but nothing has returned the correct results.
The only difference I can see between the testing and the production environments would be the applicatoin is referenced using the domain name ( rather than testing URL (
Any help is appreciated.
I am using struts 1.2.4 with tomcat 5.0.27, and have 1 module setup.
I am experience a very strange problem that only happens on the production environment. ie. It works fine on the test machine. The problem is when I have an html:link tag in my JSP, the rendered href is incorrect. Eg.
JSP:
<html:link action="home"/>Home</html:link>
HTML output (note the '//'):
<a href="//home.do">Home</a>
As you can see the href is incorrect. I have tryed all kinds of variations on the html:link action attribute, but nothing has returned the correct results.
The only difference I can see between the testing and the production environments would be the applicatoin is referenced using the domain name ( rather than testing URL (
Any help is appreciated.