Hello Rakesh,
are you using spring 3.x version ? If yes, please make sure, you have
already included all spring 3.0 jars. The entire list of jars can be
found here:
http://blog.springsource.com/2009/12/02/obtaining-spring-3-artifacts-with-maven/
Listener not cofigured means that one of spr
Hi,
I am not using spring to configure Hello World sample application. But it
still gives me listener not registered error for spring context. I am using
struts 2.7.1 distribution.
Regards,
Rakesh
DISCLAIMER
==
This e-mail may contain privileged and confidential information which
hi all
we create an example using Struts2-Spring-Hibernate, using Spring way,
DAO-Services
this is the SVN
http://ugforge.gunadarma.ac.id/svn/cimande/branches/rest-struts
the project run perfectly
but we use this package for @Services and @Transactional
import org.springframework.beans.factor
Another option is to just make a service request from the command line (or
anywhere else): it's still HTTP, it's just not coming from a browser.
Depending on what you need to get back this can be quite convenient.
Dave
On Tue, Aug 17, 2010 at 3:45 PM, Cimballi wrote:
> Struts allows its actions
Struts allows its actions to be tested using unit testing with mock
requests and responses, so yes, you can call the actions from a
command line tool.
You can follow the guide here about unit testing Struts actions :
http://cimballisblog.blogspot.com/2009/09/unit-testing-struts2-actions-with.html
Hi,
1.) I would like to know if it is possible to call the struts framework
through a command line or a console application. Can one call an action
class? Is there any possibility to do so? I think its not possible as
everything would depend on the struts-config file and the Http Request
object.
Hello,
We are experiencing some Freemarker theme issues after upgrading to
Struts2 2.2.1. Our "simple" theme in our webroot is not correctly
overloading the "simple" theme in the struts2 jar when referenced from
within our custom FTL templates.
For example: myCustomUIComponent.ftl
=SNIP=
<@s.text
hi all
i got that every time we create a REST Controller, it is automatically
become JSON
can anyone help me to turn that feature off
and turn that feature on in another URL or package
F
btw, there's also an exception now:
DEBUG com.opensymphony.xwork2.DefaultActionInvocation - Executing action
method = execute
DEBUG org.apache.struts2.dispatcher.ServletRedirectResult - Caught
OgnlException while setting property 'publicId' on type
'org.apache.struts2.dispatcher.ServletActionRedir
Hi,
Thanks, yes look like it work. But this cause other problem on rest now.
For e.g, I call a rest controller like this /user-controller/ABC.json, it will
set "ABC.json" to the rest controller instead of "ABC"
Any clue?
Regards
LV
From: Dave Newton
To:
i'm using struts.action.extension=,
On Tue, Aug 17, 2010 at 12:23 PM, Dave Newton wrote:
> Okay, so extrapolate, and try setting it to an empty string.
>
> On Tue, Aug 17, 2010 at 6:20 AM, wrote:
>
> > Hi,
> >
> > This solution not work for me, because it now append .action to back
> > instead
Okay, so extrapolate, and try setting it to an empty string.
On Tue, Aug 17, 2010 at 6:20 AM, wrote:
> Hi,
>
> This solution not work for me, because it now append .action to back
> instead of
> xhtml. This causing all my spring security filter not work.
>
> Regards
> LV
>
>
>
>
> __
Hi,
This solution not work for me, because it now append .action to back instead of
xhtml. This causing all my spring security filter not work.
Regards
LV
From: Lukasz Lenart
To: Struts Users Mailing List
Sent: Tue, August 17, 2010 10:41:19 AM
Subject: Re:
Did you try to define
struts.action.extension=action,,
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For
Hi,
Here is the constant I define in struts.xml
In struts.xml I also have some global result/exception defined, and some
default
package define.
Regards
Louis
From: Lukasz Lenart
To: Struts Users Mailing List
Sen
2010/8/17 :
> After upgrade to 2.2.1, struts appended .xhtml to the url, is there anyway to
> turn it off like what 2.1.8.1 was?
What you have in struts.properties or/and in struts.xml ?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl
Hi,
After upgrade to 2.2.1, struts appended .xhtml to the url, is there anyway to
turn it off like what 2.1.8.1 was?
Thanks
LV
Hey there,
since 2.2.1, all my static params are being includes as parameters after any
redirect (redirect-action or redirect).
for example, i've got mapped /foo/{id}/bar and after executing /foo/1/bar
and redirecting to another location i get /foo/1/barbaz?id=1
is there any workaround for this?
2010/8/17 :
> The struts-2.2.1-src.zip source link is wrong
Thanks, solved, but please wait few minutes before cache will expire
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl
-
The struts-2.2.1-src.zip source link is wrong
From: Lukasz Lenart
To: Struts Users Mailing List ; em...@encs.concordia.ca
Sent: Mon, August 16, 2010 8:12:01 PM
Subject: Re: [ANN] Struts 2.2.1 GA release available
2010/8/16 Emi Lu :
> Cannot find the file:
>
20 matches
Mail list logo