Re: issue with iframe when upgrading from struts 2.3 to struts 7

2025-06-19 Thread Dave Newton
On Thu, Jun 19, 2025 at 13:54 Priyanka Vaddadi wrote: > But when we enter username and password, nothing is happening. When we > click on submit, the page did not navigate further and just clearing the > username and password and stay on same login page.. Is the request being made? Check the JS

issue with iframe when upgrading from struts 2.3 to struts 7

2025-06-19 Thread Priyanka Vaddadi
Hi In our application when we click on one of the link, then it will load other application in iframe within my application. Then we have to enter username and password in that loaded application. After migrating from struts 2.3 to struts 7 The application is loaded in iframe and showing us the

Re: Issue with Namespace Configuration

2025-06-11 Thread Joseph Huynh
Hi Lukasz, Sorry, it was a false alarm to report Struts2 failed to dispatch in case of duplicate names in the same namespace. I used System.out to monitor the flow and I didn't see what I expected to see and thought it silently failed. I now switch to log4j2 framework and can verify the flow fr

Re: Issue with Namespace Configuration

2025-06-10 Thread Lukasz Lenart
śr., 11 cze 2025 o 00:59 Joseph Huynh napisał(a): > > Hi Lukasz, > I just figured out that I had bundled struts.xml in wrong place in WEB-INF/ > instead of in WEB-INF/classes/. It is dispatching correctly now. My > struts.xml is mostly fine except for the duplicate result name in the same > na

Re: Issue with Namespace Configuration

2025-06-10 Thread Joseph Huynh
Hi Lukasz, I just figured out that I had bundled struts.xml in wrong place in WEB-INF/ instead of in WEB-INF/classes/. It is dispatching correctly now. My struts.xml is mostly fine except for the duplicate result name in the same namespace. I think Struts2 fails (silently) to dispatch in this c

Aw: Issue with Namespace Configuration

2025-06-10 Thread Ute Kaiser
Hi Joseph, sorry I can not help with your namespace issues but I would update struts.xml: http://struts.apache.org/dtds/struts-6.0.dtd";> and get rid of xwork-core-2.3.35.jar which is not part of struts 7.0.3 any more. Best regards Ute --

Re: Issue with Namespace Configuration

2025-06-10 Thread Lukasz Lenart
Is there a chance to expose source code of your app on Github? And I would suggest learning how to use Maven to build the app instead of Ant. Cheers Lukasz pt., 6 cze 2025 o 18:49 Joseph Huynh napisał(a): > > Hello, > I have a simple web application to learn how the controller works in Struts

Issue with Namespace Configuration

2025-06-06 Thread Joseph Huynh
Hello, I have a simple web application to learn how the controller works in Struts framework. The build is deployed to Tomcat 11.0.5. The application has two simple JSP files PgStudent.jsp (configured as the welcome page) and PgRegistration.jsp. Each page has two buttons to let user go back and

Re: Struts 7.0 issue with Ftl

2025-05-28 Thread Lukasz Lenart
czw., 29 maj 2025 o 05:24 Priyanka Vaddadi napisał(a): > when I replace > <#if parameters.nameValue??> > value="<@s.property value="parameters.nameValue"/>"<#rt/> > with > > <#if attributes.name??> > value="<@s.property value="%{attributes.name}"/>"<#rt/> > Why do you replace "nameValue" with "

RE: Struts 7.0 issue with Ftl

2025-05-28 Thread Priyanka Vaddadi
ame displayed in text box but not parameter value Please help me with this Thank and Regards Priyanka From: Priyanka Vaddadi Sent: Wednesday, May 28, 2025 6:55 AM To: user@struts.apache.org Subject: RE: Struts 7.0 issue with Ftl Hi When I change below code <#if parameters.disabled?string?

Re: Struts 7.0 issue with Ftl

2025-05-28 Thread Dave Newton
On Wed, May 28, 2025 at 09:58 Priyanka Vaddadi wrote: The following has evaluated to null or missing: ==> attributes.disabled [in template "template/wam/text.ftl" at line 51, column 6] If the app has its own theme/templates/etc they may need updating. * https://struts.apache.org/getting-star

RE: Struts 7.0 issue with Ftl

2025-05-28 Thread Priyanka Vaddadi
uot;<#rt/> I am getting parameter name displayed in text box but not parameter value Please help me with this Thanks and Regards Priyanka From: Priyanka Vaddadi Sent: Tuesday, May 27, 2025 10:54 PM To: user@struts.apache.org Subject: Struts 7.0 issue with Ftl Hi I am getting below erro

Re: Struts 7.0 issue with Ftl

