Yes,
you can, but you will need to extend the ActionServlet to load each config
file.
-Original Message-From: Tewathia, Atul
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 01, 2001
6:51 AMTo: [EMAIL PROTECTED]Subject: RE:
Reducing the burden on ActionServlet.
As
far as
As far
as I can recall the struts-config.xml file is loaded and parsed in the
initMappings() method of ActionServlet. Can we really have more than
one configuration file in our application.
-Original Message-From: Jason Chaffee
[mailto:[EMAIL PROTECTED]]Sent: Saturday, April 28,
-From: Jonathan Asbell
[mailto:[EMAIL PROTECTED]]Sent: Saturday, April 28, 2001 3:01
PMTo: [EMAIL PROTECTED]Subject: Re:
Reducing the burden on ActionServlet.
Isnt it true that if you have 10 users you would
have 10 instances of the ActionServlet? I believe it is not a singleton
and
Title: Reducing the burden on ActionServlet.
No -
you have ONLY ONE instance for the ActionServlet. The user requests are
just different threads that simultaneously call methods of the instance of that
servlet. I think this is not related to Struts but to Java Servlet Specification
- the
Title: Reducing the burden on ActionServlet.
Isnt it true that if you have 10 users you would
have 10 instances of the ActionServlet? I believe it is not a singleton
and that you always have an instance of the servet for each threaded
request.
- Original Message -
From
One of the benefits of using servlets is their ability to spawn threads
instead of creating a process each time. I don't think you are going
to have to worry about the load on the servlet, the problem would be with
the load on the server and you can do some type of load balancing and clustering
Title: Reducing the burden on ActionServlet.
In our project we have more than one hundred jsp (each having an average of 2 or 3 forms )and we have already decided to use struts as our framework. Now the dilema :- We found that managing such a large number of jsp from a single stuts
Title: Reducing the burden on ActionServlet.
In our project we have more than one hundred jsp (each having an average of 2 or 3 forms )and we have already decided to use struts as our framework. Now the dilema :- We found that managing such a large number of jsp from a single stuts
Title: Reducing the burden on ActionServlet.
In our project we have more than one hundred jsp (each having an average of 2 or 3 forms )and we have already decided to use struts as our framework. Now the dilema :- We found that managing such a large number of jsp from a single stuts
9 matches
Mail list logo