Forums Register Login

package javax.servlet does not exist

+Pie Number of slices to send: Send
set classpath=c:\jdk1.3.1_06\classes111.zip.;
set Java_Home=c:\jdk1.3.1_06\
set Tomcat_Home=c:\Jakarta-tomcat-3.2.3
cd jakarta-tomcat-3.2.3
cd bin
startup
When i compile my code it give me this error "package javax.servlet does not exist"
is there something wrong or any modifications to be made in autoexec.bat?
Thank's
Jojit
+Pie Number of slices to send: Send
Hi,
Try this,
set classpath=c:\jdk1.3.1_06\classes111.zip;.;c:\Jakarta-tomcat-3.2.3\lib\servlet.jar;
cheers
Praful
[ October 19, 2003: Message edited by: Praful Thakare ]
+Pie Number of slices to send: Send
U need to include servlet.jar
+Pie Number of slices to send: Send
Yes, you can include servlet.jar on your classpath like Praful Thakare
says. Adding 'j2ee.jar' to the classpath would also work.
Dave
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 694 times.
Similar Threads
about HttpRequest
i cant run my program
JSP servlet compilation problem
package javax.servlet does not exist
package javax.servlet does not exist
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:34:15.