Re: Split web.xml into multiple files

2004-05-02 Thread Craig McClanahan
Prasad, Kamakshya wrote: Hi, We are using the container managed security and we have lot of action mapping and roles. Specifying them in one web.xml making it too huge. We want it to split into separate logical files If your container is reasonably intelligent about parsing XML documents usin

Re: Security + struts

2004-05-02 Thread Craig McClanahan
Pedro Salgado wrote: On 04/05/02 6:40, "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: DMZ is short for "demilitarized zone" ... a term adopted for enterprise network infrastructures from the military use of the term. If you're writing an application for public access on the Internet, you'll

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Craig McClanahan
Michael McGrady wrote: Isn't it true, Craig, that this is not a problem for hot deploy of the classes that do this. If you have other classes that do not do this, then they cannot be hot deployed. But, what difference does that make? If someone wants to hot deploy them, they can redesign the

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Craig McClanahan
Michael McGrady wrote: This is more of a passing interest of mine, so I will pursue a bit more, if you continue an interest. I have an application that needs to do this from afar on multiple and untrackable sites. So, the bouncing the server idea just won't work for me. I need this to happe

RE: Split web.xml into multiple files

2004-05-02 Thread Prasad, Kamakshya
Hi, We are using the container managed security and we have lot of action mapping and roles. Specifying them in one web.xml making it too huge. We want it to split into separate logical files KP -Original Message- From: Bill Siggelkow [mailto:[EMAIL PROTECTED] Sent: Friday, April 30, 20

Re: Database access in contextInitialized

2004-05-02 Thread Richard Yee
Craig, When I put logging statements in the ServletContextInitializer class, I see that the ServletContextInitializer.contextInitialized() method is actually called after the servlet init() methods for servlets that load at startup. Is this correct? You say that the contextInitialized() gets cal

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Michael McGrady
Thanks for sharing that, Pedro. I think it is good stuff too. At 05:16 PM 5/2/2004, Pedro Salgado wrote: On 04/05/02 23:50, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > This is more of a passing interest of mine, so I will pursue a bit more, if > you continue an interest. I have an applicatio

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Michael McGrady
Isn't it true, Craig, that this is not a problem for hot deploy of the classes that do this. If you have other classes that do not do this, then they cannot be hot deployed. But, what difference does that make? If someone wants to hot deploy them, they can redesign the class. The more I thi

Re: [OT] log per session

2004-05-02 Thread Chiming Huang
I will look into the NDC. Thank you very much. Chiming - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, May 02, 2004 12:43 AM Subject: Re: [OT] log per session > Chiming Huang wrote: > > >Hi, > > >

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Pedro Salgado
On 04/05/02 23:50, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > This is more of a passing interest of mine, so I will pursue a bit more, if > you continue an interest. I have an application that needs to do this from > afar on multiple and untrackable sites. So, the bouncing the server idea >

Using the Struts-Faces Integration Library with Tiles

2004-05-02 Thread Rob Miller
Hello, I am trying to convert my Struts 1.1 web app (struts.jar 4-17-2004) to the Struts-Faces Integration Library (Ted's updated struts-faces.jar 3-29-2004) using Tiles, multiple struts config files, and the DispatchAction. My JSP: ... After loading up this page, the HTML source is:

RE: Drop down population question

2004-05-02 Thread Basu, Abhijit (Abhi)
Thanks, Samuel. Here's the code excerpt again. 1. ActionClass code excerpt: mBean.makeConnection(); //get country list vector Vector v = (Vector)mBean.getCountryList(); request.setAttribute("lstCountry", v) 2. JSP code e

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Michael McGrady
This is more of a passing interest of mine, so I will pursue a bit more, if you continue an interest. I have an application that needs to do this from afar on multiple and untrackable sites. So, the bouncing the server idea just won't work for me. I need this to happen without exchanging cla

Re: Security + struts

2004-05-02 Thread Pedro Salgado
On 04/05/02 6:40, "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > DMZ is short for "demilitarized zone" ... a term adopted for enterprise > network infrastructures from the military use of the term. > > If you're writing an application for public access on the Internet, > you'll find that the

Re: HttpSessinoListener Confusion

2004-05-02 Thread Craig R. McClanahan
Jignesh Patel wrote: So You, mean there is a one seperate event for one single session. For each session, an HttpSessionListener will receive an event when the session is created, and an event when the session is destroyed (the call will go to the appropriate method for the event type in questi

Re: Action class performance

2004-05-02 Thread Craig R. McClanahan
Erwin Cabral wrote: 1. Are there any performance issues involved when an Action class forwards to another? Any RequestDispatcher.forward() call has roughly the same performance impact as what the container has to do on any original HTTP request (map the request to a particular servlet, start tha

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Craig R. McClanahan
Michael McGrady wrote: To expand (part question and part statement): Suppose: 1. We made an interface, Action, which the present Struts Action (renamed, say, "ActionImpl") implemented. 2. We created a daemon ActionFactory which loaded actions from outside the CLASSPATH using a URLClassloader

iterating tiles

2004-05-02 Thread Dean A. Hoover
I need some help understanding how to iterate tiles. I have a setup action that creates a Vector of "Series" objects and does: session.setAttribute("seriesList", seriesList); and then forwards to a tile that is essentially a container for rows of series information. The container is content for a p

removing history from jsp pages

2004-05-02 Thread Jignesh Patel
How to remove history from JSP pages while we are using struts framework? -- Jignesh Patel Project Leader Bang Software Technolgy Pvt. Ltd. (E) [EMAIL PROTECTED] (T) 091 484 3942132 B-4, Smart Business Centre, Infopark, SDF I

Re: HttpSessinoListener Confusion

2004-05-02 Thread Jignesh Patel
So You, mean there is a one seperate event for one single session. -Jignesh On Thursday 29 April 2004 12:33, Craig R. McClanahan wrote: > Jignesh Patel wrote: > >If we will use HttpSessionListener, > >will tomcat implement seperate listener for all the Sessions or it will > > be common for all th

Action class performance

2004-05-02 Thread Erwin Cabral
1. Are there any performance issues involved when an Action class forwards to another? 2. Does the number of Actions created in a web application affect the overall performance of the application? __ Do you Yahoo!? Win a $20,000 Career

Re: Database access in contextInitialized

2004-05-02 Thread Samuel Rochas
Hello Craig, Indeed, the recommended pattern today is for you to acquire your DataSource instances from the JNDI naming context Thanks for your advise. I was the way I handled it before using struts, so I will continue that way. Sincerly Samuel --- andinasoft SA - Software y Consulting --- Ma

DynaValidatorForm Problem

2004-05-02 Thread Marc Tinnemeyer
Hi everybody, I got a problem accessing a DynaValidator's attribute through a scriptlet. Here is the codesnippet: <% String kosten = PropertyUtils.getSimpleProperty( ticketForm, "kosten") .toString(); %> While "kosten" is the bean's attribute and "ticketForm" is the DynaValidatorForm itself.

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Michael McGrady
To expand (part question and part statement): Suppose: 1. We made an interface, Action, which the present Struts Action (renamed, say, "ActionImpl") implemented. 2. We created a daemon ActionFactory which loaded actions from outside the CLASSPATH using a URLClassloader, etc., and which did no