2025-05-28 Thread Lukasz Lenart
śr., 28 maj 2025 o 12:25 Priyanka Vaddadi napisał(a): > > Hi > > I am getting below error while loading the page after migrating to struts 7 > Pleaselet me know what could be the issue > > > Template inclusion failed (for parameter value > "/Empty{name='templateDir'}/simple/checkbox.ftl"): > Temp

Struts 7.0 issue with Ftl

2025-05-28 Thread Priyanka Vaddadi
Hi I am getting below error while loading the page after migrating to struts 7 Pleaselet me know what could be the issue Template inclusion failed (for parameter value "/Empty{name='templateDir'}/simple/checkbox.ftl"): Template not found for name "Empty{name='templateDir'}/simple/checkbox.ftl".

Re: Issue with ServletActionContext.getRequest() returning null in JSP (Struts 7)

2025-03-31 Thread Lukasz Lenart
śr., 26 mar 2025 o 09:38 Lidin NT napisał(a): > Why is ServletActionContext.getRequest() returning null in JSP? Calling JSPs directly is a Bad Idea https://struts.apache.org/security/#never-expose-jsp-files-directly And calling JSPs directly means you skip the whole Action related machinery, wit

Re: Issue with ServletActionContext.getRequest() returning null in JSP (Struts 7)

2025-03-26 Thread Wolfgang Knauf
Hi, how do you invoke the jsp? I had a (maybe) similar issue and learned that I cannot invoke JSPs directly (by browsing to the jsp url), but have to call an ".action" url instead. Best regards Wolfgang Am 26.03.25 um 09:37 schrieb Lidin NT: Hi all, I'm working on a Struts 7 application

Issue with ServletActionContext.getRequest() returning null in JSP (Struts 7)

2025-03-26 Thread Lidin NT
Hi all, I'm working on a Struts 7 application and facing an issue where userViewUtil is showing an empty value in JSP. Setup: I'm using and to create and set values in JSP: When I try to display the values, they are empty: Code Details: UserViewUtilWrapper Class: Th

Re: Issue with "Hello World Using Struts 2"

2023-12-08 Thread Dale Newfield
the class failed? Third > Something else I saw strikes me as odd. I’m getting an issue with > HelloWorldAction extending ActionSupport, where Netbeans isn’t seeing where > ActionSupport is defined, even though I’ve placed all the dependencies into > the app per the instructions. This als

Re: Issue with "Hello World Using Struts 2"

2023-12-08 Thread Dave Newton
this? > > > > Thanks, > > > > Ron > > > > Ron Ruffin > > *Web Software Developer V, SSDA* > > *Empower AI **(Formerly NCI)* > > Office: TBD | Mobile: 937.490.9754 > > *rruf...@empower.ai * > > > > > > *From:* Ruffin, R

Re: Issue with "Hello World Using Struts 2"

2023-12-08 Thread Dave Newton
Please subscribe to the list to receive emails (and save us from approving all the messages manually). On Fri, Dec 8, 2023 at 11:08 AM Dave Newton wrote: > I can't see the log4j.xml file so it's difficult to say why it might be > failing parsing. > > On Fri, Dec 8, 2023 at 11:06 AM Ruffin, Ronal

RE: Issue with "Hello World Using Struts 2"

2023-12-08 Thread Ruffin, Ronald
on Java JDK 8. What's a good fix for this? Thanks, Ron Ron Ruffin Web Software Developer V, SSDA Empower AI (Formerly NCI) Office: TBD | Mobile: 937.490.9754 rruf...@empower.ai<mailto:rruf...@empower.ai> From: Ruffin, Ronald Sent: Friday, December 8, 2023 11:03 To: user@struts.apach

Re: Issue with "Hello World Using Struts 2"

2023-12-08 Thread Dave Newton
I can't see the log4j.xml file so it's difficult to say why it might be failing parsing. On Fri, Dec 8, 2023 at 11:06 AM Ruffin, Ronald wrote: > Hi folks! > > > > I’m working my way through the basic Struts 2 tutorials, including “Hello > World using Struts 2”, and although I think I have everyt

RE: Issue with "Hello World Using Struts 2"

2023-12-08 Thread Ruffin, Ronald
Hi Struts folks!! Something else I saw strikes me as odd. I'm getting an issue with HelloWorldAction extending ActionSupport, where Netbeans isn't seeing where ActionSupport is defined, even though I've placed all the dependencies into the app per the instructions. Is there a

Issue with "Hello World Using Struts 2"

