----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
'session.useCookies' property in my 'zone.properties' file is set to
false. Here is my code
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class test extends HttpServlet
{
public void service(HttpServletRequest oRequest,HttpServletResponse
oResponse) throws IOException
{
PrintWriter oWriter=oResponse.getWriter();
HttpSession oSession=oRequest.getSession(false);
String sTemp =null;
oWriter.print("<html>");
if(oSession!=null)
{
sTemp=(String)oSession.getValue("abc");
oSession.putValue("abc","1");
}
else
oWriter.print("Session=null");
oWriter.print("<br>" + s +"<br></html>");
oWriter.close();
}
}
What is wrong in this?
Thanks
Sudheer.
> > I found upon disabling cookies whatever I stored in the session object
> > are not actually stored in it!. Does this means that URL Rewriting is
not
> > supported in JSERV?. I used a JSP to test this. Is this because of
that?.
> > Could someone please help me on this? These are my configurations
>
> It is fully supported. Your code is the problem.
>
> -jon
--
--------------------------------------------------------------
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]