users
[Top] [All Lists]

value for href in webapps

To: users@xxxxxxxxxx
Subject: value for href in webapps
From: Sling Shot <slingshaut@xxxxxxxxx>
Date: Thu, 22 Jul 2004 10:06:12 -0700 (PDT)
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Hi,
 
What is the recommended way to write values for the href attribute in jsps?
 
We're currently using something like"
                              href=""
but I'd like the href value to be independent of the webapp name ("mywebapp"
in above example).
 
e.g. Like the way we specify the values in the <jsp:forward ..> action,
where the webapp context root is automatically chosen for you.
So in the above example I would like to write the href as:
href=""
 
where MACRO is some code that automatically chooses the webapp
context root for me at runtime.
 
Is there some way this can be done (prefereably w/o using scriptlet code)
 
Thanx,
/sling


Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
<Prev in Thread] Current Thread [Next in Thread>