Re: Problem Compiling JSP Servlet

2003-10-03 Thread srevilak
Subject: Problem Compiling JSP Servlet billy_aplin I am new to JSP development and I am trying to compile a billy_aplin simple servlet from the More Servlets and JavaServer billy_aplin Pages. I am getting the error cannot resolve symbol billy_aplin (see below), which is supposed to mean that I

Problem Compiling JSP Servlet

2003-10-02 Thread Billy Aplin
Greetings, I am new to JSP development and I am trying to compile a simple servlet from the More Servlets and JavaServer Pages. I am getting the error cannot resolve symbol (see below), which is supposed to mean that I do not have my classpath setting correct, but I am fairly certain that the

Re: Problem Compiling JSP Servlet

2003-10-02 Thread Kwok Peng Tuck
Did you by any chance import the class in the first place ? Like import javax.servlet.ServletException ; Billy Aplin wrote: Greetings, I am new to JSP development and I am trying to compile a simple servlet from the More Servlets and JavaServer Pages. I am getting the error cannot resolve

Re: Problem Compiling JSP Servlet

2003-10-02 Thread Billy Aplin
Thanks for replying, I don't think so, but I am really just using the example code provided in the book. I am including the code below. Also, when I specified the classpath at the command line, I was able to build it successfully: This works: javac HelloServlet.java -classpath

Re: Problem Compiling JSP Servlet

2003-10-02 Thread Kwok Peng Tuck
This works: javac HelloServlet.java -classpath c:\Tomcat\common\lib\servlet.jar This doesn't: javac HelloServlet.java Billy, the second line implies that you did not include the classpath to servlet.jar, so that's why it is having problems with javax.servlet.ServletException. If you find it

Re: Problem Compiling JSP Servlet

2003-10-02 Thread Billy Aplin
variable in the first place? Thanks Billy From: Kwok Peng Tuck [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Problem Compiling JSP Servlet Date: Fri, 03 Oct 2003 09:47:43 +0800 This works: javac HelloServlet.java

Re: Problem Compiling JSP Servlet

2003-10-02 Thread Kwok Peng Tuck
attempt to compile, otherwise why create the CLASSPATH variable in the first place? Thanks Billy From: Kwok Peng Tuck [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Problem Compiling JSP Servlet Date: Fri, 03 Oct 2003 09:47:43

Re: Problem Compiling JSP Servlet

2003-10-02 Thread Billy Aplin
Windows 2000. Thanks Billy _ Share your photos without swamping your Inbox. Get Hotmail Extra Storage today! http://join.msn.com/?PAGE=features/es - To

Re: Problem Compiling JSP Servlet

2003-10-02 Thread Kwok Peng Tuck
You can set the classpath variable in the system environment. Settings-Control Panel - System - Advance(tab) - Environment Variables I don't think you need to reboot for this to take effect. Billy Aplin wrote: Windows 2000. Thanks Billy

Re: Problem Compiling JSP Servlet

2003-10-02 Thread Billy Aplin
: Re: Problem Compiling JSP Servlet Date: Fri, 03 Oct 2003 10:14:49 +0800 You can set the classpath variable in the system environment. Settings-Control Panel - System - Advance(tab) - Environment Variables I don't think you need to reboot for this to take effect. Billy Aplin wrote: Windows 2000

Re: Problem Compiling JSP Servlet

2003-10-02 Thread BAO RuiXian
Billy Aplin wrote: [snip] my classpath setting correct, but I am fairly certain that the CLASSPATH settings are correct: CLASSPATH .; c:\JavaDev; c:\Tomcat\common\lib\servlet.jar I doubt that the reason might be the spaces among the individual paths. Try to take the spaces out and see what

Re: Problem Compiling JSP Servlet

2003-10-02 Thread Billy Aplin
Compiling JSP Servlet Date: Fri, 03 Oct 2003 05:45:56 +0300 Billy Aplin wrote: [snip] my classpath setting correct, but I am fairly certain that the CLASSPATH settings are correct: CLASSPATH .; c:\JavaDev; c:\Tomcat\common\lib\servlet.jar I doubt that the reason might be the spaces among

problem compiling a servlet

2002-01-24 Thread graghavan
i have problem compiling a servlet; pls help out. i have j2sdk1.3.1 in my 'path' and is installed alright. i have tomcat 4.0.1 installed alright and many of the tests with the 'examples' seem to work ok. when i try compiling a servlet.java src file, the following error (using javac ... ) gets

Re: problem compiling a servlet

2002-01-24 Thread Bo Xu
- Original Message - From: graghavan [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 2:04 PM Subject: problem compiling a servlet i have problem compiling a servlet; pls help out. i have j2sdk1.3.1 in my 'path' and is installed alright. i

Re: problem compiling a servlet

2002-01-24 Thread graghavan
thanks, Bo; it worked. :-) graghavan Bo Xu wrote: - Original Message - From: graghavan [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 2:04 PM Subject: problem compiling a servlet i have problem compiling a servlet; pls help out. i

Re: problem compiling a servlet

2002-01-24 Thread Micael Padraig Og mac Grene
I put in catalina_home/common/lib/servlet.jar and it works fine. At 02:04 PM 1/24/02 -0500, you wrote: i have problem compiling a servlet; pls help out. i have j2sdk1.3.1 in my 'path' and is installed alright. i have tomcat 4.0.1 installed alright and many of the tests with the 'examples' seem

Re: problem compiling a servlet

2002-01-24 Thread Micael Padraig Og mac Grene
Try catalina_home/common/lib/servlet.jar At 02:12 PM 1/24/02 -0500, you wrote: - Original Message - From: graghavan [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 2:04 PM Subject: problem compiling a servlet i have problem compiling