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
The request below is sent , but the parameters (request_locale/pageUrl) are not set on the action. http://localhost:8080/change-locale.do?request_locale=en&pageUrl=%2Fview-login.do I am using the defaultStack which includes both the param and actionmapping interceptors. I am running Struts

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
a typo...I meant you could use your hyphens and try this: %{#application['view-register']} Beez r 5347 -----Original Message- From: Rubens Gomes [mailto:rub...@pocketgear.com] Sent: Tuesday, January 11, 2011 11:45 AM To: Struts Users Mailing List Subject: RE: How to use an application s

RE: How to use an application scoped variable in ?

2011-01-11 Thread Rubens Gomes
use an application scoped variable in ? I prefer camel case anyway for my variable names but if you like the hyphen, I think you could do something like this: %{#application['viewRegister']} Beez r 5347 -Original Message- From: Rubens Gomes [mailto:rub...@pocketgear.co

RE: How to use an application scoped variable in ?

2011-01-11 Thread Rubens Gomes
ng that is consistent with the Java bean naming convention and stay away from arithmetic operands. Maybe change to (*Chris*) On Tue, Jan 11, 2011 at 7:25 AM, Rubens Gomes wrote: > I am using the Struts 2 tag, *not* the HTML standard href=".." /> tag. > > A

RE: How to use an application scoped variable in ?

2011-01-11 Thread Rubens Gomes
Subject: Re: How to use an application scoped variable in ? I'm pretty sure that the property tag is a better candidate in order to evaluate OGNL expressions like this. Try this ">Test 2011/1/11 Rubens Gomes : > I am using the tags in my JSP pages. And I am using to > define U

How to use an application scoped variable in ?

2011-01-10 Thread Rubens Gomes
I am using the tags in my JSP pages. And I am using to define URLs for the . I have recently made some changes to place the URLs variables on the application scope (so that they can be shared by all requests/threads). Since I made this change I need to change the href in to point to an

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
Hello, I already spent several hours on this problem. And I have done some search on the mailing lists as well. I am using the latest Struts 2 (2.2.1) along with struts-tiles JSP plugin (2.2.2), and I running into a problem with rendering garbled foreign characters from s:text. If I remove