velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <nat...@esha.com>
Subject Re: $link.setAction relative url
Date Wed, 16 Jun 2004 21:21:02 GMT
brian said:
> I am using a velocity template and when the page is shown in tomcat the
> url is: http://neo:7080/myapp/servlet/myapp/action/JSPFrontController,
> which is correct, however when I build the app in Websphere and view the
> same page, the url is: http://neo:7080/myapp/servlet/myapp/
> <http://neo:7080/app/servlet/app/templates/app/screens/Login.vm/action/J
> SPFrontController>
> templates/app/screens/Login.vm/action/JSPFrontController which causes a
> "page cannot be found" error.  Is there a method I can use to make sure
> the url is built consistently in any container?

judging by the URLs you are describing, it appears that you are a Turbine
user, right?  if so, then you should ask the turbine-user list this question,
because they maintain their own $link tool.  that's not a part of Velocity.

Nathan Bubna
nathan@esha.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message