2023-12-08 Thread Ruffin, Ronald
Hi folks! I'm working my way through the basic Struts 2 tutorials, including "Hello World using Struts 2", and although I think I have everything set up as the tutorial recommends, when I run the app in Jetty, I get the attached stack trace, and when I try to open it my browser, I get the attac

Re: Issue with ExecuteAndWait when using Spring Session (Redis)

2023-09-25 Thread Burton Rhodes
se in this scenario. That said, I should have some time to investigate this issue further over the next few days and will report back. -- Original Message -- From "Dale Newfield" To "Dale Newfield" Cc "Struts Users Mailing List" Date 9/24/2023 12:32:08

Re: Issue with ExecuteAndWait when using Spring Session (Redis)

2023-09-24 Thread Dale Newfield
Depending on your deployment architecture, this exec and wait may no longer be the right strategy. Yes, by managing the executor pool you can bound how many non-http-serving threads (jobs) are executing concurrently on your web server's host, but it is all premised on using your own hardware.

Re: Issue with ExecuteAndWait when using Spring Session (Redis)

2023-09-23 Thread Dale Newfield
If it runs again then look at the logic where it's gotta decide whether this is the initial call or if the job is already running and this is just a status check. Is it looking at the request to figure that out? If so, and the expected info isn't found, walk the data path to figure out where i

Issue with ExecuteAndWait when using Spring Session (Redis)

2023-09-23 Thread Burton Rhodes
I am attempting to implement a centralized session store to an existing application using Spring Session (Redis) and Struts. I have everything working on a basic level, but I am running into an issue when a Struts Action uses ExecuteAndWait. The refresh attempts don't seem to pick up the runni

Re: Struts issue with getting response to the post request of the action class which works fine in postman but not in browser - Regarding

