I think you need to change the NumberGuess.java also, you need to change
the package name into: package write;
and recompile it, then it should be ok.
Yimei
On Mon, 13 Dec 1999, Shanmugavelu Rajan wrote:
> I am trying to put the NumberGuessBean that comes with the JSWDK-1.0.1 in
> a new directory to test the syntax of the useBean tag. The bean files now
> reside under c:\jswdk-1.0.1\examples\web-inf\jsp\beans\write directory.
> I modified the JSP source to reflect the new path. It looks like this
>
> <%@ page import = "write.NumberGuessBean" %>
> <jsp:usebean id="numguess" class="write.NumberGuessBean" scope="session"/>
>
> I stopped/started the jswdk server. Now when I try accessing the jsp page I
> get the error message:
>
> Error 500:
> write/NumberGuessBean (wrong name: num/NumberGuessBean)
>
> Any ideas on how I can fix it? Please reply.
> Thanks.
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html