I would like my
JSP to render a link similiar to this:
"User DOYLE_T is out of office" (for example). The username in capitals is a URL that once the user clicks can see a page showing that user's profile. I can do this on the JSP fine (i.e store the username in the request and construct the link on the JSP using the username).
For my application though the above message needs to be generic so that any action can add their own specific text. In this respect i will need to construct the message (including the URL) in the action (and then store in the request).
Does anyone know how i can cleanly do this (apart from prepending "a href" etc into my variable in my action) ? Normal text would be fine but ament sure how to incorporate the URL part..
any help (code sample / link / example) would be great. Thanks...