I should add a comment here: linktags was suggested to the overall group for addition as a top-level module a while back, and was voted down because nobody else saw the need. :)
--------------------------------------------------------- Joseph B. Ottinger [EMAIL PROTECTED] http://enigmastation.com IT Consultant On Thu, 7 Nov 2002, Justen Stepka wrote: > With all of the different responses to the problem I am getting, I think this might >fall under a much needed section addition to the project site... 'best programming >practices' similar to the link Mike gave us >(http://radio.weblogs.com/0107789/stories/2002/11/02/webworkCookbook.html). > > Current options: > > 1. linkstag module > 2. have all actions extend a base class and have a getContextPath method for use w/ >the EL > 3. <webwork:url value="'/css/generic.css'"/> > > Of course all of these work well... > > Food for thought. > > Justen Stepka > > ----- Original Message ----- > From: Justen Stepka > To: [EMAIL PROTECTED] > Sent: Thursday, November 07, 2002 10:02 AM > Subject: [OS-webwork] relative path tag > > > Morning, > > Currently I have the following in my JSP code... > > <link rel="stylesheet" type="text/css" media="screen" >href="<%=request.getContextPath()%>/css/generic.css" /> > > It would be nice to have something like the following... > > <link rel="stylesheet" type="text/css" media="screen" href="<ww:contextPath >/>/css/generic.css" /> > > If there was such a tag I could pretty much remove all of my scriptlet code from >my JSP pages... > > Thougths? > > Justen Stepka > ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork