thnxk for you answer, but the problem is not the classpath. I have set the
classpath ok and i can import java.* whitout problems. i think the stuff is
in compilation syntax. mybe i don't have to use javac to compile servlets.
is there another tool such as jasparser?
thnk
mariano
Has Anybody know how to compile a servlet?
i tried with javac -g servlet name but i got an error. But not because of
the code. I think i have to use another compiler or smt i'm not usging.
i'm getting error trying to recompile servlets that are compiled and
working(bookstore sample servlets).
hi,
You need to post your error message.
cheers,
Paul
-Original Message-
From: Ruben [mailto:[EMAIL PROTECTED]]
Sent: 20 September 2001 15:17
To: [EMAIL PROTECTED]
Subject: Re: Changing the Servlets Directory
Has Anybody know how to compile a servlet?
i tried with javac -g
You have to have the servlet.jar (or servlet classes) in your classpath when
you compile..
Mvgr,
Martin
-Original Message-
From: Ruben [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 9:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Changing the Servlets Directory
After I installed Tomcat 3.2.3, my servlet directory is C:\Program
Files\Apache Group\jakarta-tomcat-3.2.3\webapps\examples\WEB-INF\classes.
Now I want to change it to, or add the directory C:\public_html\myServlets.
I've tried and tried and I cannot figure this out. How is this done?
-Matt
Can anyone help me with this?
-Original Message-
From: Hoggatt Matt - mahogg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 2:46 PM
To: '[EMAIL PROTECTED]'
Subject: Changing the Servlets Directory
After I installed Tomcat 3.2.3, my servlet directory is C:\Program
Files
Tomcat is very difficult for user to change it's defualt setting...
I want to change the directory of servlet before, but now i already give up.
And I still cant resolve Tomcat cache problem.
Everytime I edit my servlet, I need to restart tomcat to get the latest
result. I already added
Tomcat is a servlet container - it adheres to the servlet specification
(see http://java.sun.com/products/servlet). If you also adhere to that
specification, then you will be able to deploy your application across any
number of different products, not just tomcat.
as for jserv... if you want to