Hmm. Not sure why you're (still) seeing this problem. I've just created a few
(simple) demos for JavaOne using JWS 2.0 Beta2 using beans. I didn't
put my beans in JWS/classes though - I used '-cp <path>' to point JWS to
them. I'll (re)try using JWS/classes.

The classes that you have in JWS/classes - are they in jar files or
are they plain old .class files ? Can you send me a dump of the JWS/classes
dir. (ls -R on Solaris) ?

-isa

]X-Accept-Language: en
]MIME-Version: 1.0
]Content-Transfer-Encoding: 7bit
]Date: Tue, 8 Jun 1999 11:44:38 -0400
]From: Christopher Cobb <[EMAIL PROTECTED]>
]Subject: JWS 2.0 Beta2: (JSP bean) class not found
]To: [EMAIL PROTECTED]
]
]I have a bumch of JSP pages that are working with JRun on NT which I am porting
]to JWS on Solaris.
]
]I am stuck at the starting gate.  With JRun, JSP classes go in their own
]directory, I have been putting servlets in JRun/servlets, and bean classes in
]JRun/classes.
]
]I am trying the same approach with JWS:
]
]   * JWS puts the JSP classes wherever it wants,
]   * I put my servlets in JWS/servlets
]   * I put my bean classes in JWS/classes
]
]Unfortunately, I have been beating my head for a couple hours with no
]progress.  When I invoke the simplest of JSP pages having only a useBean tag:
]
]    <jsp:useBean id='myBean' scope='session' class='gov.path.package.MyBean' />
]
]I get a class gov.path.package.MyBean not found in type declaration error.
]
]I am putting this class in jws/classes and it is there.  If I start https with
]the -verbose option, it lists this directory as being in the classpath.
]
]What's going on?  What I thought would be a trivial port is becoming a pain in
]the butt!!!
]
]cc
]
]===========================================================================
]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