Hello Everybody,I had posted my query regarding session tracking two days before.And it is so disappinting that there is no time for even one person to answer it.I have high hopes that any one would reply positively.Still waiting for the reply.Please take this as a reminder and kindly answer this query. Thank you all. I am working with the following setup. 1. Zeus Web Server 2. Apache JServ 1.1 3. GNUJSP 1.0.0 Problem is that two sessions are being maintained each by jsp and the servlet engine. Therefore whatever I set in servlet session variable is not being able to be got in the jsp.I have attached a code sample of what I am trying to do. The session ids are different.Is it a problem with the mount point or zones or what? If so can you please explain me. There is a servlet file and a jsp file.I call the servlet file first ,where I set a value in the session and then redirect it to a jsp page, where I try to get the calue from the session. But it prints null in the JSP page. testses.java ---------- import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class testses extends HttpServlet { public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException { doPost(request,response); } public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException { HttpSession session = request.getSession(true); session.putValue("myparam","Alexius"); response.sendRedirect("/jsproot/testses.jsp"); } } testses.jsp --------- <%@ page language="java" %> <HTML> <BODY> HAI <%= session.getValue("myparam") %> </BODY> </HTML> I call the servlet as http://<server name>/jserv/testses I redirect it to the jsp as given in the testses.java file on top. Zeus Configuration ---------------- In Zeus configuration there a module configuration where I have given MountPoint Server Port Zone Protocol /jserv localhost 8007 root ajpv12 /gnujsp jsp ajpv12 and in the mapping I had given under handlers FileExtension Handler ----------- ------ jsp /gnujsp/gnujsp JServ Configuration ----------------- In my jserv.properties file, wrapper.protocol=ajpv12 bindaddress=localhost port=8007 zones=root,jsp root.properties=/usr/local/jserv/conf/zone.properties jsp.properties=/usr/local/jserv/conf/jsp.properties ApJServAction .jsp /jsp/gnujsp ApJServMount /gnujsp/gnujsp Jsp Configuration --------------- repositories=/usr/local/gnujsp/lib/gnujsp10.jar repositories=/usr/local/gnujsp/lib/servlet-2.0-plus.jar servlet.gnujsp.code=org.gjt.jsp.JspServlet servlet.gnujsp.initArgs=checkclass=true,scratchdir=/usr/local/jserv/jspScrat chDir,debug=true,compiler=javac -classpath %classpath%:%scratchdir%:/usr/local/jserv/classlib:/usr/local/gnujsp/lib/ser vlet-2.0-plus.jar:/usr/local/gnujsp/lib/gnujsp10.jar:/usr/jaf-1.0.1/activati on.jar:/usr/javamail-1.1.2/mail.jar -d %scratchdir% -deprecation %source% pagebase=/<zeus web server docroot>/jsp, Other lines in the configuration are just commented lines ,except for few default ones. I would request to patiently go thru my query and find the fault in the configuration. I found a similiar query in the list ,but the answer was not apt to my situation.So kindly solve my problem. Thanking you in advance hoping to find a solution as soon as possible. -Alexius Luke JIN Information Systems. =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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