Paul,

No, it's definitely a 'page' scope issue - all my JSP's with 'session' scope
compile & run fine
The error msg seems to imply that this scope is not yet implemented, though the
documentation doesn't mention any such omission
Of course, none of the examples that come with the reference implementation
utilize 'page' scope!

- Neville Soares





[EMAIL PROTECTED] on 05/13/99 04:42:56 PM

To:   Neville Soares/Whittman-Hart LP@W-H
cc:
Subject:  Re: 'Page' Scope






I got the unhandled error trying to page compile ANY jsp. It went away when I
put jdk1.2.1\bin\tools.jar  explicitly in the system classpath. If you can
explain this, I'd like to hear about it. Right now it looks like an
install issue on JSP1.0.

Paula Lumby
IBM VisualAge for Java/C++/RPG Services
tel:   448-2517        (T/L) 778-2517
Room:  2G42C      2G/KB4/1150/TOR
e-mail:                     [EMAIL PROTECTED]

External Address:
IBM Toronto Laboratory
1150 Eglinton Avenue East
Toronto, Ontario, Canada, M3C 1H7

FAX:  (416) 448-4414



Neville Soares <[EMAIL PROTECTED]> on 05/13/99 03:48:48 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Paula Lumby/Toronto/IBM)
Subject:  'Page' Scope





Has anybody else run into this error when using a bean in JSP1.0 with the scope
set to "page" (or no scope specified, which defaults to page):

Unhandled error! You might want to consider having an error page to report such
errors more gracefully
com.sun.jsp.JspException: useBean(ssi): page scoped beans not supported
     at
com.sun.jsp.compiler.BeanGenerator.generateMethod(BeanGenerator.java:119)
     at com.sun.jsp.compiler.BeanGenerator.generate(BeanGenerator.java:55)
     at com.sun.jsp.compiler.Jsp1_0ParseEventListener.generateAll(Compiled Code)
     at
com.sun.jsp.compiler.Jsp1_0ParseEventListener.endPageProcessing(Jsp1_0ParseEventListener.java:91)



     at com.sun.jsp.compiler.Main.compile(Main.java:193)
     at com.sun.jsp.runtime.JspLoader.loadJSP(JspLoader.java:114)
     at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:69)



     at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:77)
     at com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:125)
     at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:152)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
     at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
     at com.sun.web.core.Context.handleRequest(Context.java:382)
     at com.sun.web.server.ConnectionHandler.run(Compiled Code)

Is this a known JSP1.0 issue?
Are there any workarounds (apart from re-writing my beans)

Thx,

- Neville Soares
Whittman-Hart, Inc.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to