tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <spr...@gmx.eu>
Subject RE: what to do in conf. files
Date Fri, 25 Feb 2011 19:57:39 GMT
> > Especially, what are things to deploy jsf_webapp
> >  in its real host after developing it in the localhost  ?
> 
> You will also have to make sure that your URLs are built properly. If
> the string "localhost" appears anywhere in your webapp, 
> you're probbaly
> doing something wrong. Also, if you're not building URLs in 
> pages like this:
> 
>    <a href="<%= response.encodeURL(request.getContextPath()
>                           + "/path/to/resource") %>">your link</a>

Isn't this very, very old Java-mixed-with-JSP code style?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message