.5.22
-Original Message-
From: Sai Man Yau
Sent: Wednesday, December 11, 2019 7:58 AM
To: user@struts.apache.org
Subject: have plan to upgrade version of spring in struts 2 Spring plugin?
Dear Struts 2 Team,
Thanks for your hard work to maintain such great framework to sustain all other
devel
ifact/org.apache.struts/struts2-core/2.5.22
>-Original Message-
>From: Sai Man Yau
>Sent: Wednesday, December 11, 2019 7:58 AM
>To: user@struts.apache.org
>Subject: have plan to upgrade version of spring in struts 2 Spring plugin?
>
>Dear Struts 2 Team,
>
>Thank
Dear Struts 2 Team,
Thanks for your hard work to maintain such great framework to sustain all other
developers. Thanks!!
Since struts is using spring is some of the component, I would like to ask will
there a plan to upgrade the spring dependencies for Struts 2 Spring plugin
because of the Spr
Any update on this requirement?
Or atleast any workaround?
--
Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mai
I have created a new ticket.
https://issues.apache.org/jira/browse/WW-4935
Thanks,
Deva.
--
Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
This isn't supported right now. I think it would be good re-use
@Action annotation ro define a new (e.g. @Resource) to allow define
custom paths. Could you register a ticket?
2018-04-29 15:55 GMT+02:00 DevaGerald :
> Thanks for your reply.
>
> I am already using struts-2 rest plugin in production.
Thanks for your reply.
I am already using struts-2 rest plugin in production. What we are trying to
solve here, is a hierarchical resource entity API implementation.
Let me give an example of what I am trying to do.
For getting an organization info, we can use a REST API like
/organizations/orga
On 4/27/2018 11:45 AM, DevaGerald wrote:
> Hi,
>
> Sorry if i miss something here. As of my knowledge, the struts 2 rest plugin
> supports only the following :
> /resource - GET
> /resource - POST
> /resource/$resource_id - GET
> /resource/$resource_id - PUT
> /resource/$resource_id - DELETE
>
Hi,
Sorry if i miss something here. As of my knowledge, the struts 2 rest plugin
supports only the following :
/resource - GET
/resource - POST
/resource/$resource_id - GET
/resource/$resource_id - PUT
/resource/$resource_id - DELETE
and also the custom methods like
/resource/$resource_id/my_cus
find that
> struts-core-1.3.10 jar is present in struts 2.x. Can you please let
> me know if the presence of this jar makes Struts 2.x vulnerable to
> security issues such as CVE-2012-1007
> <https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1007>.
It's worth pointing out th
> Hi,
>
> As Apache Struts 1.x is pretty old and it suffers from many security
> vulnerabilities, I decided to use a recent version of Apache Struts 2.x
> (Struts 2.3.24.1). However, I find that struts-core-1.3.10 jar is
present
> in struts 2.x. Can you please let me know if th
n of Apache Struts 2.x
> (Struts 2.3.24.1). However, I find that struts-core-1.3.10 jar is present
> in struts 2.x. Can you please let me know if the presence of this jar makes
> Struts 2.x vulnerable to security issues such as CVE-2012-1007
> <https://web.nvd.nist.gov/view/vuln/de
Hi,
As Apache Struts 1.x is pretty old and it suffers from many security
vulnerabilities, I decided to use a recent version of Apache Struts 2.x
(Struts 2.3.24.1). However, I find that struts-core-1.3.10 jar is present
in struts 2.x. Can you please let me know if the presence of this jar makes
You may also want to check the docs:
https://struts.apache.org/docs/file-upload.html
which has a section on size limits.
> On Dec 9, 2015, at 1:38 AM, punter wrote:
>
>
> Hello,
> I am using Struts 2.1 in my project. For the file upload process, is it
> possible to supersede the normal 2 gb
> Hello,
> I am using Struts 2.1 in my project. For the file upload process, is
> it possible to supersede the normal 2 gb file limit for struts2.The
> struts.xml maxsize element in my project is as follows :
> value="2147483648" />
> P
Hello,
I am using Struts 2.1 in my project. For the file upload process, is it
possible to supersede the normal 2 gb file limit for struts2.The struts.xml
maxsize element in my project is as follows :
Please update
2014-09-02 9:41 GMT+02:00 Harish Panwar :
> Hi All,
>
> We are migrating our website from Struts 1 to Struts 2. Everything is
> working fine except the mapped properties.
>
> Lets say we have text-field in our jsp:
>
>
>
> Getter-Setter for this field were like this in struts1:
>
> public String g
Hi All,
We are migrating our website from Struts 1 to Struts 2. Everything is
working fine except the mapped properties.
Lets say we have text-field in our jsp:
Getter-Setter for this field were like this in struts1:
public String getArp(String key) {
int index=Integer.parseInt(key);
You can try these Demos to create Custom tag in struts
> 2
> > Custom Tag Struts 2[1], Custom tag struts2[2],
> >
> >
> >
> >
> >
> >
> >
> > Please give a good documentation link for custom tags in struts 2
> >
> > Ratna
Hi Ratna,
Please find Links :
http://joshuajava.wordpress.com/2008/12/27/creating-custom-components-with-struts-2/
, http://bodez.wordpress.com/2009/03/13/customising-struts2-jsp-tags/
Re: Please give a good documentation link for custom tags in struts 2
Ratna Kar
to
You can try these Demos to create Custom tag in struts 2
> Custom Tag Struts 2[1], Custom tag struts2[2],
>
>
>
>
>
>
>
> Please give a good documentation link for custom tags in struts 2
>
> Ratna Kar
> to:
> Struts Users Mailing List
> 07/08/2014 01:0
Hi Ratna,
You can try these Demos to create Custom tag in struts 2
Custom Tag Struts 2[1], Custom tag struts2[2],
Please give a good documentation link for custom tags in struts 2
Ratna Kar
to:
Struts Users Mailing List
07/08/2014 01:05 PM
Please respond to "S
Please point me a good documentation link w.r.t tags in *struts 2*.
1) I would like create a new tag.
2) Extend(Enhance) the existing tag. ex: add additional attributes to
supported attributes.
Thanks,
Ratnakar
2014-04-29 15:55 GMT+02:00 Alireza Fattahi :
> Hi,
>
> As mentioned in
> http://www.disasterarea.co.uk/blog/xss-vulnerabilities-in-web-frameworks-2/
> The ${} is not xss safe in struts 2 while it is safe in tapestry 5.
> I am not a Tapestry guy, but I want to know if above is co
Hi,
As mentioned in
http://www.disasterarea.co.uk/blog/xss-vulnerabilities-in-web-frameworks-2/
The ${} is not xss safe in struts 2 while it is safe in tapestry 5.
I am not a Tapestry guy, but I want to know if above is correct.
As far as I know the ${} is part of JSLT and it does not depend on
2013/10/29 Vaishampayan, Shailesh Arvind :
> ClientAction extends ActionSupport throws Exception{
>
>
>
> try{
>
> clientService.searchClient();
>
> }catch(InvalidClientSearchCriteriaException e){
>
> addActionMessage("Invlid Search Crit
Have a look at the ExceptionMappingInterceptor, with a bit of tweaking I
believe you can achieve what you want.
http://struts.apache.org/release/2.0.x/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/ExceptionMappingInterceptor.html
Antonios
On 29 October 2013 10:15, Vaishampayan, Shail
I am working with an application involving Struts2 in web layer and Spring in
business layer. I also have BusinessException class which will be used by all
business services to create business related validation failures which must go
up to web layer and should be shown to users as validati
-
From: jlm...@gmail.com
Date: Tue, 8 Oct 2013 05:23:05
To: Struts Users Mailing List; Alireza
Fattahi
Reply-To: jlm...@gmail.com
Subject: Re: Prevent Ajax Multi-Request in Struts 2
What are you using on the client for the ajax calls? Dojo? Jquery? They both
generate an http header “x
from T-Mobile
-Original Message-
From: Alireza Fattahi
Date: Mon, 7 Oct 2013 22:01:47
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Re: Prevent Ajax Multi-Request in Struts 2
Jose,
I am still in the middel of this problem :(
Can you please let me
September 2013, 16:13
Subject: Re: Prevent Ajax Multi-Request in Struts 2
Hi,
Since XHR request can not be cross-domain, you can not get a CSRF through
XHR( the browser will not allow other page to send a XHR to your server).
The only option would be a normal post against your supposed-ajax URL
Struts 2
To Mitigate add a "nonce" to the form
https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)
Saludos
Martin-
> Date: Thu, 26 Sep 2013 08:43:12 -0400
> Subject: Re: Prevent Ajax Multi-Request in Struts 2
> From: jlm...@gmail.com
> To: user@st
To Mitigate add a "nonce" to the form
https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)
Saludos
Martin-
> Date: Thu, 26 Sep 2013 08:43:12 -0400
> Subject: Re: Prevent Ajax Multi-Request in Struts 2
> From: jlm...@gmail.com
> To: user@struts.apache.o
er, so if the request is suppose to be ajax,
> and it does not have the header, you can reject it, because it is a CSRF
> attempt
>
>
> Regards
>
> JL
>
>
>
> 2013/9/25 Alireza Fattahi
>
> > Hi,
> >
> > We want to avoid multi-request sent via Aj
e want to avoid multi-request sent via Ajax in struts 2 web based
> application.
>
> The `s:token` can be used in regular request-response jsp pages, but it
> will not work for ajax requests. The problem is the returned respond, which
> does not populate new value for struts token.
&
Hi,
We want to avoid multi-request sent via Ajax in struts 2 web based application.
The `s:token` can be used in regular request-response jsp pages, but it will
not work for ajax requests. The problem is the returned respond, which does not
populate new value for struts token.
I found this
2012/12/3 Eric Lentz :
> I'm almost there. I didn't suspect that it would work that way with the
> iterator. Should have tried it first! Thanks Dave.
>
> On the way back, such as in a post, if BaseObject is an interface or
> abstract, as I'm hoping for it to be, then Struts tries to instantiate the
I'm almost there. I didn't suspect that it would work that way with the
iterator. Should have tried it first! Thanks Dave.
On the way back, such as in a post, if BaseObject is an interface or
abstract, as I'm hoping for it to be, then Struts tries to instantiate the
BaseObject type, which it can't
You're making OGNL calls against an object; it doesn't care about the
type--if you access foo.bar it'll call getBar() on foo, setBar() on
submission.
Dave
On Mon, Dec 3, 2012 at 11:19 AM, Eric Lentz wrote:
> I have
> List foo
>
> The list is of type BaseObjectImpl
>
> BaseObject has fields:
> St
I have
List foo
The list is of type BaseObjectImpl
BaseObject has fields:
String a
String b
BaseObjectImpl has fields:
String c
String d
Now I'm in a JSP and want to iterate foo (using ), accessing
fields c and d (inside iterator using , for example). How? As
far as Struts knows I'm dealing wit
always null in struts 2 action.
My existing application uses Struts 1.3 and WAS 7.0. We are using JSecurity
for authentication. I am able to get the Principal object inside my struts
1 action. But the principal object is null inside the struts 2 action.
Do we need to do any thing specific to expose
It should be like this:
Regards
--
Łukasz
Mobile +48 606 323 122
Office +27 11 0838747
http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsubscr..
Hello,
Seems that there is not much documentation, examples or tutorials on
this topic. The only resource I have found on a similar case is in the
following forum:
http://forum.springsource.org/showthread.php?83417-How-to-use-struts2-rest-style-and-default-style-at-same-time
This s
Hello Lukasz, thank you for your answer,
*1.* I have severals problems when include the configuration for the
rest-plugin in struts.xml (attachment the file):
- Get HTTP for http://ipserver:port/weapp/index.action (for example) return
HTTP 404 code error. Before include the rest plugin confi
2012/2/9 developer researcher :
> 1. both normal action and restful action in the same web application.
Define struts.rest.namespace as mentioned in the docs
> 2. The URL structure for resources must be:
> - /list/ ==> show a list of resoruces in json format
> - /list/{id} ==> show the resource i
Hello,
I am using Struts2 2.3.1. I am evaluating the rest plugin and I have
the next requirements:
1. both normal action and restful action in the same web application.
2. The URL structure for resources must be:
- /list/ ==> show a list of resoruces in json format
- /list/{id} ==> show
2:37 PM
> To: Struts Users Mailing List
> Subject: Re: XSS Vulnerability in Struts 2 before 2.2.3
>
> I did not checked before, but I bet it works (Please Let us know if it
> doesn't).
>
>
> On 11 May 2011 16:47, Sarr, Nathan wrote:
>> Hello,
>>
&g
I did a quick test and it appeared to work correctly.
-Nate
-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Wednesday, May 11, 2011 12:37 PM
To: Struts Users Mailing List
Subject: Re: XSS Vulnerability in Struts 2 before 2.2.3
I did not checked
I did not checked before, but I bet it works (Please Let us know if it doesn't).
On 11 May 2011 16:47, Sarr, Nathan wrote:
> Hello,
>
>
>
> I noticed the solution mentions turning off DMI support in
> struts.xml. Would the same result be achieved by setting it in the
> struts.properties file:
Hello,
I noticed the solution mentions turning off DMI support in
struts.xml. Would the same result be achieved by setting it in the
struts.properties file:
# don't allow dynamic method invocation
struts.enable.DynamicMethodInvocation = false
Thanks,
-Nate
Problem:
A security vulnerability affecting all versions of Struts 2 before
Struts 2.2.3 has been reported by Dr. Marian Ventuneac (Genworth). The
vulnerability allows an attacker to inject malicious client side
Javascript code in Struts 2 based applications that have Dynamic Method
Again,
Bachchu...
--
View this message in context:
http://struts.1045723.n5.nabble.com/Any-TabbedPanel-specialist-in-struts-2-dojo-tp4290083p4298449.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscrib
What kind of help are u looking for? Can you be more specific?
-Original Message-
From: bharathnav [mailto:bharath...@gmail.com]
Sent: Thursday, April 07, 2011 11:41 PM
To: user@struts.apache.org
Subject: Any TabbedPanel specialist in struts 2 + dojo
Hello All,
Is there anyone active
Hello All,
Is there anyone active and help me regarding the tabbedpanel in dojo of
struts.
Thanks in advance.
--
View this message in context:
http://struts.1045723.n5.nabble.com/Any-TabbedPanel-specialist-in-struts-2-dojo-tp4290083p4290083.html
Sent from the Struts - User mailing list
I am having problem with validation framework to work with the webflow
plugin.
ALL webflow transactions revolves around the FlowAction in
struts config, correct ? All your Jsp forms are submitting against
FlowAction correct ?
So the validation XMLs have to go against the FlowAction -.how would
yo
You can use JSP EL just fine (I'd still suggest getting rid of Scriplets,
they're just bad mojo), you just can't pass them to the Struts Tags as
attributes. You can use your own JSP Tag Libraries (I do), and use EL
anywhere on the page with the exception of the tag attributes. And
there are alte
Thanks a lot Chris.
I tried with the option and it is working fine :).
We will think about the security risk and decide whether to update or not.
But as you mentioned that JSP EL is not supported in struts this mean old
JSP applications (which uses scriptlet or JSP EL) either can not be upgraded
or
JSP Expressions are not allowed in the Struts 2 Tag Libs because of security
concerns allowing hackers to use JSP EL to inject OGNL into the tags to do
bad things. If you don't care about this problem, you can copy the struts
.tld file out of the struts.jar file and add true
to all the attributes,
Hi,
We are in the process to upgrade our application. Currently our aplication
is on
*Weblogic: 8.1sp5
Java: 1.4
Struts: 1.2 *
We are upgrading it to:
*Server: Weblogic 10.3
Java: 1.6.0_5
Current Struts: 2.0.14
*We are facing issue with jsp expression in struts tag.
All the expression which uses JS
View this message in context:
http://old.nabble.com/Creating-Tabs-in-Struts-2-tp30543356p30547386.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For
You can use the tag, as Maurizio Cucchiara has told you.
http://struts.apache.org/2.2.1.1/docs/tabbedpanel.html
Or you can use JQuery UI.
Here are demos and docs:
http://jqueryui.com/demos/tabs/
-
To unsubscribe, e-mail: user-
Have you already take a look at
http://struts.apache.org/2.1.8/struts2-core/apidocs/org/apache/struts2/components/TabbedPanel.html
?
2010/12/28 :
>
> I want to create a three tab in jsp using struts 2 and
> call 3 separate jsp for each tab any one give the example
> Thanks and Regards,
> Kart
I want to create a three tab in jsp using struts 2 and
call 3 separate jsp for each tab any one give the example
Thanks and Regards,
Karthick G
Mobile:8971318927
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any at
I hate MS SQL Server~
2010/12/7 Yanto Bong :
> Hi Mead,
>
> thanks for the suggestion, but we want to keep the minimum changes on the
> code.
> if we convert into string in jsp/view pages, there are quite a lot of
> changes.
> however we already change our formatting script in our js library
I always just used the following to display my BigDecimal values...
package.properties file:
format.money = {0,number,\u00A4###,##0}
On Mon, Dec 6, 2010 at 9:29 PM, Yanto Bong wrote:
> Hi Mead,
>
> thanks for the suggestion, but we want to keep the minimum changes on the
> code.
> if we conver
Hi Mead,
thanks for the suggestion, but we want to keep the minimum changes on the
code.
if we convert into string in jsp/view pages, there are quite a lot of
changes.
however we already change our formatting script in our js library and it
solved the issue.
also this issue just happend when we
Hello,
1,convert the munber into string in the jsp/view page.
2,write a JSTL to render that dataType by your self.
Regards,
Mead
On Tue, Dec 7, 2010 at 10:25 AM, Yanto Bong wrote:
> Hi Li,
>
> thanks...unfortunately we already use this model in many places and we need
> to have BigDecimal ret
Hi Li,
thanks...unfortunately we already use this model in many places and we need
to have BigDecimal return datetype.
However we already solve this issue by changing our java script lib.
Thanks
On Mon, Dec 6, 2010 at 11:47 AM, Li Ying wrote:
> This looks like the result of toString() of BigDe
This looks like the result of toString() of BigDecimal.
May be you can try this:
http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html#toPlainString%28%29
2010/12/6 Yanto Bong :
> Hi All,
>
> We've using BigDecimal as datatype in hibernate and model for Numeric (20,8)
> da
Hi All,
We've using BigDecimal as datatype in hibernate and model for Numeric (20,8)
datatype in database.
however when we display it in JSP using struts 2, if the value <> 0 then it
will display correctly.
However if the value is 0. in database, then it will display in JSP
it will shown a
I've never heard of such behavior. The only thing I can advise is to
enable struts2 log and see in what the correct and the wrong behavior
differ.
Are you sure there isn't any error log?
2010/12/2 Swapnil Raverkar :
> Hi,
>
> We are observing issues in our Struts 2 based application, when deployed
Hi,
We are observing issues in our Struts 2 based application, when deployed on
WAS-CE server.
Details are as follow:-
Struts 2 version : 2.0.11.1
Platform : Suse Linux
App. Server : WAS-CE 2.1.1.4
We are observing a behaviour that the request paramaters (i.e http post/get
params)
are not get
ptor, that's why I
> ask for any ideas about the best way to implement it.
>
> Jose
>
> -Original Message-
> From: Dave Newton [mailto:davelnew...@gmail.com]
> Sent: Wednesday, October 27, 2010 3:39 AM
> To: Struts Users Mailing List
> Subject: Re: Reques
best way to implement it.
Jose
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: Wednesday, October 27, 2010 3:39 AM
To: Struts Users Mailing List
Subject: Re: RequestHeaderAware in Struts 2?
What's wrong with the ideas you've been given? Ying's
Setting the value into the action is both cleaner, and more
expressive, and unless you inject a utility class instance, easier to
test.
On Wednesday, October 27, 2010, Li Ying wrote:
> I would implement this function as a Utility Class,
> and call it from the Action class.
>
> In the Utility Clas
I would implement this function as a Utility Class,
and call it from the Action class.
In the Utility Class you can get the HttpServletRequest instance by
[ServletActionContext.getRequest()].
In this case, you even don't need RequestHeaderInterceptor to inject
Headers into your action, because th
27;s not present, set the IP into the
> action. What do you think?
>
> Jose
>
> -Original Message-
> From: Li Ying [mailto:liying.cn.2...@gmail.com]
> Sent: Tuesday, October 26, 2010 3:32 AM
> To: Struts Users Mailing List
> Subject: Re: RequestHeaderAware in Stru
the action. What do you think?
Jose
-Original Message-
From: Li Ying [mailto:liying.cn.2...@gmail.com]
Sent: Tuesday, October 26, 2010 3:32 AM
To: Struts Users Mailing List
Subject: Re: RequestHeaderAware in Struts 2?
What Chris has said is right.
But what Jose Luis asked for is a in
What Chris has said is right.
But what Jose Luis asked for is a inject mechanism likes
ParameterAware which takes all the request params through one Map, but
not through several property.
So I think the simpler (also more Quick And Dirty) way is:
(1)Create a interface, likes:
public interface He
As far as I'm aware, there's not. But it wouldn't be hard to write one.
You could use the ParameterInterceptor as a pattern, but have it take it's
data from the headers rather than the parameters and you'd be done in 1/2
hr. You could get fancier, to make sure Parameters and Headers with the
same
Hello,
I'm working on an application that for security reasons needs to
access to the request headers from an action. I know I can access to the
request, but I'm also aware that that is not recomended. Is there a
RequestHeaderAware or something like that, that fits that the same
behaviour as Par
I've tried the jquery plugin, but it just doesn't work for me. A bug in
publishing and subscribing to topics had been ignored on the Google Groups
site for it since July, but once I just wrote the straight jquery code it
worked fine. I also didn't want to resort to Javascript to put content into
a
Greg is right. JQuery is very easy to use and provides a new approach
to write non-intrusive javascript.
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@s
I haven't used the jQuery plugin but I would highly recommend just
using straight jQuery.
I've been very impressed with how easy it is to use and how much you
can accomplish with very little jQuery code.
As far as the jQuery plugin goes; it appears to give you a bunch of
snazzy UI elements via jsp
Hi Hantsy, Jose,
thanks, we'll take a look at the plug in.
Best Regards
Yanto
On Wed, Oct 6, 2010 at 11:48 AM, Jose A. Corbacho wrote:
> I meant, yep, using the plugin provided for jQuery.
>
> On Wed, Oct 6, 2010 at 10:40 AM, Hantsy Bai wrote:
>
> > There is a project which integrated JQuery
I meant, yep, using the plugin provided for jQuery.
On Wed, Oct 6, 2010 at 10:40 AM, Hantsy Bai wrote:
> There is a project which integrated JQuery into Struts2...
> http://code.google.com/p/struts2-jquery/
>
> The dojo plugin shipped with Struts 2 is too old...
>
> Hantsy
>
> 于 2010/10/6 11:28
There is a project which integrated JQuery into Struts2...
http://code.google.com/p/struts2-jquery/
The dojo plugin shipped with Struts 2 is too old...
Hantsy
于 2010/10/6 11:28, Jose A. Corbacho 写道:
I changed to jQuery not long time ago and I have to say the system has
improved its performanc
I changed to jQuery not long time ago and I have to say the system has
improved its performance (I was using before the dojo plugin) as well as the
code being cleaner. You'll still need to do some "javascripting" but using
jQuery API that is, as said, cleaner.
On Wed, Oct 6, 2010 at 10:05 AM, Yant
Hi All,
We've use Struts 2+Spring+Hibernate as our framework and use JSP as the UI.
After we review the application, our application having quite a lot Java
Script that cause certain form not working propertly in one of the browser.
Any suggesstion how we can reduce Java Script in the JSP ?
is th
t; How do we configure a Datasource in Struts 2.X.
> 1. Do we put Driver and url in the Action Class file or
> 2. Do we configure the Driver and Url in the Web.xml or
> 3. Do we configure in struts.xml instead of web.xml.
>
> A Small example would be helpful.
&g
Dear All,
How do we configure a Datasource in Struts 2.X.
1. Do we put Driver and url in the Action Class file or
2. Do we configure the Driver and Url in the Web.xml or
3. Do we configure in struts.xml instead of web.xml.
A Small example would be helpful.
Regards,
VR Venugopal Rao
Greetings to all,
I have a spring dao class like this
public class RoleDaoImpl extends SimpleJdbcDaoSupport implements RoleDao {
public Role findRoleById(Long id) {
.
and I have added it to spring as
when I am calling a method in this dao
Hi,
In Struts 1 I was able to extend the class ActionMapping and declare
additional properties for a mapping in the struts-config.xml
by creating the method setPublica in the class MyActionMapping. Is it
possible to do something similar in Struts 2? I've seen that there is a
rom larger group rather than specific individual.
-Original Message-
From: sarava...@elogic.co.in [mailto:sarava...@elogic.co.in]
Sent: Thursday, December 10, 2009 10:34 AM
To: muthu.velap...@aspiresys.com
Subject: RE: Localization in struts 2
Hi Muthu,
I would like to know ab
Hi,
I am newbie to Struts 2. I am trying to refresh a part of my page without
submitting the whole page, so I am trying to use ajax theme. is it possible
to refresh the contents in the div? with the settings below, it always
replaces the intial contents with the result JSP of the ajax action. I do
n instead of redirectaction and use same properties in
Action1 and Action2.
Regards,
Raghuveer Vellanki
-Original Message-
From: Siddiq Syed [mailto:siddiq...@yahoo.com]
Sent: Friday, October 30, 2009 1:43 AM
To: user@struts.apache.org
Subject: Re: Preserving Messages and Garb
;> The
>> >> > action you redirect to will return a result of 'input' because the
>> >> > workflow
>> >> > interceptor sees that there are errors. (Maybe this is why you though
>> >> > chain
>> >> > wasn't
Input${considTypeCode}
Thanks
Siddiq.
From: Greg Lindholm
To: Struts Users Mailing List
Sent: Mon, November 2, 2009 2:10:57 PM
Subject: Re: Preserving Messages and Garbage values Across a Redirect in Struts
2
Here is the link [1] for "Parameters in con
ss.com/category/struts-2/)
> >> >> and I specified that in the strust.xml,
> >> >> This interceptor is to preserve the error messages.
> >> >>
> >> >>
> >> >> >> >> class="com.interceptor.RedirectMe
>> >>
>> >>
>> >> > >> class="com.interceptor.RedirectMessageInterceptor" />
>> >>
>> >>> />
>> >>
1 - 100 of 560 matches
Mail list logo