I have a registraton page whose action calls a jsp(process.jsp).
Now I have written a bean to do form validation which
I am using in the jsp form as:

<jsp:useBean id="formvalidate" class="formbean" scope="request">
<jsp:setProperty name="formvalidate" property="*"/>
</jsp:useBean>

The registration page & the jsp are in the directory:
/local/home/xxx/docs/test/jsp

The formbean.java & formbean.class are in:
/local/Java/JRun/jrun/jsm-defaults/classes.

I get the following errors:

/local/Java/JRun/jrun/jsm-default/services/jse/servlets/jsp/testjsp/process.java
:36: Class jsp.testjsp.formbean not found in type declaration.
formbean formvalidate=null;
^
/local/Java/JRun/jrun/jsm-default/services/jse/servlets/jsp/testjsp/process.java
:37: Class jsp.testjsp.formbean not found in type declaration.
formvalidate = (formbean) pageContext.getAttribute("formvalidate",
pageContext.REQUEST_SCOPE);
^
/local/Java/JRun/jrun/jsm-default/services/jse/servlets/jsp/testjsp/process.java
:39: Class jsp.testjsp.formbean not found in type declaration.
formvalidate = new formbean();
^

The Java classpath is:

java.classpath=/local/Java/JRun/jrun/./lib/jrun.jar:/local/Java/JRun/jrun/./lib/
servlet.jar:/local/Java/JRun/jrun/./lib/jsp.jar:/local/Java/JRun/jrun/./lib/xml4
j.jar:/local/Java/JRun/jrun/./lib/xt.jar:/local/Java/JRun/jrun/./lib/fesi.jar:/l
ocal/Java/JRun/jrun/./lib/cfanywhere.jar:/local/Java/JRun/jrun/./lib/NetComponen
ts.jar:/local/Java/JRun/jrun/./lib/OROMatcher.jar:/local/Java/JRun/jrun/./lib/jr
unadmin/jrunadmin.jar:/local/Java/JRun/jrun/./classes:/local/Java/JRun/jrun/./js
m-default/classes:/local/Java/JRun/jrun/./instantdb/Classes:/local/Java/JRun/jru
n/./lib/jrunadmin/swing.jar:/local/Java/JRun/jrun/./webl/WebL.jar:/local/Java/JR
un/jrun/./examples/jni


Can somebody tell me where I am going wrong?

~Sunita




____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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