Forums Register Login

jsp

+Pie Number of slices to send: Send
I copied MyBean.class file in c:\jws\classes folder of javawebserver2.0.And copeid Test.jsp file in public_html foldet of javawebserver2.0.
when i typed http://localhost:8080/Test.jsp iam getting following error.i will be thankfull if somebady help me.

Error during compilation :
C:\jws\tmpdir\default\pagecompile\jsp\_test.java:74: Class pagecompile.jsp.MyBean not found in type declaration.
MyBean first = null;
^
C:\jws\tmpdir\default\pagecompile\jsp\_test.java:77: Class pagecompile.jsp.MyBean not found in type declaration.
first= (MyBean)
^
C:\jws\tmpdir\default\pagecompile\jsp\_test.java:82: Class pagecompile.jsp.MyBean not found in type declaration.
first = (MyBean) Beans.instantiate(getClassLoader(), "MyBean");
^
3 errors
+Pie Number of slices to send: Send
First of all. Can you read this http://www.javaranch.com/names.jsp and re-register with a name that complies with this rule.
Secondly, can you post the JSP code so we can see what's going on.
Thanks
+Pie Number of slices to send: Send
And third, unless you have a business directive not to use it.. you should REALLY use Tomcat, and not javawebserver.
Did you just should on me? You should read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1062 times.
Similar Threads
HELP HELP !!! JSP-BEAN
Parse Double
getting-> 500 Internal Server Error
Problem with TreeMap
How to call a bean in a jsp ?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 20:00:50.