More novice questions

2002-01-25 Thread Debby Dart


Does anybody know of another list which would be more suited for posting
novice questions like the following:

What's the difference between a servlet, a javabean and a scriptlet?

What is the best use, advantages, and disadvantages for each?

Where would each reside in the Tomcat directory structure?

I have an idea about some of the answers, but would like clarification.

thanks,
Debby


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Jasper error

2002-01-22 Thread Debby Dart

Thanks for all the great response - but I'm still confused about what the
WEB-INF\classes directory is for if packages have to be used.

Debby

-Original Message-
From: Justin Rowles [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 5:21 AM
To: 'Tomcat Users List'
Subject: RE: Jasper error


 I have looked at most of the documentation I can find and tried to use
 web.xml - going to this list with such a basic question is a
 last resort.

Firstly well done - a decent effort with the docs is something to be
congratulated upon.

 Class org.apache.jsp.UserData not found.

This is the line you need to pay attention to.  The line-fragment
'Class=UserData' doesn't tell the compiler enough.  You need to tell it
more information about where to find the class, such as the package, or it
assumes it is in the same package as the thing it is compiling - in this
case org.apache.jsp.*

Justin.
--
You're only jealous cos the little penguins are talking to me.



***
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Jasper error

2002-01-21 Thread Debby Dart


I'm a newbie to Tomcat and JSP and fairly new to Java.  While running a test
script with Tomcat 4.0, I get the following error:

...
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 3 in the jsp file: /SaveName.jsp

Generated servlet error:
C:\java-apps\Apache Tomcat 4.0\work\localhost\testapp\SaveName$jsp.java:65:
Class org.apache.jsp.UserData not found.
UserData user = null;
...

Line 3 in the script is :
jsp:useBean id=user class=UserData scope=session/

I thought all I needed to do was to place the file UserData.class into the
webapps\testapp\Web-inf\classes directory, but apparently I'm missing
something.

I have looked at most of the documentation I can find and tried to use
web.xml - going to this list with such a basic question is a last resort.

Thanks for your patience and all help you can provide.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]