I've used EJB3 w/ Struts 2 in JBoss, and we couldn't get DI working in strtus
action classes. We had to write context lookup classes. The problem is that
struts action classes don't reside in the EJB container, so DI doesn't work
correctly. If someone else has figured out how to do this, I'd
n can be found here:
Hope this helps,
Zak
- Original Message
From: Eric Nelson <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Tuesday, September 30, 2008 11:42:45 AM
Subject: Invoking Action Class from JSP
Hi all. I'm looking into how to invoke a Strut's action fr
Hi all. I'm looking into how to invoke a Strut's action from a JSP
page. I'm able to do it pretty easy in Stripes with this code:
<[EMAIL PROTECTED] import="simplifile.web.action.ScheduleTransactionAction"%>
<[EMAIL PROTECTED] import="net.sourceforge.stripes.action.ForwardResolution"%>
<[EM
This error usually happens when there's a type conversion problem.
There is probably a field in your form that is posting to your
ActionBean that isn't a part of Strut's standard included type
converters. Or, if it is part of the standard converter, you may have
formatting problems. For instance,
Ah, you're right. Thanks for the correction.
--Eric
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Monday, April 07, 2008 9:29 AM
To: Struts Users Mailing List
Subject: RE: Url-Parameters only set once
--- Eric Nelson <[EMAIL PROTECTED]> wrote:
> Y
I ran into this too once I upgraded to 2.0.11. I understand their concern for
allowing expressions, but I know that I'm using them correctly and so I decided
to modify the TLD and allow all expressions, then just re-jared everything up
and all is working fine. That's one solution. The other i
You CAN set the property to a different value every time. Most of my
action beans implement this behavior just fine. Did you make sure your
action bean implements the ParameterAware interface? This binds your
action bean properties to the current values in the request scope.
--Eric
-Origin
Hi Ghan. You're not trying to directly access the JSP are you? For
instance, browsing to http://host/emsitem/emsList.jsp? You need to go
through the action: http://host/context/list.action, and then make sure
that your action bean returns a result string of "SUCCESS", and it will
automatically n
3, 2008 at 4:52 PM, Musachy Barroso <[EMAIL PROTECTED]>
wrote:
> Use the "id" attribute in the for tag, like id="currInt".
>
> musachy
>
>
>
> On Thu, Apr 3, 2008 at 4:38 PM, Eric Nelson
<[EMAIL PROTECTED]> wrote:
> > Hi. This question
guage like:
selected>${currInt}
Here, currInt is the reference to the current Integer on the value
stack. I hope this makes sense. Any help would be greatly appreciated.
Thanks,
Eric Nelson
Software Engineer Program Manager
Hi Guys,
I'm new to struts and JSP and need to parse and compare XML files. I
know you can do this with JSTL tags, but wanting to stick to the
struts framework, I want to seperate my business method from my JSPs.
Is their a standard way of doing this in struts, maybe using JAXP, or
should I s
11 matches
Mail list logo