Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-28 Thread Rubens Gomes
I have created the following Jira to track this issue: https://issues.apache.org/jira/browse/WW-5450 On Wed, Jul 24, 2024 at 6:04 PM Rubens Gomes wrote: > > Below is the line in tomcat code that resolves to REQUEST instead of FORWARD. > > // Globals.DISPATCH

Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-24 Thread Rubens Gomes
or Tomcat? Or am I missing something in my 7.0.0-M9 setup? I should say that with the previous release of Struts 6.4.0 and Tomcat 9.0.43, a FORWARD is used instead. Therefore, something happened since them. Rubens On Wed, Jul 24, 2024 at 5:33 AM Rubens Gomes wrote: > > I noticed the follo

Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-24 Thread Rubens Gomes
very old thread in apache mail archive which was posted to d...@tomcat.apache.org in 2003 which appears to be a related issue: [PATCH] RequestDispatcher.forward() problem with wrapped requests https://lists.apache.org/thread/b3s6gwp1305wh485crkfozz9j9llvj21 On Tue, Jul 23, 2024 at 12:22 PM Rubens Gom

Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-23 Thread Rubens Gomes
As per Spring Boot "3.3.2" managed dependency coordinates the embedded tomcat version is "10.1.26" On Mon, Jul 22, 2024 at 11:27 AM Łukasz Lenart wrote: > > Tomcat? version? It can be related to Tomcat changes > > pon., 22 lip 2024 o 17:25 Rubens Gomes napisał

Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-22 Thread Rubens Gomes
I am running Struts 7.0.0-M9 along with Spring Boot 3.3.2 + Spring Security. have a Struts Action class annotated with : @Result( name = Action.INPUT, location = "/WEB-INF/content/%{#request.device}/login.jsp", type = "dispatcher") And I have noticed that after returning from the A

Re: Struts 7.0.0-M6 - Runtime Error freemarker.cache.WebappTemplateLoader

2024-06-20 Thread Rubens Gomes
creating a JIRA ticket? czw., 20 cze 2024 o 02:15 Rubens Gomes napisał(a): > I am getting the runtime error below with 7.0.0-M6. It appears that method > "rg.apache.struts2.views.freemarker.FreemarkerManager.createTemplateLoader" > > is using "freemarker.cache.WebappTem

Struts 7.0.0-M6 - Runtime Error freemarker.cache.WebappTemplateLoader

2024-06-19 Thread Rubens Gomes
I am getting the runtime error below with 7.0.0-M6. It appears that method "rg.apache.struts2.views.freemarker.FreemarkerManager.createTemplateLoader" is using "freemarker.cache.WebappTemplateLoader" which is based on legacy "javax.servlet"? "Note that this is for the legacy "javax" Servle

Re: StackOverflowError

2022-06-15 Thread Rubens Gomes
47042 sessioncount 2 2022-06-15 22:49:07,044 DEBU o.a.j.l.DirectJDKLog - End expire sessions StandardManager processingTime 1 expired sessions: 0 From: Rubens Gomes Sent: Tuesday, June 14, 2022 11:38 AM To: Struts Users Mailing List Subject: Re: StackOver

Re: StackOverflowError

2022-06-14 Thread Rubens Gomes
__ From: Lukasz Lenart Sent: Tuesday, June 14, 2022 1:02 AM To: Struts Users Mailing List Subject: Re: StackOverflowError Could you share a minimal configuration of this result? Regards Łukasz wt., 14 cze 2022 o 07:23 Rubens Gomes napisał(a): > > I am runnning a Spring Boot 2.7.0 (Latest) To

StackOverflowError

2022-06-13 Thread Rubens Gomes
I am runnning a Spring Boot 2.7.0 (Latest) Tomcat embedded WAR + Spring Security + Struts 6.0.0 Actions + JSP pages. I started noticing a loop when a Struts2 Action result type is a "dispatcher" with following repetive stack trace. Then, a stack overflow is raised. .. repeated several tim

Spring Boot + Struts2 Convention Plugin Not Working

2019-03-11 Thread Rubens Gomes
I using Spring Boot + Struts2, and the convention plugin is not working. That, is the request URL paths are not being automatically mapped to their corresponding action classes at all. Spring Boot: 1.5.19.RELEASE Struts2: 2.5.20 Java VM JDK 1.8 Maven I have the struts2-convention-plugin in my

Re: Request Parameter not being set on Action

2017-08-03 Thread Rubens Gomes
import com.opensymphony.xwork2.ActionInvocation; import com.opensymphony.xwork2.interceptor.AbstractInterceptor; import com.opensymphony.xwork2.util.ValueStack; /** * Interceptor to update the ValueStack with some required data needed by the OGNL * framework. * * @author Rubens Gomes */ @SuppressW

Re: Request Parameter not being set on Action

2017-08-03 Thread Rubens Gomes
://github.com/rubensgomes/ezlista.com From: Rubens Gomes Sent: Thursday, August 3, 2017 12:43 PM To: Struts Users Mailing List Subject: Re: Request Parameter not being set on Action below is the ValueStackInterceptor code - it places a "device"

