Not sure what is best here.

I need to create an URL with a value from my default resource bundle in the URL

For example <s:text name="IMAGE"/> returns logo.gif

I need to do something like <s:url value="/%{IMAGE}" /> that will
return my relative url with the value of IMAGE appended.

So if I'm at /App/11/index.jsp my img src will be /App/11/logo.gif

If I simply do <s:url value="/"/><s:text name="IMAGE"/> oftentimes the
jsessionid value get's placed on the end of the url and corrupts the
intended results.

Using struts 2.2.1 .. any suggestions?

-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to