|
-
Apr 12th, 2001, 05:11 PM
#1
Thread Starter
Lively Member
Hey guys,
I am getting compiling errors on servlets as follows:
SimpleServlet1.java:1: Package javax.servlet not found in import.
import javax.servlet.*;
^
SimpleServlet1.java:2: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
^
SimpleServlet1.java:5: Superclass HttpServlet of class SimpleServlet1 not found.
public class SimpleServlet1 extends HttpServlet {
^
any suggestions on fixing it?
Manoj
-
Apr 12th, 2001, 06:34 PM
#2
Dazed Member
Is servlet a package? Ive never heard if it...
These are the ones i know that are contained
in Swing.
javax.accessibility
javax.swing
javax.swing.border
javax.swing.colorchooser
javax.swing.event
javax.swing.filechooser
javax.swing.pending
javax.swing.plaf
javax.swing.table
javax.swing.text
javax.swing.tree
javax.swing.undo
javax.swing.text.html
javax.swing.text.html.parser
javax.swing.text.rtf
-
Apr 13th, 2001, 10:24 AM
#3
Thread Starter
Lively Member
Servlet package class
Hey Dilenger4,
Serlvet has its own package. I found out last nite(with no help by sun), that you would need to download jswdk-1.0 to incorporate the package for servlets and jsps. In the autoexec.bat file, you would have the classpath point to the respect servlet.jar(to compile only the servlet files) and respect jar file for jsp(to compile the jsp files).
I can finally start testing for the servlets thank god!!! Right now, I am just using javawebserver2.0 which does very good job for servlet and jsp application server.
Here is the link to give a better understanding:
http://javaboutique.internet.com/tutorials/JSP/
Hope that helps.
-
Apr 13th, 2001, 11:10 AM
#4
Dazed Member
cool thank's ill check it out. I didnt think it was included
in the core Java API. Just like when i tried including the
javax.crypto packages they were included in the JCE.
not the core API. {{{laughing}}}
Have a happy Easter!!
-
Apr 13th, 2001, 04:25 PM
#5
Thread Starter
Lively Member
Hey Dilenger4,
Happy Easter!!!
Manoj
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|