I checked the JSP 1.1 specification. Section 2.12.1 defines my example below as a "Request Time Attribute Value" and states it is legal for the value attribute of jsp:param. This is reiterated in section 2.13.6.1. So, based on this I guess the iPlanet Web Server is not fully JSP 1.1 compliant? Any comments / confirmations are appreciated. Thx, CM > -----Original Message----- > From: cmcfarland [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 12, 2001 3:16 PM > To: jsp-interest > Cc: Chris McFarland > Subject: JSP tags & embedded expressions > > > I'm having serious problems using JSP expressions inside quoted tag > attributes. For example, without expressions I would have a > hard-coded jsp > tag attribute like this: > > <jsp:param name="webserver" value="myserveraddress.com" /> > > My problem occurs when I want to make this attribute configurable, like > this: > > <jsp:param name="webserver" value="<%=Config.getWebserverURL()%>" /> > > In iPlanet Web Server this is a problem because the quotes keep the > expression from being evaluated. In this case, the value is > taken to equal > the string "<%=Config.getWebserverURL()%>" instead of being evaluated as a > JSP expression to equal "myserveraddress.com". I saw this problem brought > up for Tomcat webserver, and it was solved by putting the > expression inside > single quotes, like: > > <jsp:param name="webserver" value='<%=Config.getWebserverURL()%>' /> > > For iPlanet this does not work. Is there any other way to > accomplish this? > > Thanks, > CM > > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
