is the package defined correctly?  Sending the source code would help

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Navin Agrawal
Sent: Wednesday, December 20, 2000 10:48 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP with JavaBeans on JRun2.3.3


Hi,
Thanks for pointing out mistake but the situation remains same.  Can anybody
help me out ?
Navin

-----Original Message-----
From: Debanga Phukan (CTC) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 5:47 PM
To: Navin Agrawal
Subject: RE: JSP with JavaBeans on JRun2.3.3



Hi,
 Why don't U refer to the bean using class="form.FormBean"  .

Debanga


        -----Original Message-----
From:   Navin Agrawal [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, December 20, 2000 6:35 AM
To:     [EMAIL PROTECTED]
Subject:        JSP with JavaBeans on JRun2.3.3

        Hi Gurus,
Here is a situation which I am trying to create.
1. I want to process a request from an HTML form into a JSP page which
inturn will call a JavaBean class to process the data sent by POST method.

        2. I've put the HTML form in \JRun\jsm-default\services\jws\htdocs
and the
JSP page(which is called from HTML form action) is in
\JRun\jsm-default\services\jws\htdocs\jsp\.

        3. The bean class file is in \JRun\jsm-default\classes\form, and is
referred
to in the jsp-page as 'type="form.FormBean.class"'.

        4. While I fill the form and press submit, the jsp page is called
and gives
following error:

        *****************************
500 Internal Server Error
com.livesoftware.scripting.CompilerException:
Found 1 semantic error compiling
"C:/JRun/jsm-default/services/jseweb/servlets/jsp/jsp/Form.java":

            90.         String[] lang = formHandler.getLanguages();
                                <--------->
*** Error: "formHandler" is either a misplaced package name or a
non-existent entity.

                at
com.livesoftware.scripting.JavaCompiler.outProcessCompile(JavaCompiler.java:

158)
        at
com.livesoftware.scripting.JavaCompiler.compile(JavaCompiler.java:75)
        at
com.livesoftware.jrun.plugins.jsp.JSPCore.getPage(JSPCore.java:552)
        at com.livesoftware.jrun.plugins.jsp.JSP.callPage(JSP.java:618)
        at com.livesoftware.jrun.plugins.jsp.JSP.service(JSP.java:543)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at com.livesoftware.jrun.JRun.runServlet(JRun.java:321)
        at
com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116)
        at
com.livesoftware.jrun.service.web.JRunWebServiceHandler.handleOutput(JRunWeb

ServiceHandler.java:266)
        at
com.livesoftware.jrun.service.web.JRunWebServiceHandler.handleRequest(JRunWe

bServiceHandler.java:234)
        at
com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja

va:96)

        *****************

        So far as I can understand, the error is bcoz the compiler is not
able to
locate the bean classfile used in the JSP page.  I've checked in the the
jsm.properties and the classpath is set appropriately.
Can anybody point out the missing links.
Thank in advance..
Navin Agrawal


===========================================================================
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://java.sun.com/products/jsp/faq.html>
  http://www.esperanto.org.nz/jsp/jspfaq.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=JSP>
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
<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

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