HI
    I tried that way also but it gives me the same error.  I am sorry I
would have mensioned this previously.

    One problem I can think of is that the Domino server is using certain
classes which are old once. They are not having some of the methods present
in JSDK 2.1 classes. Moreover JSDK provides some additional classes. The
domino server uses a zip file ICSCLASS.zip that contains the older classes
which i cannot tamper.  Can this be the reason I am getting this error ? If
yes how do i overcome it ?

Regards,
Vijayanand

-----Original Message-----
From: Srinivasan S (Systems Engineering Group) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, August 16, 1999 1:21 PM
Subject: Re: Problem in session tracking........


>Instead of HttpSession session = req.getSession()
>try
>
>HttpSession session = req.getSession(true);
>
>
>
>
>  #-----------------------------------------------------------------------#
>  #                                                                       #
>  #           "ARISE AWAKE and stop not till the GOAL is reached"         #
>  #                                                                       #
>  #                     [EMAIL PROTECTED]                          #
>  #-----------------------------------------------------------------------#
>
>On Mon, 16 Aug 1999, Vijayanand Deshpande wrote:
>
>> Hi all !
>>
>> I am getting an exception (runtime error) ..........
>>
>> javax.servlet.http.HttpServletRequest: method
>> getSession()Ljavax/servlet/http/HttpSession; not found.
>>
>> in the last line of the following code.........
>>
>>
>> import javax.servlet.*;
>> import javax.servlet.http.*;
>> import java.io.*;
>> import java.util.*;
>>
>> public class class1 extends HttpServlet
>> {
>>     public static PrintWriter outputStream;
>>     public static PrintWriter pw;
>>
>>     public void doGet(HttpServletRequest req, HttpServletResponse res)
>> throws IOException
>>         {
>>                 pw = new PrintWriter(res.getOutputStream());
>>                 outputStream = new PrintWriter(res.getOutputStream());
>>                 res.setContentType("text/html");
>>                 try
>>
>>
>>                      HttpSession session = req.getSession();
>> .
>> .
>> .
>> .
>> .
>> I am using the Lotus Domino Go Webserver.
>> Can somebody help me ??
>>
>> Thanks in advance
>> Vijayanand
>>
>>
>>
>
>___________________________________________________________________________
>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

Reply via email to