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(
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
>
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
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
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
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
6 matches
Mail list logo