I have attempted to supplyu the input from a bean via jsp:getProperty to a
custom tag.

 <pinlib:foo value="<jsp:getProperty
                                name="addressInfo"
                                property="address"
                                />">

The syntax of double quote marks is correct according to the Hans Bergsten Java
server Pages book.

The web server is tomcat version 3.3 milestone 4, is this a case of  a bug,
feature, RTFM or more likly a coding error on my part  ?

I have tried playing with using ' quote marks, but receive other error messages.

Does anybody have a clue



The error trace is
Error: 500

Location: /factotum/jsp/ping.jsp

Internal Servlet Error:

org.apache.jasper.compiler.ParseException:
/export/home2/bindist/tomcat/jakarta-tomcat-3.3-m4/webapps/factotum/jsp/foo.jsp(
32,21) Attribute addressInfo has no value
        at
org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:520)
        at
org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:636)
        at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:798)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
        at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:833)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
        at
org.apache.tomcat.facade.JasperLiaison.jsp2java(JspInterceptor.java:665)
        at
org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:618)
        at
org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:437)
        at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:915)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:820)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:778)
        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Inter
ceptor.java:150)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:435)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:50
5)
        at java.lang.Thread.run(Thread.java:484)

--                      email           [EMAIL PROTECTED]
--                      web             www.pinan.co.uk
--The opinions expressed in this article are personal and do not
--represent the views of Pinan Software.

===========================================================================
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

Reply via email to