I think the best solution is to keep business code like that out of
Struts actions and even away from the Struts framework altogether.
Personally, I'd use Spring to manage my services, then use the
property placeholder to inject String constants into my services using
a properties file. In the mo
Hello,
Seeking some advice...
I am hoping to create a standard method for passing configuration
snippets to Actions. For instance, let's say I have a method that among
other things, sends an email message. I don't want to hard-code which
email server I am planning on using, so how do I tell the A
IL PROTECTED]>, "Struts Users
Mailing List" <[EMAIL PROTECTED]>
cc:
Subject:Re: ServletContextListener
You are using struts so, instead of calling a jsp page for the response,
call an action class that sets an appropriate "months" in the request
s
ndering if there are other options... - Glenn mike 16/06/2004 03:25
PM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing
List" , [EMAIL PROTECTED] cc: Subject: Re: ServletContextListener At
12:13 PM 6/16/2004, [EMAIL PROTECTED] wrote: >Greetings, >
are other options...
- Glenn
mike <[EMAIL PROTECTED]>
16/06/2004 03:25 PM
Please respond to "Struts Users Mailing List"
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
cc:
Subject: Re: ServletCo
At 12:13 PM 6/16/2004, [EMAIL PROTECTED] wrote:
Greetings,
I have created a ServletContextListener that sets a Bean in the
application scope.
This Bean contains 2 list of Months... and these lists contain
LabelValueBeans.
My uncertainty is on the best way to get my JSP to use the appropriate
List
Greetings,
I have created a ServletContextListener that sets a Bean in the
application scope.
This Bean contains 2 list of Months... and these lists contain
LabelValueBeans.
My uncertainty is on the best way to get my JSP to use the appropriate
List depending on the locale.
JSP code
7 matches
Mail list logo