Re: Request Parameter not being set on Action

2017-08-02 Thread Rubens Gomes
_ From: Lukasz Lenart Sent: Wednesday, August 2, 2017 5:01 AM To: Struts Users Mailing List Subject: Re: Request Parameter not being set on Action 2017-08-02 8:34 GMT+02:00 Rubens Gomes : > The request below is sent , but the parameters (request_locale/pag

Request Parameter not being set on Action

2017-08-01 Thread Rubens Gomes
tion, stack, parameters); I also see that the action mapping interceptor is being called with the above parameter; however, the action setter is not called. P.S. I am *not* using the struts2+spring plugin because I had isssues when spring creates/manages the struts 2 actions. Ru

Re: spring struts 2: Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164

2017-08-01 Thread Rubens Gomes
Subject: Re: spring struts 2: Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164 Hi, seems to me like a issue with spring setup. Can you share that? Regards, Christoph > From: Rubens Gomes > To: "user@struts.apache.org" , > Date:

spring struts 2: Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164

2017-07-30 Thread Rubens Gomes
I am using the Spring + Struts 2 Plugin, and I am getting an error from the Struts2 ParameterInteceptor (see below) when setting request parameters sent on the URL. My Actions are being created by the Spring factory. And I *do* have the proper properties setters in my class (see below). In th

checkboxlist box not checked

2011-03-19 Thread Rubens Gomes
USINESS"), FRIEND("FRIEND"), PERSONAL("PERSONAL"), PROFESSIONAL("PROFESSIONAL"), RELATIVE("RELATIVE"), OTHER("OTHER"); ... } -- Rubens Gomes www.rubens-gomes.com --

RE: S2 Action Setter Not Called

