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

NES only supports the Servlet API 1.0, and sessions were added in 2.0.
Either roll your own session handling, or do what most other people are
doing and use a servlet engine add-on for NES, see
http://java.sun.com/products/servlet/runners.html for a list of products.

--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

___________________________________________________________________________
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

Reply via email to