Re: Migration problem from 2.0.x to 2.1.6

2010-05-27 Thread Rupali Gupta
You would anyways need to extend the action class if you want the action mapping in your servlet. On 5/27/2010 11:18 AM, Gwen Harold Autencio wrote: Hi, I got a Servlet which doesn't extends to an action. Looking for a work around without extending the servlet to an action because it's

Re: action chain tag

2010-05-27 Thread Rupali Gupta
When an http://struts.apache.org/2.0.11.1/docs/action.htmlaction class method completes, it returns a String. The value of the String is used to select a result element. (result name = input here ) Not very sure on this but I think the flow will go to render action first and then if it finds

Re: Migration problem from 2.0.x to 2.1.6

2010-05-27 Thread Gwen Harold Autencio
So all the servlet should be an action now in 2.1.6 ? --- On Thu, 5/27/10, Rupali Gupta r.gup...@mpstechnologies.com wrote: From: Rupali Gupta r.gup...@mpstechnologies.com Subject: Re: Migration problem from 2.0.x to 2.1.6 To: user@struts.apache.org Date: Thursday, May 27, 2010, 3:05 PM You

Cookie Manipulation attack

2010-05-27 Thread Vishnu Vyasan Nelliparmbil
Hi Guys, I am handling a application in which we have application in two languages. There is a Locale action for setting locale to English or Arabic based on the parameter being passed from the respective index pages. I.e. index_en.jsp and index_ar.jsp the parameter is passed as the POST

RE: Migration problem from 2.0.x to 2.1.6

2010-05-27 Thread Yang, Senshan
If you have access the class the Servlet extends to and that class does not extend to a class, try to have that class extends to an action. -Original Message- From: Gwen Harold Autencio [mailto:gwenharol...@yahoo.com] Sent: Thursday, May 27, 2010 1:49 AM To: user@struts.apache.org

Re: Cookie Manipulation attack

2010-05-27 Thread Alex Rodriguez Lopez
Em 27-05-2010 11:27, Vishnu Vyasan Nelliparmbil escreveu: Hi Guys, I am handling a application in which we have application in two languages. There is a Locale action for setting locale to English or Arabic based on the parameter being passed from the respective index pages. I.e. index_en.jsp

Re: PRG pattern question

2010-05-27 Thread Alex Rodriguez Lopez
Em 26-05-2010 16:57, Chris Pratt escreveu: If you search the forum, someone posted an Interceptor (quite a while ago) that saves the Action/Field Errors/Messages in the Session so that they will survive a redirect. It could easily be extended to do what you require. (*Chris*) I think this

IntRangeFieldValidator - Double javascript validation instead of one

2010-05-27 Thread Pierre BRARD
Hi all, I am using Struts 2 annotations for validation: @Validations(requiredStrings = { @RequiredStringValidator(fieldName = firstName, type = ValidatorType.FIELD, message = First name is required), @RequiredStringValidator(fieldName = lastName, type

Re: Migration problem from 2.0.x to 2.1.6

2010-05-27 Thread Greg Lindholm
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,

Now the wiki is also messed up

2010-05-27 Thread Greg Lindholm
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

Regular Expression Denial of Service Attacks and Defenses

2010-05-27 Thread Greg Lindholm
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

How to control the rendering of struts UI tags? [Solved]

2010-05-27 Thread Ken
Searching I found something to the effect did you change the rendering mode to css... and then the OP went on his way... Where is this switch flicked? Oh, just because I've got inertia found the answer in Struts 2 in Action, but was looking user the wrong headings... I'm going to answer my own

Re: Struts Users Mailing List user@struts.apache.org - question

2010-05-27 Thread Stephen Ince
I think you just have to subscribe with the new email. I don't think you can update your info. Steve - Original Message - From: Polakovic, Juraj To: stephenpi...@gmail.com Sent: Thursday, May 27, 2010 16:02 Subject: Struts Users Mailing List user@struts.apache.org - question

Struts url, a, and iterator tag behaviour

2010-05-27 Thread Ken
I am trying to dynamically construct a url inside an iterator tag and use that result in an anchor. s:iterator value=next s:url id=companyId action=companyDetails.action namespace=/secure s:param name=group value=log.id.mlgroup/ s:param name=id