2011-02-04 Thread Rubens Gomes
alue Stack with some state information (like the * browser variable) that is needed in the results. * * @author Rubens Gomes * @version $Id: ValueStackInterceptor.java 3754 2011-02-03 00:39:46Z rgomes $ */ public final class ValueStackInterceptor extends AbstractInterceptor { private st

RE: S2 Action Setter Not Called

2011-02-03 Thread Rubens Gomes
.struts2.action.common.BaseAction; /** * Handles the registration form submit to register a user account on the * system. * * @author Rubens Gomes * @version $Id: RegisterAction.java 3657 2011-01-27 17:38:40Z rgomes $ */ @Namespace("/ssl/account") @Results({ @Result(name="cancel",

S2 Action Setter Not Called

2011-02-02 Thread Rubens Gomes
Hello, I am running Struts 2 (version 2.2.1.1) and the struts2-convention-plugin to annotate all Actions. My action parameter setters are not being called by the ParametersInterceptor. The form does submit the email parameter to my action. And the logs show that parameter on the ParametersIn

RE: How to use an application scoped variable in ?

2011-01-11 Thread Rubens Gomes
Struts 2 Annotation actions. Thank you very much. Rubens. From: Biesbrock, Kevin [biesbrock.ke...@aoins.com] Sent: Tuesday, January 11, 2011 11:51 AM To: Struts Users Mailing List Subject: RE: How to use an application scoped variable in ? Sorry, I had

RE: How to use an application scoped variable in ?

2011-01-11 Thread Rubens Gomes
les to use the "camel" notation which is what I use throughout all my Java code anyway. Thanks, Rubens. From: Biesbrock, Kevin [biesbrock.ke...@aoins.com] Sent: Tuesday, January 11, 2011 11:43 AM To: Struts Users Mailing List Subject: RE: How to

RE: How to use an application scoped variable in ?

2011-01-11 Thread Rubens Gomes
That fixed the problem. The following works: Bottom-line: We *cannot* use "-" (minus-sign) when naming variables that are used by the OGNL parser. Like in the case of the . Thank you very much. Rubens. From: Chris Pratt [

RE: How to use an application scoped variable in ?

2011-01-11 Thread Rubens Gomes
above jsp into my page using And now I want to use the above define application scoped URL variables in the tags. Rubens. From: Maurizio Cucchiara [maurizio.cucchi...@gmail.com] Sent: Monday, January 10, 2011 10:27 PM To: Struts Users Mailing List

How to use an application scoped variable in ?

2011-01-10 Thread Rubens Gomes
application scoped variable instead. Is there any way to do that? I already tried: , and as far as I know it does not work. Thanks, Rubens. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

RE: Struts 2 - s:text garbled

2011-01-07 Thread Rubens Gomes
rbled Are you using a custom ResourceBundle that handles non-encoded files? Or a ResourceBundle.control? Otherwise I'd assume the default XWork/S2 resource bundle isn't the one that takes an encoding argument, which is a 1.6 (?) thing, so I'd have no problem believing that was the case

RE: Struts 2 - s:text garbled

2011-01-07 Thread Rubens Gomes
using the native2ascii (or whatever it's called) tool? (I've never actually tried non-encoded resource files, but I'm usually using a tool to create them, so I'm not always sure what I'm actually ending up with, because I'm lazy.) Dave On Fri, Jan 7, 2011 at 5:51 PM,

Struts 2 - s:text garbled

2011-01-07 Thread Rubens Gomes
All my resource files are saved in UTF-8. And so is my JSPs. And I also have the following on all pages. And I have following settings too: struts.xml: ... ... freemaker.properties: default_encoding=UTF-8 -- Rubens

Re: Dojo javascript errors with ajax theme. please help

2008-10-06 Thread Rubens
: struts2Filter /struts/* If the request to your struts 2 dojo javascript files do not go thru the Struts 2 filter, you will get 404 error when the browser attempts to retrieve those files. Rubens. -- View this message in context: http://www.nabble.com/Dojo-javascript-errors-with-ajax

Re: Struts2 & AJAX config errors

2008-10-06 Thread Rubens
: struts2Filter /struts/* If the request to your struts 2 dojo javascript files do not go thru the Struts 2 filter, you will get 404 error when the browser attempts to retrieve those files. Rubens. -- View this message in context: http://www.nabble.com/Struts2---AJAX-config-errors

Re: Error occurs in WebSphere - validatation.js not found in /struts/template/css_xhtml

2008-10-06 Thread Rubens
: struts2Filter /struts/* If the request to your struts 2 dojo javascript files do not go thru the Struts 2 filter, you will get 404 error when the browser attempts to retrieve those files. Rubens. -- View this message in context: http://www.nabble.com/Error-occurs-in-WebSphere

Re: dojo is not defined error message in firefox console.

2008-10-06 Thread Rubens
: struts2Filter /struts/* If the request to your struts 2 dojo javascript files do not go thru the Struts 2 filter, you will get 404 error when the browser attempts to retrieve those files. Rubens. -- View this message in context: http://www.nabble.com/dojo-is-not-defined-error-message-in

Re: Why? en-us theme=ajax 404 error on Struts 2.0.9

2008-10-06 Thread Rubens
: struts2Filter /struts/* If the request to your struts 2 dojo javascript files do not go thru the Struts 2 filter, you will get 404 error when the browser attempts to retrieve those files. Rubens. -- View this message in context: http://www.nabble.com/Why--en-us-theme%3Dajax-404-error

S2 Refering to another key in the Resource Bundle?

2008-06-03 Thread Rubens
} tokens and pass use ... with However, I have cases where this is not possible to do. Thanks. Rubens. -- View this message in context: http://www.nabble.com/S2-Refering-to-another-key-in-the-Resource-Bundle--tp17640036p17640036.html Sent from the Struts - User mailing list archive at

[S2] Hot Deployment in Tomcat?

2008-05-18 Thread Rubens
Does anyone know how to get Hot deployment to work with Tomcat? I am using Struts2, Spring, Hibernate, and MySQL Tomcat Version: 6.0.16 Java version: JDK 1.6.0_06 Eclipse version: 3.4.0 Tomcat Sysdeo Plugin version: 3.2.1 Struts version: 2.0.11.1 Spring Framework version: 2.5.1 Hibernate ve

Re: [S2] s:text after locale change displays old locale values?

2008-02-23 Thread Rubens
newton.dave wrote: > > --- Rubens <[EMAIL PROTECTED]> wrote: >> Why? How do I fix this problem? I need to use "redirect" to completely >> refresh the page. And I am redirecting to a JSP page. Should I redirect >> to another action ?? (it would see

Re: [S2] s:text after locale change displays old locale values?

2008-02-23 Thread Rubens
nd confusing to add another action just to be able to render things in the change locale properly.) newton.dave wrote: > > I've never been entirely clear on all the places that affect I18N, but > does > the action under which you're using the tag extend > ActionSupport &

Re: [S2] s:text after locale change displays old locale values?

2008-02-23 Thread Rubens
struts.xml has this: I have resources.properties and resources_pt.properties deployed in the WEB-INF classpath area. In fact, the text rendered by is from resources.properties even when the Locale is "pt". Laurie Harper wrote: > > Rubens wrote: >> I am changing

[S2] s:text after locale change displays old locale values?

2008-02-23 Thread Rubens
e); Why is still fetching values from the default locale? Rubens -- View this message in context: http://www.nabble.com/-S2--s%3Atext-after-locale-change-displays-old-locale-values--tp15655762p15655762.html Sent from the Struts - User mail

[S2] fieldError - highlight input field using "simple" theme?

2008-01-24 Thread Rubens
I have a form with multiple input fields, and I am using the "simple" theme. Is it possible to determine (maybe using ) when a given field fails validation? I already tried hasFieldErrors(); however, hasFieldErrors() does not allow me to distinguish which field on the form fails. Here is what I

Is Struts2 ready for prime time?

2007-12-12 Thread Rubens
then (I don't remember what they were now). I wonder how much robust/mature is Struts2 is nowadays for an enterprise webapp development project. Thanks. Rubens. -- View this message in context: http://www.nabble.com/Is-Struts2-ready-for-prime-time--tp14309380p14309380.html Sent from