I think the common way is something like this:
public String getLink() {
StringBuffer sb = new StringBuffer();
sb.append("<a href=\"+request.getContextPath+" what ever your link
is\">link text</a>");
return sb.toString();
}
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Adam Sherman
> Sent: Sunday, March 30, 2003 7:26 PM
> To: [EMAIL PROTECTED]
> Subject: [displaytag-user] Building links in a Decorator
>
>
> Is there a Best Practices for building links in a Decorator?
>
> Context relative, session passing, etc? (I've actually never
> built a link
> outside of a JSP tag!)
>
> Thanks,
>
> A.
>
> P.S. <display:*> is real example of well designed API, IMHO. Kudos!
>
> --
> Adam Sherman
> Tritus CG Inc.
> http://www.tritus.ca/
> +1 (613) 797-6819
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> displaytag-user mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user