I haven't been following this thread so if my answer doesn't help... sorry.
I have configured a default Action setup to catch all unknown actions.
The default-action-ref tag [1] sets the action to use when the requested
action isn't found.
Login
I use a restricted interc
Why don't you show your complete action configuration with all the result
entries (better include and global results as well).
Do you define a result of name="input" as required for validation failure?
What version of Struts are you using?
On Fri, Nov 20, 2009 at 2:08 PM, ben_979 wrote:
>
>
> Co
Check the doc for property *struts.url.includeParams* for the version of
struts you are using.
You may want to change it's value to none.
On Sat, Nov 21, 2009 at 12:48 AM, shekher awasthi wrote:
> Hi Friends,
>
> I am using the url tag as follows:
>
>
>
> LocalInvoice
>
>
>
> Local Invoi
No, it's an HTML limitation, most you can do is one file (per input tag) at
a time.
To get a whole folder you will need something that runs on the client (in
the browser).
You can't use Javascript either, security restrictions prevent it from
messing with the input tag.
On Tue, Nov 24, 2009 at 1:4
If you look at the Validation Guide [1] you will find a link at the
bottom for WebWork Validation [2] which shows this example for
comparing passwords.
user.password.equals(user.confirmPassword)
[1] http://struts.apache.org/2.x/d
Easy to find in the Freemarker docs.
http://freemarker.org/docs/ref_directive_t.html
On Wed, Dec 2, 2009 at 10:47 AM, wrote:
> Hi,
>
> I'm trying to modify xhtml theme to suite our need, but I'm not familiar with
> freemarker. Could someone explain these few tags mean?
>
> <#rt/>
> <#lt/>
> <#
You may have a different problem then you think;
The @RequiredFieldValidator does not make any sense on a int
(primitive) field as an int cannot be null. The validation interceptor
checks the values on the fields after params interceptor sets the
fields. The RequiredFieldValidator checks if the fi
You can disable scripting in JSP by adding this to your web.xml file
*.jsp
true
Also see: http://java.sun.com/javaee/5/docs/tutorial/doc/bnaoq.html
On Tue, Dec 8, 2009 at 9:21 AM, Shital Patil wr
Just to ensure the point is understood
JSP is not always the right choice and you can easily use Velocity,
Freemarker, etc. instead.
But not wanting to use JSP because the programmers/web designers can
do something bad with it is simply nonsense.
On Tue, Dec 8, 2009 at 11:03 PM, Shital Patil
Wild guess you are trying to serialize (with JSON plugin) a
Hibernate proxy object.
Maybe your object has a reference to another lazy loaded object or collection.
Using reflection on a proxy object is usually a bad idea.
You may need to clone the object (to get a real one) first before
serial
Your setter should be setVdat1s() with a capital V to match java bean standards.
There has been other reports on this list of this issue.
On Thu, Dec 17, 2009 at 2:26 PM, Parm Lehal wrote:
> I migrated from struts2.1.6 to 2.1.8.1 and all of a sudden my date
> fields don't get saved any more. H
You can include the tag on your jsp page.
On Mon, Dec 28, 2009 at 7:38 AM, Jim Collings wrote:
> I'm having some trouble finding things due to some arcane code. Was
> wondering if anyone could provide me with an example of dumping the
> valuestack to the jsp so that I can take a look?
>
>
> Jim
See the FAQ
http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.html
On Mon, Jan 4, 2010 at 2:40 AM, Rakesh K nair wrote:
>
> Hi
>
> In my struts2 jsp page there is a "selection list".I am populating the
> "list" from action class before rendering the page.I hav
>
> Instantiating the DAO in the execute() method of each of my action's
> however, seems a little inefficient. Does Struts provide any way to
> instantiate the object once and then make it available for the lifetime of
> the container (in a way that my Actions can access it)?
>
So want your DAO'
I'm working on a new Struts 2 application and wondering where to put
startup and initialization logic?
In previous projects I've always had other servlets that were part of
the applications and would put the logic in the Servlet init() method
but I don't have a servlet this time and there is no "s
Thanks, that will work.
On Wed, Jan 13, 2010 at 11:21 AM, Lukasz Lenart
wrote:
> 2010/1/13 Greg Lindholm :
>> How do you do this?
>
> ContextListener?
> http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html
>
>
> Regards
> --
> Lukasz
I'm biased, but I think this one works pretty well, and I use it to
test interceptors.
>
> http://glindholm.wordpress.com/2008/06/30/unit-testing-struts-2-actions
> looks promising.
>
-
To unsubscribe, e-mail: user-unsubscr...@st
Hibernate Validator 4.0 [1] is the RI for JSR 303 but Oval [2] does
look very cool.
[1] https://www.hibernate.org/459.html
[2] http://oval.sourceforge.net/
On Fri, Jan 15, 2010 at 12:37 PM, Wes Wannemacher wrote:
> Before you tie yourself to commons-validator, take a look at Oval. I
> could be w
I've got the same situation and plan on handling by making the the
result location dynamic by adding a ${device} to the path.
/${device}/index.jsp
In my actions I will have a getDevice() which will return a string
(e.g. "iPhone" or "blackberry" etc.) based on the User-Agent or
x-wa
If you are using a result type of "redirectAction" you don't
explicitly code the url just give it the action name and let the
result construct the correct url.
To pass parameters with a redirectAction you do it like this:
< param name="actionName">CompleteConfirmation
< par
Check out the "Filter Mapping, default Action extensions, and
Servlets" section on this wiki page:
http://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x#TroubleshootingguidemigratingfromStruts2.0.xto2.1.x-FilterMapping%2CdefaultActionextension
It's Nabble that removes the < param > tags
On Thu, Feb 4, 2010 at 5:10 PM, Cimballi wrote:
> :D Ok, I just noticed than the mailing list engine, or maybe google,
> removes the < param > tag...
>
> Cimballi
>
>
>
-
To unsubscri
Using a security constraint is the better way to go.
Here is a slightly different configuration we use because there are
some jsp files that are not part of the struts app portion which we
want to allow access.
What we do is put all out struts jsp's in to folder /struts then use
this /struts/* in
A slightly cleaner way would be like this:
I think in most cases is used for displaying "safe" text that
the app either supplies or generates.
Obviously if you do use it to echo user supplied data you need to be careful.
It would be nice to have a flag like you suggest however it might be
diffi
Bad link to the Struts 2 Wiki.
On page http://struts.apache.org/2.x/docs/home.html
Scroll down to Quick Links:
The link name "Struts 2 Wiki space" doesn't work.
It is pointed to
http://struts.apache.org/2.x/S2WIKI/welcome-to-apache-struts2.html
where the earlier link above is pointed to
http://cw
I decided to finally ask about this problem I've been seeing for
several years.
During development I will run my Struts 2 (2.1.8) apps in Tomcat
(5.5.25) from Eclipse (3.5.1). I've included the current versions I'm
using but this problem goes way back over many different versions over
a couple year
This mailing list on Nabble seems to be gone, at least I can't find it.
Nabble switched over to a new system and old system is now at
old.nabble.com but doesn't seem to be getting updates anymore.
Anyone working to get this mailing list archived on the "New and
Improved" nabble or is there a bette
ker Karlmeier wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi again,
>
> regarding your reloading problem I have another idea. Look here,
> if you have the next problem :)
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
>
> regards
>
>
AM, Alex Rodriguez Lopez
wrote:
> Em 25-02-2010 18:54, Greg Lindholm escreveu:
>>
>> This mailing list on Nabble seems to be gone, at least I can't find it.
>> Nabble switched over to a new system and old system is now at
>> old.nabble.com but doesn't seem to be
Does this FAQ entry help?
http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.html
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.a
This seems to be a common problem that has been asked about many times
on this list (see search for include + param):
http://old.nabble.com/forum/Search.jtp?forum=206&local=y&query=include+param
I've never seen a definitive answer (but maybe it's buried in the above search).
In my latest project
This page shows the search order:
http://struts.apache.org/2.x/docs/constant-configuration.html
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Struts 2.1.8
I had one page in the application I'm working on which was really
really slow... it was taking 4-5 seconds to render the jsp page.
It's a very simple page, just a list of 10 to 15 items that are
iterated over and each one gets a form with one hidden field and a
button.
It appears it'
In my experience it's better to define number (and time) input fields
as String and perform the conversion and validation in your action
using java.text.NumberFormat . This puts you in control of the
process and let's you handle I18N issues that way you want to without
fighting Struts.
I typicall
I will typically retrieve everything I need to populate the fields in
prepare() and try to do it within a single db transaction. One issue
with doing db retrieval from within a getter is the getter may be
called multiple times which would mean repeating db queries
(inefficient) or doing lazy loadi
(Seems like I just answered this question... but here it is again this
time for Dates)
In my experience it's better to define number (and time) input fields
as String and perform the conversion and validation in your action
using java.text.NumberFormat (and java.text.DateFormat). This puts
you in
e that you
> have a consistent locale request setting both for the first request
> (rendering the form and the current value in the textfield) and the
> second request (processing the submitted form).
>
> - René
>
> Wick, Dan schrieb:
>> I accept your answer, but Struts2 sho
I've added this method to my ActionBase class to get the action name.
/**
* Gets the action name. This is just the bare name without
".action" extension.
*
* This is equivalent to "#context['struts.actionMapping'].name"
from in a JSP.
*
* @return the action name
*
You are probably looking for ParameterAware
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/interceptor/ParameterAware.html
On Wed, Apr 28, 2010 at 12:47 PM, Mitch Claborn wrote:
> I'm sure I've seen the answer to this somewhere, but darned if I can find it
> now when I nee
You can add a default action to catch any random hits
Error.jsp
On Tue, May 11, 2010 at 11:34 AM, Mitch Claborn wrote:
> A security scan on our site is sending a request like
>
> /emailalink!"XxxX.html
>
> which produces an exception
> com.opensymphony.xwork2.interc
It appears the online docs are messed up:
http://struts.apache.org/2.x/docs/tag-reference.html
Sorry if I'm repeating well know information.
Or, is there a better URL to use?
This URL looks about the same.
http://struts.apache.org/2.1.8.1/docs/guides.html
--
http://struts.apache.org/2.x/docs/tag-reference.html (messed up)
If I manual type in the address the 2.1.8 version of the docs these look ok
http://struts.apache.org/2.1.8/docs/tag-reference.html (ok)
Greg
On Fri, May 14, 2010 at 11:53 AM, Lukasz Lenart
wrote:
> 2010/5/14 Greg Lindholm :
>&
Writing unit tests are significantly easier when you have dependencies
injected with the xxxAware Interfaces.
On Thu, May 20, 2010 at 7:11 AM, Alex Rodriguez Lopez
wrote:
> Hi Struts users!
>
> I was wondering, after reading about the ServletConfigInterceptor, if there
> are differences in obtain
I don't believe there is any canned "best practice" solution for this issue.
My apps do the same thing; on a successful post I redirect to a get,
on a validation error they simply forward back to the jsp so as to
preserve the input data.
It is possible to manually include all your form fields data
Check out the wiki entry for migrating
https://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
There is a section "Filter Mapping, default Action extensions, and
Servlets" that should help.
Unfortunately the docs seem to still be messed up. sigh
On Thu,
Come on guys...
The docs have been messed up for a while and now the wiki is messed up.
On this page
https://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
All the code samples are missing, they show up as a squiggly line.
Even the home page links to the Wik
This link is to an article that talks of how Denial of Service attacks
can target vulnerable Regular Expressions.
Regular Expression Denial of Service Attacks and Defenses
http://msdn.microsoft.com/en-us/magazine/ff646973.aspx
(Not sure if you need to login to see this page, I hope not.)
A friend
5/27/10, Greg Lindholm wrote:
>
>> From: Greg Lindholm
>> Subject: Re: Migration problem from 2.0.x to 2.1.6
>> To: "Struts Users Mailing List"
>> Date: Thursday, May 27, 2010, 10:50 PM
>> Check out the wiki entry for
>> migrating
>>
>>
Use the "href" not the "value" attribute to specify the URL.
Unless you are use the tag ajax support there is no reason to use the
tag just use the plain html tag
like
On Thu, May 27, 2010 at 8:38 PM, Ken wrote:
> I am trying to dynamically construct a url inside an iterator tag and
> use th
nd
> hence it will anyway to the maximum match,
> pl. clarify,
>
> thanks
> abhishek
>
> On Fri, May 28, 2010 at 12:42 AM, Greg Lindholm
> wrote:
>
>> This link is to an article that talks of how Denial of Service attacks
>> can target vulnerable Regular
Or... use "simple" theme and do all your own layout.
2010/5/30 Paweł Wielgus :
> Hi Chris,
> i don't know about any param or switch to turn 3 columns mode, but You
> can write your own template for it and make as many columns as You
> like and put inside cell or row anything You like.
>
> Best gre
Use the tag to generate the URL to the css file, this will
ensure it has the correct context.
Like this:
This will generate the correct path even if you deploy your app in a
context other then root.
On Wed, Jun 2, 2010 at 9:36 AM, wrote:
> It would make sense to use absolute links rather th
You need to change your filter-mapping in web.xml so that static
resources like images, css, js etc do not get processed by the struts
filter.
This is what I use where all actions use the *.action extension.
struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
I've whined about this several times and nobody seems to care enough
about it to fix it. So maybe it is a dying project.
Blaming Confluence doesn't actually help the situation if no one is
working with Confluence to fix it.
If the 2.1.8 version of the docs is working then why isn't it hooked
int
It should be a pretty easy migration and all the issues are documented here
https://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x
On Wed, Jun 16, 2010 at 2:36 AM, Amol Ghotankar wrote:
> On Wed, Jun 16, 2010 at 12:05 PM, Amol Ghotankar
>
We use Tomcat and have written a simple filter to set the cache
control headers on static content. (see below)
We handle the issue with changing JS and CSS files by versioning them
on releases. So when we update a app to version 2 we rename the JS and
CSS files to add a version number so the new p
You can configure a dynamic result like this:
${nextAction}
In your action class you would then need a method "String
getNextAction()" that returns the next action name.
On Thu, Jun 17, 2010 at 1:19 AM, Amol Ghotankar wrote:
> Hello.
>
> I am using struts 2.0.x and facin
somewhere in the
>> calling action.
>>
>> Can we also the namespace of the calling action in the called action
>> directly.
>>
>>
>> Regards,
>>
>> Amol Ghotankar
>>
>> cursivetech.com
>>
>> On Thu, Jun 17, 2010 at 6:31
Well technically it's not a "getter" since it takes a parameter but
that doesn't matter you can call any method on your action just using
the full name and calling it like in java.
Now I'm not sure what you are trying to do with the #index syntax
since getProducts() will be called once and shoul
Your basic problem is that having both getEmployee() and isEmployee()
is a violation of the JavaBeans "standard" so you are asking for
trouble. The Employee property is not a boolean so you really should
rename isEmployee() to something else (maybe isTypeEmployee()). If
you can't do this then you
Maybe this will help.
The Page Encoding is separate and distinct from the URI encoding. On
a GET the parameters are encoded according to the URI encoding (not
the page encoding).
If you are using Tomcat then you need to specify the URI encoding on
the Connector in the server.xml file.
Example:
Your own your own, you will have to track which action you were going
to yourself.
You can use the Preparable interface in your actions to store which
action in the session. or...
Maybe in the redirect you could pass the action name you came from.
You can get the action name by adding a method l
Thanks for pushing this, your right it is critical and needs to be fixed asap.
On Sat, Jul 10, 2010 at 4:02 AM, Meder Kydyraliev wrote:
> There's a critical remote commands execution vulnerability in XWork(used by
> Struts2), which fixed in 2.2.0, which isn't released yet but can be
> downloaded
My experience is that you cannot trust the mime-type supplied by the
browser on a file upload. The same file uploaded with FF or IE will
give you different mime-types. It's also dependent on what plugins
have been installed in the browser.
The only truly reliable methods would be to examine the fi
Add the following to your web.xml file and change the url-pattern's to
catch any jsp files you do not want the user to have direct access to.
Prevent access to raw pages.
Raw Pages
/error.jsp
/struts/*
/META-INF/*
No roles, so no direct access
>From the Struts 2 FAQ
http://struts.apache.org/2.1.8.1/docs/how-do-we-repopulate-controls-when-validation-fails.html
On Fri, Jul 16, 2010 at 4:40 AM, Guy Thomas wrote:
> In a form I use the struts2 action tag to populate a drop down list:
>
>
>
>
>
>
> Sele
uot;odd" behavior is that I'm taken back to the jsp
> page with the form (index.jsp) when I forget to fill in something in the
> search text field, but that the url still shows the target action of the form
> and ... the rich controls are not repopulated.
>
> Guy
>
> -O
I have found most the struts tags to be really slow but seems
to stick out.
For really high performance pages I find I have to not use struts tags.
See this old thread:
http://old.nabble.com/S2-%3Cs%3Aform%3E-in-interator-really-slow-tc28073962.html
On Wed, Aug 18, 2010 at 4:46 PM, Nathan Meeker
Is there any issues with running Struts1 and Struts2 together in the
same application?
I have a couple old Struts1 applications which I plan on converting to
Struts2 over time, but would like to start doing new development in
Struts2 immediately while converting the Struts1 screens and action
over
We typically use a simple little filter to add cache-control headers to results.
Of course there is no guarantee the browser will respect it (although
the spec say it must be obeyed
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9).
In web.xml:
Cache-Control for Dynamic resour
I "assumed" from his example that he was using Strut1.
Maybe he could tell us so we don't have to guess and give wrong info.
On Thu, Sep 9, 2010 at 4:53 PM, Dale Newfield wrote:
> On 9/9/10 4:12 PM, anjibman wrote:
>>
>> What I am really struggling in is I have processing result in the form of
ed up cleaning up and removing an bunch of S1 tags
and replaced with std JSTL.
On Mon, Aug 30, 2010 at 11:05 AM, Stephen Turner wrote:
> On Mon, 23 Aug 2010 14:22:54 -0400, Greg Lindholm
> wrote:
>
>> Is there any issues with running Struts1 and Struts2 together in the
>>
You can get the action name in a JSP with
"#context['struts.actionMapping'].name".
What I do is to add a getActionName() to the action base class which
returns ActionContext.getContext().getName()
On Wed, Sep 15, 2010 at 5:45 PM, Daniel Rindt wrote:
> Hello,
>
> i would like to know how to obta
How do you override a Localization property that is bundled in a
ActionClass.properties file?
I'm planing on bundling up some common Action classes into a jar to be
used by several projects. I plan on putting their properties in
ActionClass.properties files that get bundled into the jar.
I would
properties file that's more specific there's no issue. Are
> you looking for a different mechanism than that?
>
> Dave
>
> On Thu, Sep 23, 2010 at 5:02 PM, Greg Lindholm wrote:
>
>> How do you override a Localization property that is bundled in a
>> ActionClass.
;> here first" properties file and if not found then continue up the
>> Bundle Search Order. Essentially allow the developer to insert a
>> bundle into the front of the search order.
>>
>>
>>
>> On Thu, Sep 23, 2010 at 5:05 PM, Dave Newton wrote:
>&
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
Every app I've written has custom interceptors (and of course custom
interceptor stacks).
Don't fear interceptors, they are your friends.
On Tue, Oct 12, 2010 at 12:17 PM, aum strut wrote:
> Hi All,
>
> I have a generic question about Struts2Interceptor,since Struts2 is itself
> in term of Interc
cross-cutting concerns.
On Tue, Oct 12, 2010 at 1:26 PM, aum strut wrote:
> I am truely agree but can give me some example where you have applied them
> just to get me an idea may be lacing imagination this time
>
> :)
>
> On Tue, Oct 12, 2010 at 10:40 PM, Greg Lindholm
>
Hi David,
I've written a couple of these so let me give you some advice:
Create an Interface "HibernateAware" that your actions will implement
if they want a Hibernate Session and Transaction injected.
public interface HibernateAware
{
}
On Wed, Nov 10, 2010 at 3:45 PM, Altenhof, David Aron
w
to fail unexpectedly.
I would put the call to invocation.action() in a try block with a
finally block that closes the session and cleans up any other
THreadLocal stuff you have so it doesn't pollute the thread pool.
On Wed, Nov 10, 2010 at 4:44 PM, Greg Lindholm wrote:
> Hi David,
>
I wrote this to solve the problem of preserving messages across a redirect:
http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/
On Fri, Nov 19, 2010 at 11:36 AM, Greg Akins wrote:
> Thanks for the response
>
> On Fri, Nov 19, 2010 at 11:28 AM, Maurizio C
I'm working on my first project that will use sitemesh and have some
questions on basic configuration with Struts2.
Info:
struts 2.2.1
sitemesh 2.4.1
My decorators will be JSP files
I'm looking at the struts2-sitemesh-plugin doc
http://struts.apache.org/2.2.1/docs/sitemesh-plugin.html
Question 1
>
> struts-cleanup
> /*
>
>
> sitemesh
> /*
>
>
> struts
> /*
>
>
>
> Hope this helps,
>
> Brian
>
>
> On Tue, Nov 30, 2010 at 9:35 AM, Greg Lindholm wrote:
>
>> I'm
ld probably give
> you a better answer than I can.
>
> -Brian
>
>
>
> On Tue, Nov 30, 2010 at 11:02 AM, Greg Lindholm
> wrote:
>
>> Brian, you are saying I can use struts tags and access the action etc
>> in my JSP decorator without needing the struts2-sitemesh-plu
Cucchiara
wrote:
> You must include struts-sitemesh-plugin only if you need to use
> (Freemarker, Velocity)DecoratorServlet, otherwise you can use only
> sitemesh filter.
>
> 2010/12/3 Greg Lindholm :
>> Thanks Brain.
>>
>> Can anyone else give me a definitive answer abou
The PrepareInterceptor seems to have a bug; any exceptions that occur
in the prepare{MethoName} methods are being caught and ignored.
It should be re-throwing the exception so that normal Exception
handing logic will occur (in the Exception Interceptor).
Exception that occur in prepare() are not c
You could also add a "btype" (browser type) macro to your jsp paths like this...
/struts2/${btype}/Profile.jsp
Your actions would have to have a getBtype() method that supplied that
portion of the path.
This assumes you keep the mobile jsp pages in a separate directory
then the desktop.
Another
I'm trying to find out what are the "Best Practices" and if there are
any utilities available to assist with versioning of static resources
and cache-control.
I'm working on an application (written with Struts 2) that uses a
filter to apply cache-control headers to the static resources,
javascript
>From catalina,sh
# CATALINA_OUT(Optional) Full path to a file where stdout and stderr
# will be redirected.
# Default is $CATALINA_BASE/logs/catalina.out
On Mon, May 23, 2011 at 1:23 PM, Dave Newton wrote:
> Why would you use S.o.p anyway? Why not jus
I asked this question years ago and the answer I got was:
There is no reason it should be Serializable. It was originally
(mistakenly) created that way and because of compatibility it's too
late to change it now.
There is nothing magic about ActionSupport, you could always create
your own custom v
On Mon, Dec 12, 2011 at 3:08 AM, mohan rao wrote:
> Please delete my previous thread my query was not posted completely.
>
>
>
>
> T/F Nothing is
> printing.
>
> T/F Always printing false
> even both are having same values.
>
> Thanks.
>
> --
You are using so you need to use '#' to reference
You could also define a global result for success:
/templates/application/applicationframe.jsp
On Mon, Dec 19, 2011 at 1:44 AM, aum strut wrote:
> Thanks Łukasz, that's a perfect approach
>
> 2011/12/18 Łukasz Lenart
>
>> Instead hardcoded result you can use expression
>>
>>
>> ${acti
A Best Practice for the Session is to only store Immutable object in the
session. This would eliminate the SessionAware issue plus it can also be
important for clustered servers.
On Tue, Feb 21, 2012 at 9:09 AM, bphill...@ku.edu wrote:
> I was researching the SessionAware interface as I'm plan
hose @In @Out annotation for injection
> and outjection. These are handy because you no longer need to have the
> actual scope object reference in your actions.
>
> 2012/2/27 Greg Lindholm :
> > A Best Practice for the Session is to only store Immutable object in the
> >
I also get a boat-load of these ThreadLocal errors when I stop my app
(using Tomcat 6). Tomcat 6 & 7 are now checking and reporting on all the
debris that gets left behind when an app shuts down.
I don't think the WW-560 addresses this problem.
If I understand it correctly the problem is when th
ect is null inside the struts 2 action.
>
> Do we need to do any thing specific to expose the principal object to
> struts
> 2 action?
>
>
> Greg Lindholm-2 wrote
> >
> > OK, I successfully integrated Struts 2 into a Struts 1 application, it
> > was actually pretty
So the statement about Backwards Compatibility on
http://struts.apache.org/release/2.3.x/docs/s2-018.html is incorrect?
*Backward Compatibility*
After upgrading to Struts >= 2.3.15.2, applications using the "action:"
should still work as expected.
This doesn't appear to be true.
On Wed, Oct 9,
Which features of S2 use ASM?
The S2 project dependencies
(http://struts.apache.org/release/2.3.x/struts2-core/dependencies.html)
shows that xworks depends on:
- asm-3.3.jar
- asm-commons-3.3.jar
- asm-tree-3.3.jar
These ASM jar don't seems to actually be needed by a project I have so I'm
guessin
Thanks
On Tue, Oct 15, 2013 at 11:08 AM, Dave Newton wrote:
> The ClassFinder stuff in XWork; for annotation processing.
>
>
> On Tue, Oct 15, 2013 at 10:56 AM, Greg Lindholm >wrote:
>
> > Which features of S2 use ASM?
> >
> > The S2 project dependencies
&
1 - 100 of 305 matches
Mail list logo