So what the others are saying is that you should NEVER use chopsticks when
you are eating soup
No just kidding. Depending on what version of struts you are using you
likely need a
s:set name=listOfEmployee value=listOfEmployee/ before the display
tag.
Otherwise your decorator could be
We are using struts 2.0.11
We have lots of action class. Say one of them is CustomerRegisterAction
(which extends ActionSupport ) . When a say user X registers himself on
the website; this CustomerRegisterAction is populated (using OGNL) and the
customer data is saved to DB. But after sometime
Struts2 does create a new Action for every request.
Do you use Spring? I think you can configure it to reuse the beans...
Piero
Am Samstag, 26. Juli 2008 19:48:47 schrieb Arun M:
We are using struts 2.0.11
We have lots of action class. Say one of them is CustomerRegisterAction
(which
r u getting any error?
Regards,
Dhiraj
On Fri, Jul 25, 2008 at 9:29 PM, Milan Milanovic
[EMAIL PROTECTED]wrote:
Hi,
I have two forms in my .jsp page which are connected to one Action class.
They both works fine, but when user submit second form, method in action
class
is called, but no
try using jstl
c:forEach items=${lawDraft} var=document
c:out value=${document.title}/c:out
/c:forEach
Regards,
Dhiraj
On Wed, Jul 23, 2008 at 9:50 PM, Lukasz Lenart [EMAIL PROTECTED]
wrote:
I don't think the var will work always, ie I am using struts 2.0.6
The webworl.tld does not
Using Struts 2.0.11, the following markup causes goodbyeWorld's execute
method to be called twice:
sx:tabbedpanel id=tabContainer
s:url action=goodbyeWorld id=url/
sx:div label=Tab 1 href=%{#url}Remote Tab/sx:div
sx:div label=Tab 2Local Tab/sx:div
/sx:tabbedpanel
When the remote
which version of struts are you working with..?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does
--- On Sat, 7/26/08, Martin Gainty [EMAIL PROTECTED] wrote:
which version of struts are you working with..?
I'm not sure that it matters; it's a link on the Struts home page.
Dave
Jeromy Evans wrote:
Fini Decima wrote:
I'm posting here because I could not find
a Web Master contact
Why don't you post your code. It seems that it might have a threading issue.
-R
Arun M wrote:
We are using struts 2.0.11
We have lots of action class. Say one of them is CustomerRegisterAction
(which extends ActionSupport ) . When a say user X registers himself on
the website; this
Yes , we are using spring and hibernate also along with struts.
Could you suggest us, where to configure to resue the beans ??
Piero Sartini-3 wrote:
Struts2 does create a new Action for every request.
Do you use Spring? I think you can configure it to reuse the beans...
Piero
Be shure that your web beans are marked scope=propotype in the
spring configuration files; that makes spring create a new bean each
time you need one instead of providing a pointer to the existing
instance.
Spring defaults to singletons so don't mark prototype things like DAOs
or service classes
Am Sonntag, 27. Juli 2008 06:04:46 schrieb Arun M:
Yes , we are using spring and hibernate also along with struts.
Could you suggest us, where to configure to resue the beans ??
The spring plugin is described in detail at
http://struts.apache.org/2.x/docs/spring-plugin.html
I am not using
Well, the question is if you are using Spring 1.x or 2.x and creating
spring beans (using the spring plugin and in your struts.xml using the
spring bean name instead of the full class name):
If you are using the 1.x version, do as said by Piero Sartini
(singleton=false) in your
I think you need to post the relevant section from struts.xml so we can see
how you declare the action as well as your spring configuration files.
-D
Miguel-55 wrote:
Well, the question is if you are using Spring 1.x or 2.x and creating
spring beans (using the spring plugin and in your
14 matches
Mail list logo