You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "PILGRIM, Peter, FM" <Pe...@rbos.com> on 2003/04/09 11:38:29 UTC

Struts JSTL

I am looking to remove JSP scriptlets more rigourously from
my pages. Is there a more concise on-line JSTL guide available,
apart from Sun and Jakarta.

Specifically I want to replace

<% String imageURL = request.getContextPath()+"/ProcessOrderReport.do"; %>

with something

<c:set var="imageUrl" value="......." />

--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44 (0)207-375-4923


********************************************************************
      Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland plc is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
             Regulated by the Financial Services Authority
********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Struts JSTL

Posted by Jacob Hookom <ho...@uwec.edu>.
<c:set var="imageUrl"
value="${pageContext.request.contextPath}/ProcessOrderReport.do" />

otherwise, this will also likely work

<c:url var="imageUrl" value="/ProcessOrderReport.do" />

-Jacob

| -----Original Message-----
| From: PILGRIM, Peter, FM [mailto:Peter.PILGRIM@rbos.com]
| Sent: Wednesday, April 09, 2003 4:38 AM
| To: Struts Users Mailing List (E-mail)
| Subject: Struts JSTL
| 
| I am looking to remove JSP scriptlets more rigourously from
| my pages. Is there a more concise on-line JSTL guide available,
| apart from Sun and Jakarta.
| 
| Specifically I want to replace
| 
| <% String imageURL = request.getContextPath()+"/ProcessOrderReport.do"; %>
| 
| with something
| 
| <c:set var="imageUrl" value="......." />
| 
| --
| Peter Pilgrim,
| Struts/J2EE Consultant, RBoS FM, Risk IT
| Tel: +44 (0)207-375-4923
| 
| 
| ********************************************************************
|       Visit our Internet site at http://www.rbsmarkets.com
| 
| This e-mail is intended only for the addressee named above.
| As this e-mail may contain confidential or privileged information,
| if you are not the named addressee, you are not authorised to
| retain, read, copy or disseminate this message or any part of it.
| The Royal Bank of Scotland plc is registered in Scotland No 90312
| Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
|              Regulated by the Financial Services Authority
| ********************************************************************
| 
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
| For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org