The other thing is that there is no reason the original poster could not use <c:out> 
in his HTML markup ...

>     <frameset cols="20%,*">
>             <frame name="allpackages"
> src="allpackages.jsp?server=<c:out value="${param.server}"/>>
>             <frame name="details" src="details.jsp?server=<c:out 
> value="${param.server}"/>">
>     </frameset>
-----Original Message-----
From: Eric W Hauser [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:54 AM
To: Tag Libraries Users List
Subject: RE: Using the standard (JSTL) tag library ...


Doing what you want to do is actually pretty simple.  You just have to
create your own JSP tag library to do it.  You could create your own
library that was your own custom frame tag that excepting EL expressions
for its parameters.  If you have the standard JSTL taglibs downloaded,
look at the class
org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager

This class takes a string representation of the EL expression and attempts
to evaluate it for you.  I believe there is at least a portion of a
chapter discussing this in "JSTL in Action", but someone has my copy so
I'm not sure.  I want to say this was added after the original JSTL 1.0
specification, so I don't think you'll find it in the specification. 

On Thu, 31 Jul 2003 [EMAIL PROTECTED] wrote:

> 
> Also see this;
> 
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg93186.html
> 
> 
> 
>                                                                                      
>                                          
>                     "Siggelkow, Bill"                                                
>                                          
>                     <[EMAIL PROTECTED]        [EMAIL PROTECTED](B:   "'Tag Libraries 
> Users List'" <[EMAIL PROTECTED]>           
>                     irant.com>               cc:                                     
>                                          
>                                              $B7oL>(B:   RE: Using the standard 
> (JSTL) tag library ...                            
>                     2003/07/31 21:17                                                 
>                                          
>                     "Tag Libraries                                                   
>                                          
>                     Users List" $B$XJV(B                                           
>                                                
>                     $B?.$7$F$/[EMAIL PROTECTED](B                                   
>                                                          
>                                                                                      
>                                          
>                                                                                      
>                                          
> 
> 
> 
> 
> Not with Tomcat 4.1.18 -- Starting with Tomcat 5 you can -- Tomcat
> implements JSP 2.0 (formerly referred to as JSP 1.3) which allows EL
> anywhere within a page.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2003 6:55 AM
> To: [EMAIL PROTECTED]
> Subject: Using the standard (JSTL) tag library ...
> 
> 
> 
> 
> 
> 
> 
> 
> I'm using JWSDP 1.1 that includes  JSTL 1.0.3 under Tomcat 4.1.18
> 
> Can I use EL  outside of the JSTL tags  ?
> 
> Like using ${param.server} in the code below:
> 
>     <frameset cols="20%,*">
>             <frame name="allpackages"
> src="allpackages.jsp?server=${param.server}">
>             <frame name="details" src="details.jsp?server=${param.server}">
>     </frameset>
> 
> So far it doesn't work. I read that there are two versions:
>       "This document describes an expression language (EL) for JSP. This
> expression
>       language has two versions: one applicable to the JSP Standard Tag
> Library (JSTL),
>       the other applicable to JSP 1.3."  (from JavaServerPages: Standard
> Tag Library  V.10)
> but I even don't know what JSP version Tomcat 4.1 supports.
> 
> -Jorge
> 
> (Full example below)
> 
> <%@ taglib uri="http://java.sun.com/jstl/fmt"; prefix="fmt" %>
> <%@ page contentType="text/html"%>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> "http://www.w3.org/TR/html4/frameset.dtd";>
> <html>
> <head>
> <link rel="stylesheet" type="text/css" href="../css/default.css" />
> <title>
> <fmt:message key="TITLE_INDEX">
>     <fmt:param value="${param.server}"/>
> </fmt:message>
> </title>
> </head>
> <frameset rows="22%,*">
>     <frame name="onheader" src="onheader.jsp?server=${param.server}">
>     <frameset cols="20%,*">
>             <frame name="allpackages"
> src="allpackages.jsp?server=${param.server}">
>             <frame name="details" src="details.jsp?server=${param.server}">
>     </frameset>
> <noframes>
> <body>
> </body>
> </noframes>
> </frameset>
> </html>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-------------------
Eric Hauser
[EMAIL PROTECTED]
(317) 679-4766


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to