RE: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread manoj JC
Along the same lines In the Login.do You should have something like HttpSession session = httpServletRequest.getSession( true ); if ( session != null ) { session.setAttribute("loggedin", true); } And in Logout.do You should have something like HttpSession session = httpServletRequest.getSession(

Re: How to execute an initialization by using another servlet entry in web.xml

2004-06-24 Thread manoj JC
e an initialization by using another servlet > >entry in web.xml > >Date: Thu, 24 Jun 2004 08:51:29 -0400 > > > >If you are using approach #3 then extend HttpServlet. However, you should > >not need to be accessing the ActionServlet from the init servlet. Perhaps >

Re: How to execute an initialization by using another servlet entry in web.xml

2004-06-24 Thread manoj JC
Jun 2004 08:51:29 -0400 If you are using approach #3 then extend HttpServlet. However, you should not need to be accessing the ActionServlet from the init servlet. Perhaps you could provide some more background on what you are trying to accomplish. manoj JC wrote: Can somebody provide some sam

How to execute an initialization by using another servlet entry in web.xml

2004-06-23 Thread manoj JC
Can somebody provide some sample code to do this. Please look at this link http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsInitialization. I want to use #3 approach mentioned in this link. My questions are : (A stupid question) Does this initialization class that I would specify in web.xml, s

RE: How to read a large XML file in the ActionServlet

2004-06-23 Thread manoj JC
might be the best way, performance-wise. Do the parsing from a Struts plug-in, store it in a HashMap or whatever you need it to be in that class as a static member, and your problem will probably go away. Frank From: "manoj JC" <[EMAIL PROTECTED]> Reply-To: "Struts Users

How to read a large XML file in the ActionServlet

2004-06-23 Thread manoj JC
Hi I want to read a a large XML file for each request that comes to the ActionServlet. This is for a reporting application. What I did was I created seperate XML file where I have specified the action elements and its related subelements. So when I get the request I get the corresponding XML nod