Check your classpath (or $JAVA_HOME/jre/lib/ext) for an old copy of servlet.jar or 
jsdk.jar -- that is the usual cause for a problem like this.

Craig McClanahan


Jpa K wrote:

> hi,
> i'm new to jsp, installed j2sdkee1.2.1 and tried to run jsp through browser using 
>http://localhost:8000/AccountContextRoot/Account.jsp but it gave the following error. 
>i'm pretty sure that there  is nothing wrong in the code 'coz this example is already 
>given in the documentation....
> someone please help....
>
> Error: 500
> Internal Servlet Error:
>
> java.lang.NoSuchMethodError: javax.servlet.ServletRequest: method isSecure()Z not 
>found
>         at
>         at 
>com.sun.web.security.SecurityInterceptor.preInvoke(SecurityInterceptor.java:83)
>         at 
>org.apache.tomcat.core.ServiceInvocationHandler.preInvoke(ServletWrapper.java:615)
>         at 
>org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:531)
>         at 
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
>         at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
>         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
>         at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144)
>         at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
>         at java.lang.Thread.run(Thread.java:479)
>
> Get your small business started at Lycos Small Business at 
>http://www.lycos.com/business/mail.html
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to