2023-05-16 Thread Lukasz Lenart
śr., 10 maj 2023 o 12:53 Vishnu Mahendiren napisał(a): > public String execute() throws IOException > { > if(request.getParameter("action") != null) > { > JSONObject responseJSON = new JSONObject(); > responseJSON.put("key", "value"); > response.setStatus(HttpStatus.SC_OK); > response.setContentTy

Struts issue with getting response to the post request of the action class which works fine in postman but not in browser - Regarding

2023-05-10 Thread Vishnu Mahendiren
Hi team, We are getting the below attached exceptions when we are using struts2-core-6.1.2.jar. We tested the action class using struts2-core-2.5.22.jar and struts2-core-2.5.30.jar. We are getting response properly when using those versions of struts. But when using struts2-core-6.1.2.jar, we are

Re: Struts 6 issue with struts2-jquery-plugin

2022-09-01 Thread Boris Petrov
Hi, thanks for the answer! Here is a reproduction repo: https://github.com/boris-petrov/struts-issue Clone the repo, run `./gradlew appStart`, open `http://localhost:8080/struts-issue` (or whatever the address is - it's printed in the console) and then check the `script` tag - it contains `fo

Re: Struts 6 issue with struts2-jquery-plugin

2022-08-31 Thread Lukasz Lenart
Hi Boris, Is there a chance to prepare a small app to reproduce this problem? It would help me debug the problem. Regards Łukasz pon., 29 sie 2022 o 09:52 Boris Petrov napisał(a): > > Hi all, > > I updated my Struts version to 6 and struts2-jquery-plugin to 5 (and > struts2-bootstrap-plugin to

Struts 6 issue with struts2-jquery-plugin

2022-08-29 Thread Boris Petrov
Hi all, I updated my Struts version to 6 and struts2-jquery-plugin to 5 (and struts2-bootstrap-plugin to 5 but I don't think that's relevant). I'm having troubles with the `escapeAmp` functionality. The following code:     indicator="loader%{id}"   parentTheme="bootstrap" button="fal

RE: Issue with migration 2.3.34 to 2.5.17

2018-09-30 Thread Yasser Zamani
t user@struts.apache.org<mailto:user@struts.apache.org> with your new findings. Regards. From: Mahendra Srivastava (mahsriva) Sent: Monday, October 1, 2018 8:33 AM To: iss...@struts.apache.org Subject: Re: Issue with migration 2.3.34 to 2.5.17 An Expected error has occurred. The compone

Re: Issue with struts tags

2017-04-15 Thread sharmila thota
I did add the same. Sent from my iPhone > On Apr 15, 2017, at 12:26 PM, Kiran wrote: > > Hi > > As a wild guess, did you add the jars in the build class path? > Did you add the struts taglib in the jsp? > > > >> On Apr 14, 2017, at 10:22 AM, sharmila thota wrote: >> >> Yaah he is using

Re: Issue with struts tags

2017-04-15 Thread Kiran
Hi As a wild guess, did you add the jars in the build class path? Did you add the struts taglib in the jsp? > On Apr 14, 2017, at 10:22 AM, sharmila thota wrote: > > Yaah he is using jdeveloper 12 version. > I am planning to upgrade mine too. Will see how it goes. > > Sent from my iPhone

Re: Issue with struts tags

2017-04-14 Thread sharmila thota
Yaah he is using jdeveloper 12 version. I am planning to upgrade mine too. Will see how it goes. Sent from my iPhone > On Apr 14, 2017, at 10:10 AM, Lukasz Lenart wrote: > > 2017-04-14 15:48 GMT+02:00 Sharmila Thota : >> Yes. I did clear the tmp folder under >> ..\AppData\Roaming\JDeveloper\sy

Re: Issue with struts tags

2017-04-14 Thread Lukasz Lenart
2017-04-14 15:48 GMT+02:00 Sharmila Thota : > Yes. I did clear the tmp folder under > ..\AppData\Roaming\JDeveloper\system11.1.2.4.39.64.36.1\DefaultDomain\servers\DefaultServer\tmp So it doesn't work in JDeveloper, right? Do you know Suresh Dhanapal? Looks like you are both working on the same ap

RE: Issue with struts tags

2017-04-14 Thread Sharmila Thota
: Issue with struts tags 2017-04-14 15:36 GMT+02:00 Sharmila Thota : > There is nothing in my temp folder, it is empty > ..\public_html\WEB-INF\temp I meant server's temp folder or work dir http://stackoverflow.com/questions/12301976/temporary-directories-in-weblogic-10 http://stacko

Re: Issue with struts tags

2017-04-14 Thread Lukasz Lenart
2017-04-14 15:36 GMT+02:00 Sharmila Thota : > There is nothing in my temp folder, it is empty > ..\public_html\WEB-INF\temp I meant server's temp folder or work dir http://stackoverflow.com/questions/12301976/temporary-directories-in-weblogic-10 http://stackoverflow.com/questions/1760069/where-is

RE: Issue with struts tags

2017-04-14 Thread Sharmila Thota
There is nothing in my temp folder, it is empty ..\public_html\WEB-INF\temp -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Friday, April 14, 2017 1:07 AM To: Struts Users Mailing List Subject: Re: Issue with struts tags but still cleaning up temp folder

RE: Issue with struts tags

2017-04-14 Thread Sharmila Thota
Hello Lucas, Good Morning! Yes, I did change DTD to 2.5 Thanks Sharmila -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Friday, April 14, 2017 1:06 AM To: Struts Users Mailing List Subject: Re: Issue with struts tags 2017-04-13 16:51 GMT+02:00 sharmila

Re: Issue with struts tags

2017-04-13 Thread Lukasz Lenart
Users Mailing List > Subject: RE: Issue with struts tags > > Just a wild guess, > try to delete tomcat/work directory. > If you use tomcat of course. > > > 13.04.2017 17:49 "Sharmila Thota" napisał(a): > >> Please some one help with this issue. >> &g

Re: Issue with struts tags

2017-04-13 Thread Lukasz Lenart
2017-04-13 16:51 GMT+02:00 sharmila thota : > I updated to 2.5.10.1 jars, and see the following compile errors on console: > > Error(6,6): The tag handler class was not found > "org.apache.struts2.views.jsp.ui.HiddenTag". Did you change DTD in struts.xml to match Struts 2.5? Regards -- Łukasz +

RE: Issue with struts tags

2017-04-13 Thread Sharmila Thota
I am using Weblogic no tomcat. Thanks though! -Original Message- From: Paweł Wielgus [mailto:poulw...@gmail.com] Sent: Thursday, April 13, 2017 2:19 PM To: Struts Users Mailing List Subject: RE: Issue with struts tags Just a wild guess, try to delete tomcat/work directory. If you use

RE: Issue with struts tags

2017-04-13 Thread Paweł Wielgus
day, April 13, 2017 10:51 AM > To: user@struts.apache.org > Subject: Issue with struts tags > > I updated to 2.5.10.1 jars, and see the following compile errors on > console: > > Error(6,6): The tag handler class was not found > "org.apache.struts2.views.jsp.ui.HiddenT

RE: Issue with struts tags

2017-04-13 Thread Sharmila Thota
Please some one help with this issue. -Original Message- From: sharmila thota [mailto:t.sharm...@gmail.com] Sent: Thursday, April 13, 2017 10:51 AM To: user@struts.apache.org Subject: Issue with struts tags I updated to 2.5.10.1 jars, and see the following compile errors on console

Issue with struts tags

2017-04-13 Thread sharmila thota
I updated to 2.5.10.1 jars, and see the following compile errors on console: Error(6,6): The tag handler class was not found "org.apache.struts2.views.jsp.ui.HiddenTag". Error(7,5): The tag handler class was not found "org.apache.struts2.views.jsp.IfTag". Error(8,12): The tag handler class was not

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Kiran
Thank you Lucasz for looking into this. Yes I Have all the setter and getter for all the properties. Its working now. I just need to give the whole path of the property in the s:select value attribute. Like value="%{diseasetracking.diagnosisDTO.primaryDiagnosis}" Because I have the property in t

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Lukasz Lenart
2017-04-03 16:04 GMT+02:00 Kiran Kongala : > > listKey=*"dstLookupTypeId"* > Do you have a getter for this value? getDstLookupTypeId() ? > listValue=*"lookupValue"* > Same here, do you have a getter? getLookupValue() ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ PS. Do not inl

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Kiran Kongala
Hi Lukasz, Thank you for helping. I am new to Struts2. What are the other attributes I need to use if not listkey and listvalue. In my example, I defined the select as below with name as diagnosisDTO.primaryDiagnosis and list as primaryDiagnosisTypes which is an object which has dstLookupTypeID as

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Lukasz Lenart
2017-04-02 22:58 GMT+02:00 Kiran Kongala : > Hi Lulasz, > > > *I am not comparing the same objects.I am trying to compare the String to > a constant String.Still do I need to override the equals and hashCode > methods.* > > *I added a tag in the jsp and I see the values.But the value > doesnt set

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-02 Thread Kiran Kongala
Hi Paul, I added as you said in the jsp with value. And below is the view source code for the drop down. But I don't see the 536 option as selected. I can see that value in the value stack as shown in the previous email. Please Select Chronic Hepatitis C Chronic Hepatitis

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-02 Thread Kiran Kongala
Hi Lulasz, *I am not comparing the same objects.I am trying to compare the String to a constant String.Still do I need to override the equals and hashCode methods.* *I added a tag in the jsp and I see the values.But the value doesnt set the value back to the s:select drop down list.* *The belo

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-02 Thread Paul Zepernick
I notice that you are using the # notation to access the property. Does it work without it? It seems like something is not available on the action. You could add value="#diagnosisDTO.primaryDiagnosis" to your select and it will pull from the value stack just like the property did instead of s

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-02 Thread Lukasz Lenart
Did you implement hashCode and equals? You are comparing objects not Strings Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2017-04-02 5:55 GMT+02:00 Kiran Kongala : > Hi, > > Before calling the return "success" in the action method I added couple of > println statements and I am

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-01 Thread Kiran Kongala
Hi, Before calling the return "success" in the action method I added couple of println statements and I am seeing the data for the dropdown and below are the values diseasetracking: DiseaseTracking: dstId = 2048 DstCodeId = HPC paID = 2 memberID = 100 memberIdentTypeID = 1 memberAddressID =

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-01 Thread Paul Zepernick
What happens when you use a s:property to evaluate diagnosisDTO.primaryDiagnosis? If you do not get a value, then check to make sure the path is right or that something is not wrong in your action that is populating it. Also verify that the key property in your list is the same type as the va

Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-01 Thread Kiran Kongala
Hi, I am trying to use the Struts2 s:select tag but the drop down value coming from the db is not being set to the drop down as selected value and the screen always shows the default first value in the list. Can some one please help me. *JSP Code* *Action Class Code* *I have Disease Trackin

Re: issue with getting current date using date tag in latest struts 2.3.3X

2017-03-13 Thread Christoph Nenning
017 00:21 > Subject: Re: issue with getting current date using date tag in > latest struts 2.3.3X > > Hi Dave, > it was working find from earlier version, here is the discussion > thread from coderanch. > formatDate & i18nInt

Re: issue with getting current date using date tag in latest struts 2.3.3X

2017-03-10 Thread Vishal Jhagadiawala
Hi Dave, it was working find from earlier version, here is the discussion thread from coderanch. formatDate & i18nInteceptor (Struts forum at Coderanch) | | | | || | | | | | formatDate & i18nInt... In my tiles to display the date on the header of each page I am us

Re: issue with getting current date using date tag in latest struts 2.3.3X

2017-03-10 Thread Dave Newton
multiple times. If I were guessing (which I am; sorry) I'd say it's related to the evaluation of parameter names in OGNL. Unrelated, but making this work correctly seems like a win. Dave On Fri, Mar 10, 2017 at 10:59 AM, Vishal Jhagadiawala < vish_...@yahoo.com.invalid> wrote: &

Re: issue with getting current date using date tag in latest struts 2.3.3X

2017-03-10 Thread Lukasz Lenart
2017-03-10 16:59 GMT+01:00 Vishal Jhagadiawala : > Hi,I am having issue with following date tag, after upgrading to struts 2.3.30 > > > it shows no value in the UI page. > Question: was there usage of OGNL expression changed in latest version of > struts2. eg. 2.3.30, the

issue with getting current date using date tag in latest struts 2.3.3X

2017-03-10 Thread Vishal Jhagadiawala
Hi,I am having issue with following date tag, after upgrading to struts 2.3.30 it shows no value in the UI page.  Question: was there usage of OGNL expression changed in latest version of struts2. eg. 2.3.30,  the above usage works without issue in Struts2 2.2.1 any help would be appreciated

Issue with Struts2 Submit action attribute in Struts2 and Rest Plugin

2017-02-28 Thread Kiran Kongala
Hi, I have a Enterprise java application and we are using Struts1.2 & struts2-core-2.3.14.jar and everything is fine. But now I want to use the Rest Plugin and I copied the rest plugin (struts2-rest-plugin-2.3.14.jar) and made the below changes in the Struts.xml file. Currently I am not using th

Re: DMI issue with struts 2.3.29 in tomcat

2016-07-07 Thread Vidula Hasaranga
Yes, That fixed my issue. I am going to convert the Codebehind to Convention now. But app is working well now with suggested changes. Thank you very much for the support. Regards, Vidula. Vidula Hasaranga Consultant Technology [image: ACCELaero]

Re: DMI issue with struts 2.3.29 in tomcat

2016-07-07 Thread Lukasz Lenart
It's a bug related to this change [1] and this commit [2] and the problem is here [3] & [4]. The best option is to migrate to the Convention plugin instead of using deprecated Codebehind or define you own JSONResult as follow: public class MyJSONResult extends JSONResult { public static final

Re: DMI issue with struts 2.3.29 in tomcat

2016-07-07 Thread Vidula Hasaranga
Yes, making the file rename to struts.xml and putting that in WEB-INF/classes folder resolved the 404 issue that I had. But now it gives a different error with code 500. Console log is as follows: 07-Jul-2016 14:48:33.430 SEVERE [http-nio-7070-exec-4] com.opensymphony.xwork2.util.logging.commons.

Re: DMI issue with struts 2.3.29 in tomcat

2016-07-06 Thread Lukasz Lenart
2016-07-06 9:19 GMT+02:00 Vidula Hasaranga : > web.xml > > > struts2 > > org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter > > config > struts-default.xml, >

Re: DMI issue with struts 2.3.29 in tomcat

2016-07-06 Thread Vidula Hasaranga
I changed my struts-config to below, but still no luck. ** *http://struts.apache.org/dtds/struts-2.3.dtd ">* ** * * * * * * ** Anyway thanks for the help. Regards, Vidula Hasaranga Consultant Technology [image: ACCELaero]

DMI issue with struts 2.3.29 in tomcat

2016-07-06 Thread Vidula Hasaranga
My web app uses struts 2.3.15 and deployed in tomcat 7.0.47 (and in tomcat 8.0.15 too). I have used most of the calls using DMI (Dynamic Method Invocation) using urls like /testapp/userspace/user!getRole.action Now I have updated the application to struts version 2.3.29 and any of the DMI methods

Re: DMI issue with struts 2.3.29 in tomcat

2016-07-06 Thread Lukasz Lenart
2016-07-06 13:22 GMT+02:00 Vidula Hasaranga : > No, I am not using getters, but some simple methods like searchUser(), > searchUserForUsername(), etc. Even the getRole() given as an example is not > a getter method, but it query the DB as per the logged in user to get roles. By convention it is a

Re: DMI issue with struts 2.3.29 in tomcat

2016-07-06 Thread Vidula Hasaranga
No, I am not using getters, but some simple methods like searchUser(), searchUserForUsername(), etc. Even the getRole() given as an example is not a getter method, but it query the DB as per the logged in user to get roles. Can it be an incompatibility with struts version and tomcat since struts.e

Re: DMI issue with struts 2.3.29 in tomcat

2016-07-06 Thread Lukasz Lenart
2016-07-06 12:25 GMT+02:00 Vidula Hasaranga : > My web app uses struts 2.3.15 and deployed in tomcat 7.0.47 (and in tomcat > 8.0.15 too). I have used most of the calls using DMI (Dynamic Method > Invocation) using urls like /testapp/userspace/user!getRole.action Probably because you are using gett

DMI issue with struts 2.3.29 in tomcat

2016-07-06 Thread Vidula Hasaranga
My web app uses struts 2.3.15 and deployed in tomcat 7.0.47 (and in tomcat 8.0.15 too). I have used most of the calls using DMI (Dynamic Method Invocation) using urls like /testapp/userspace/user!getRole.action Now I have updated the application to struts version 2.3.29 and any of the DMI methods

Re: Issue with jakarta-stream multipart parser

2016-01-07 Thread Christoph Nenning
> > Please create a jira issue for that. > > I see one was done yesterday along with a fix, also resolving the > related issue when a file field in a form is empty. > > https://issues.apache.org/jira/browse/WW-4583 > That's great! So you can either wait for next release or use a snapshot build

Re: Issue with jakarta-stream multipart parser

2016-01-07 Thread Stephen H
On 07/01/2016 09:42, Christoph Nenning wrote: Please create a jira issue for that. I see one was done yesterday along with a fix, also resolving the related issue when a file field in a form is empty. https://issues.apache.org/jira/browse/WW-4583

Re: Issue with jakarta-stream multipart parser

2016-01-07 Thread Christoph Nenning
xception it gets added to > the errors as-is I believe. > > In JakartaStreamMultiPartRequest.createTemporaryFile() appending an > extra '_' to the prefix for the case when it has a length of less than 3 > seems to resolve the issue with no side-effects from what I can

Re: Issue with jakarta-stream multipart parser

2016-01-05 Thread Stephen H
ed to the errors as-is I believe. In JakartaStreamMultiPartRequest.createTemporaryFile() appending an extra '_' to the prefix for the case when it has a length of less than 3 seems to resolve the issue with no side-effects from what I can tell. Cheers, Stephen. On 05/01/2016 16:45,

RE: Issue with jakarta-stream multipart parser

2016-01-05 Thread Martin Gainty
.apache.org/dist/struts/2.3.24.1/ is the struts 2.3.4.1 you are working with Martin __ > To: user@struts.apache.org > From: stephen+li...@jiglu.com > Su

Issue with jakarta-stream multipart parser

2016-01-05 Thread Stephen H
I'm having a problem using the jakarta-stream multipart parser when a filename is used that is just a single character long excluding the suffix. This triggers a check in java.io.File.createTempFile that ensures that a supplied prefix must be at least three characters long: java.lang.IllegalAr

Re: Need help in fixing issue with Url refresh

2015-06-12 Thread Christoph Nenning
> From: Preetham Mallavarapu > To: Struts Users Mailing List , > Date: 12.06.2015 09:38 > Subject: Re: Need help in fixing issue with Url refresh > > HI Christoph, > > Sorry for the delayed response. > > Thanks a lot for your assistance on this issue. Now its w

Re: Need help in fixing issue with Url refresh

2015-06-12 Thread Preetham Mallavarapu
r cookies. > > > > Regards, > Christoph > > > > > > From: Preetham Mallavarapu > > To: Struts Users Mailing List , > > Date: 09.06.2015 17:49 > > Subject: Re: Need help in fixing issue with Url refresh > > > > Hi Christoph, > &

Re: Need help in fixing issue with Url refresh

2015-06-10 Thread Christoph Nenning
ts Users Mailing List , > Date: 09.06.2015 17:49 > Subject: Re: Need help in fixing issue with Url refresh > > Hi Christoph, > > Thanks for your quick response..I am briefing the issue once again.. > > > The inital flow was like this before... > > I have logi

Re: Need help in fixing issue with Url refresh

2015-06-09 Thread Preetham Mallavarapu
Mailing List , > > Date: 09.06.2015 16:27 > > Subject: Re: Need help in fixing issue with Url refresh > > > > Hi Christoph, > > > > I have tried working in the way login-post-request (using > > redirectAction)..It successfully redirects to the required pa

Re: Need help in fixing issue with Url refresh

2015-06-09 Thread Christoph Nenning
> From: Preetham Mallavarapu > To: Struts Users Mailing List , > Date: 09.06.2015 16:27 > Subject: Re: Need help in fixing issue with Url refresh > > Hi Christoph, > > I have tried working in the way login-post-request (using > redirectAction)..It successfully red

Re: Need help in fixing issue with Url refresh

2015-06-09 Thread Preetham Mallavarapu
Mailing List , >> > Date: 08.06.2015 11:00 >> > Subject: Need help in fixing issue with Url refresh >> > >> > Hi, >> > >> > I have a problem in my struts2 app when I try to refresh url >> > >> > Below is the url I am trying to

Re: Need help in fixing issue with Url refresh

2015-06-08 Thread Preetham Mallavarapu
gt; > Subject: Need help in fixing issue with Url refresh > > > > Hi, > > > > I have a problem in my struts2 app when I try to refresh url > > > > Below is the url I am trying to refresh.. > > > > when user logs in then the *checkUser* method will be

Re: Need help in fixing issue with Url refresh

2015-06-08 Thread Christoph Nenning
> From: Preetham Mallavarapu > To: Struts Users Mailing List , > Date: 08.06.2015 11:00 > Subject: Need help in fixing issue with Url refresh > > Hi, > > I have a problem in my struts2 app when I try to refresh url > > Below is the url I am trying to refresh.. &

Need help in fixing issue with Url refresh

2015-06-08 Thread Preetham Mallavarapu
Hi, I have a problem in my struts2 app when I try to refresh url Below is the url I am trying to refresh.. when user logs in then the *checkUser* method will be called in the LoginManager class and if it is a successfull login the home page will be called having the below one as the url.. http:

Re: Migration to 2.3.20 - Issue with UnknownHandler and ConventionPlugin

2014-12-19 Thread Thim Anneessens
I suspected this was an oversigth. Looking forward for the definitive fix. Thanks for the feedback Łukasz. Best regards, Thim. On 12/19/2014 09:56 AM, Lukasz Lenart wrote: Thanks Tim! Great that you was able to find the same solution as described here [1] - to put some more details here: - th

Re: Migration to 2.3.20 - Issue with UnknownHandler and ConventionPlugin

2014-12-19 Thread Lukasz Lenart
Thanks Tim! Great that you was able to find the same solution as described here [1] - to put some more details here: - the issue was with default implementation of UnknownHandler which was throwing NPE by default (throw null) - that's why everything was fine before 2.3.20, DefaultActionInvocation

Migration to 2.3.20 - Issue with UnknownHandler and ConventionPlugin

2014-12-18 Thread Thim Anneessens
After a little fiddling we succeeded to migrate from 2.3.16 to 2.3.20. Everything seemed fine until we had an exception in one action and noticed that something had changed. Exception thrown from an action got lost. It did not reach the interceptor in charge of exception handling because...

Issue with doubleselect

2014-06-29 Thread Wasil Zafar
Hi Folks, I'm using Struts 2.3.15.1 While using doubleselect tag in a JSP as below *State and District * Which has an Action class : *public class HelloWorld extends ActionSupport implements RequestAware { private Map requestMap;publi

Re: Broken Compatibility issue with ParameterNameAware when upgrading

2014-03-28 Thread Lukasz Lenart
ave read and it seams, that i have to wait for version 2.3.17, right? > > regards, > Thomas > > > > > > > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/Broken-Compatibility-issue-with-ParameterNameAware-when-upgrading-tp5715110p571560

Re: Broken Compatibility issue with ParameterNameAware when upgrading

2014-03-28 Thread thomas.hill
this message in context: http://struts.1045723.n5.nabble.com/Broken-Compatibility-issue-with-ParameterNameAware-when-upgrading-tp5715110p5715604.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: Broken Compatibility issue with ParameterNameAware when upgrading

2014-03-28 Thread Lukasz Lenart
for param names (no using of dots)? > > regards, > Thomas > > > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/Broken-Compatibility-issue-with-ParameterNameAware-when-upgrading-tp5715110p5715598.html > Sent from the Struts - User mailing

Re: Broken Compatibility issue with ParameterNameAware when upgrading

2014-03-28 Thread thomas.hill
n "session", "bean" and "firstname". Is this a bug or a feature? There are any restrictions for param names (no using of dots)? regards, Thomas -- View this message in context: http://struts.1045723.n5.nabble.com/Broken-Compatibility-issue-with-ParameterNameAware-wh

Re: Broken Compatibility issue with ParameterNameAware when upgrading

2014-01-20 Thread Lukasz Lenart
Great! Fill free to post your comments here or in jira! 2014/1/20 sma...@gmail.com : > That sounds exactly like the problem. Unless I was having completely > different backwards compatibility issues that were since fixed in 2.3.16, > the issue goes back a good bit further than described in the t

Re: Broken Compatibility issue with ParameterNameAware when upgrading

2014-01-20 Thread sma...@gmail.com
That sounds exactly like the problem. Unless I was having completely different backwards compatibility issues that were since fixed in 2.3.16, the issue goes back a good bit further than described in the ticket from what I have been seeing. I hope ya'll haven't been barking up the wrong tree for

  1   2   3   4   5   >