struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Susan Bradeen" <Sus...@softlanding.com>
Subject request.getContextPath() and Tiles
Date Tue, 17 Dec 2002 15:46:54 GMT
This is exactly what I am trying to do ...

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg37691.html

I would like to set 
requestURI='request.getContextPath().concat("/something.do")'
however, my "request.getContextPath()" is not including my module in that 
path. 

For example, I am getting ...
        http://localhost/myWebApp/myAction.do
 instead of ...
        http://localhost/myWebApp/myModule/myAction.do

Tiles is working perfectly for all Action links (<html:link 
page="/myAction.do">), 
but for two <html:link href="..."> links I am trying to set up, I can't 
get the correct path. 

All suggestions are greatly appreciated.

Thanks,
Susan Bradeen

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message