I'm assuming you are writing your own custom tag and rendering the link
inside the tag definition. If this is the case you may wish to have a
look at the org.apache.struts.taglib.TagUtils class. One of the
overloaded computeURL methods may provide the functionality you are after.
Adam
Dave Ke
Hi,
I am trying to create a link on a page with the following URL
http://localhost:8080///list.do
This JSP code specifies the
Upload
produces this link
http://localhost:8080//upload/upload.do
But, this Java code in a Tag
out.print("Upload");
produces this link
http://localhost:8080///
2 matches
Mail list logo