Thank you. It's working now.

> -----Original Message-----
> From: Duc Nguyen [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 06, 2001 4:14 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Problem running JSP using bean in JRun
>
> I think bean class have to be in Classes directory.
>
> good luck
>
> Duc
>
>
>
> >From: "Gowda, Prasad"
> >Reply-To: A mailing list about Java Server Pages specification and
> reference
> >To: [EMAIL PROTECTED]
> >Subject: Problem running JSP using bean in JRun
> >Date: Tue, 6 Feb 2001 16:00:45 -0600
> >
> >Hi All,
> >
> >I have a jsp page which uses a bean, it is a simple jsp page which
> >initializes
> >the bean with default values as shown below.
> >
> >
> >
> >
> >
> >
> >
> >But the problem is the jsp page(.java created by the JSP Engine) is
> unable
> >to instanstiate the bean.
> >The .java file is created in the dir
> >C:\JRun\jsm-default\services\jse\servlets\jsp\jsp\test_view.java
> >
> >The jsp file(test_view.jsp), bean class(test_Bean.java) are present in a
> dir
> >C:\temp\test
> >and are not included in any package.
> >This dir is included in the classpath of the JRun
> properties(jsm.properties)
> >file.
> >
> >Now, when I try to run the jsp by typing in the url
> >"http://mycomputername:portno/jsp/test_view.jsp,
> >I get an error saying "Error: Type jsp/jsp/test_Bean was not found"
> >
> >Note: -
> >/jsp - is mapped to point to the dir mentioned above in the webserver
> >properties
> >Also, I am able to run other simple jsp's(without using any Java bean
> >objects) placed in the same directory without any problem.
> >The .java files for these .jsp's are also created in the same dir as
> >test_view.java
> >
> >Am I doing something wrong here. Any help in this regard is appreciated.
> >
> >Thanks,
> >
> >Prasad M
> >
> >=========================================================================
> ==
> >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
>
>   _____
>
> Get your FREE download of MSN Explorer at <http://explorer.msn.com>
>
>
> ==========================================================================
> = 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

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