-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
hi, guys
when I used <servlet> tag in a jhtml file:
<html>
<head>
<title>Untitled</title>
</head>
<body>
<servlet code="../project2class/classes.PassCheck">
your web server has not been configured to support sevlet tags.
</servlet>
</body>
</html>
got an error page, said can't find servlet,
<html>
<head>
<title>Untitled</title>
</head>
<body>
<!-- ERROR: ------------
java.lang.ClassNotFoundException: can't find servlet named
"../project2class/classes.PassCheck"
at
org.apache.servlet.ssi.ServletInfoRequest.runServlet(ServletTagHandler.java)
at
org.apache.servlet.ssi.ServletTagHandler.executeTag(ServletTagHandler.java)
at org.apache.servlet.ssi.PageParser.interpretPage(PageParser.java,
Compiled Code)
at org.apache.servlet.ssi.PageParser.process(PageParser.java)
at
org.apache.servlet.ssi.PageParserServlet.doGet(PageParserServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java)
at org.apache.jserv.JServConnection.run(JServConnection.java)
at java.lang.Thread.run(Thread.java:479)
-->
</body>
</html>
actually, I can run this servlet using this virtual directory.How come to
this?
thanks for your help.
sincerely
sun
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]