Thanks Lukasz. I am already doing that. I found issue was parameters were
passed twice with same name. removed extra one. Its working fine.
On Tue, Jun 24, 2014 at 1:12 PM, Lukasz Lenart
wrote:
> Struts2 filter isn't used during FORWARD, you must explicite configure
> it to do so:
>
>
> st
Struts2 filter isn't used during FORWARD, you must explicite configure
it to do so:
strits2
/*
REQUEST
FORWARD
2014-06-23 13:17 GMT+02:00 Mohit Gupta :
> Actually when i am redirecting from legacy action to
> customer/customer-creater!create.action?custId=200, struts
> 2 success
Actually when i am redirecting from legacy action to
customer/customer-creater!create.action?custId=200, struts
2 successfully does type conversion but not while forwarding the request to
same url though same struts2 filter comes in to picture. Any ideas what
the issue ?
On Mon, Jun 23, 2014 at
I am hitting the customerAction (struts 2 action) from my legacy action
with url
customer/customer-creater!create.action?custId=200
As soon call goes to my customerAction i get below error
ognl.MethodFailedException: Method "setCustId" failed for object
com.actions.customer.CustomerCreateAction@c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
fantastic. I've watched this code for ours but not seen that.
Thanx a lot :)
~ Volker
Dave Newton schrieb:
| --- On Thu, 9/18/08, Volker Karlmeier wrote:
|> I'm sorry that my answer is coming quit late, but I
|> came back from work soon. Her
--- On Thu, 9/18/08, Volker Karlmeier wrote:
> I'm sorry that my answer is coming quit late, but I
> came back from work soon. Here's my code :
>
> _*struts.xml:*_
> ~[...]
> ~ class="net.magiccode.houseman.action.RentalObjectAction"
> method="{1}">
> ~ name="para
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Lukas,
I'm sorry that my answer is coming quit late, but I came back from work
soon.
Here's my code :
_*struts.xml:*_
http://struts.apache.org/dtds/struts-2.0.dtd";>
~
~
~
~
~value="globalMessages, navigation.propert
Could you post some more details? Action code, config, the full stack trace?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I have an Action class called RentalObjectAction that is inherited by a class
named I18nBaseAction. This I18nBaseAction contains a method called
switchLanguage (public).
When I try to call switchLanguage, which sets a value and returns SUCCESS,
I get a NoSuchMethodException.
What is my
Another way to grant this to work is make the Action implement an
interface that has the desired method. So,
... create an interface ...
interface I1 {
String find();
}
... in your Action class declaration ...
class MyStrutsAction implements I1 extends ActionSupport {
...
}
WHY TH
Congrats!
Adam Ruggles wrote:
I found the solution to this and I wanted to post it on the list.
adding proxy-target-class="true" fixes it.
proxy-target-class="true" />
Adam Ruggles wrote:
Creating a service object seems to have worked. Now I'm going to have
to re-think using action support
I found the solution to this and I wanted to post it on the list.
adding proxy-target-class="true" fixes it.
proxy-target-class="true" />
Adam Ruggles wrote:
Creating a service object seems to have worked. Now I'm going to have
to re-think using action support. This project is not complicat
Creating a service object seems to have worked. Now I'm going to have
to re-think using action support. This project is not complicated
enough to warrant another layer.
Thanks for your help.
Paul Benedict wrote:
Adam,
I have never seen anyone attach Spring transactional logic to an
action
--- Paul Benedict <[EMAIL PROTECTED]> wrote:
> I have never seen anyone attach Spring transactional
> logic to an action, and called DAOs straight from
the
> action. That's not good practice, because it mashes
> web, business, and data layers all in one place.
Here's my question/comment: to me it
I'll give that a try, thanks.
Paul Benedict wrote:
Adam,
I have never seen anyone attach Spring transactional logic to an
action, and called DAOs straight from the action. That's not good
practice, because it mashes web, business, and data layers all in one
place.
I wouldn't blame struts h
Adam,
I have never seen anyone attach Spring transactional logic to an action,
and called DAOs straight from the action. That's not good practice,
because it mashes web, business, and data layers all in one place.
I wouldn't blame struts here (yet). I'd first move your code into a
service ob
Yes, I tried both methods. For whatever reason when I extend
ActionSupport it no longer works.
Dave Newton wrote:
Does it do the same thing if you don't explicitly
declare the bean (put the classname directly in the
struts.xml file)?
Just curious... I don't have direct experience with
what yo
Does it do the same thing if you don't explicitly
declare the bean (put the classname directly in the
struts.xml file)?
Just curious... I don't have direct experience with
what you're doing.
--- Adam Ruggles <[EMAIL PROTECTED]> wrote:
> Ok I think I found the problem. If I remove the
> "extends
Ok I think I found the problem. If I remove the "extends ActionSupport"
it works without any problems. I know "extends ActionSupport" works
with Webwork 2, is this a bug or a change in implementation?
Adam Ruggles wrote:
I am following the guide here
http://cwiki.apache.org/S2WIKI/struts-2-s
I am following the guide here
http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html
For some reason when trying to map a method other than execute I recieve
the following error:
- Servlet.service() for servlet default threw exception
java.lang.NoSuchMethodException: $Proxy18.find()
B
Hi All,
I setup a struts/validator webapp this evening using
org.apache.struts.validator.DynaValidatorForm on the form bean in struts-config and
started receiving NoSuchMethodException exceptions linked to the built-in validation
rules I was requested for my fields. The stack traces can be
You can do that in the web.xml deployment descriptor. There's a section
you set up defining what to do with various classes of exception.
On 04/16/2004 11:54 PM Nicolas wrote:
hi
when i use the DispatchAction and someone tries to access a method which
doesn't exist a NoSuchMethodEx
hi
when i use the DispatchAction and someone tries to access a method which
doesn't exist a NoSuchMethodException is thrown. how can i catch this
exception and redirect or at least change the output ?
regards nicolas
---
23 matches
Mail list logo