NES 3.6 supports the JSDK 1.0, not JSDK 2.1
you need to use an additional servlet engine, like JRun.
Does somebody knows when will NES support this new JSDK?
HTH
akashmaheshwari wrote:
> Hi all,
> can any body give me clue how
> can i use HttpSession in Servlet.
> it is not giving any error in compiling
> but when i call from a browser it is
> giving
> java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest: method
> getSession
> (Z)Ljavax/servlet/http/HttpSession; not found at
> SessionServlet.doGet(SessionServlet.java:10) * at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:252) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:330) at
> sun.servlet.netscape.NSRunner.run(NSRunner.java:144)
> at netscape.server.applet.ServerApplet.handleRequest(ServerApplet.java:69)
> at
> netscape.server.applet.HttpApplet.handleRequest(HttpApplet.java:680)
>
> how can i use cookie on NES.
> in my code i m doing
> public void doGet (HttpServletRequest req, HttpServletResponse res)
> .
> .
> .
>
> Cookie[] cookies = res.getCookies();
> .
> .
> .
>
> during compilation it is giving
> no such method HttpServletResponse.getCookies();
>
> ps help
> akash
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html