2) See the classpath spec in the start server file: if you have a classpath set it will use it. If not, it uses:

set CLASSPATH=server.jar;servlet.jar;examples\WEB-INF\jsp\beans;classes

"a) What if the bean is used just by the JSP, as are the examples provided in the reference implementation"

Note the use of examples\web-inf\jsp\beans above.

"b) What if hte bean is preapred in advance by a servlet that then invokes the JSP
"

What do u mean prepared? Do u mean instantiated and placed in the session? If yes, see the classpath answer above.

Does this help? The version I have is early access...do you have a real 1.0??

--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Play:        http://www.trongus.com

----- Forwarded by dIon Gillard/Multitask Consulting/AU on 19/05/99 10:04 PM -----
JSP - beans - configuration quesions


I;ve asked these before, but no one replied, so I'll try again:

These questions relate to the JSP 1.0 reference implementation downloadable from
SUN
1. Is there an explanation of the default .cfg file apart from the crypitc
comments in the file?
2. Where should I put bean classes so that I do not get Class not found
exceptions when I try to load reference
   them in a JSP.
  a) What if the bean is used just by the JSP, as are the examples provided in
the reference implementation
  b) What if hte bean is preapred in advance by a servlet that then invokes the
JSP
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

Previous Document
Next Document
Return to View
 

GIF image

GIF image

GIF image

Reply via email to