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

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

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

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread Wolfgang Knauf
Hi, the error "java.lang.NullPointerException: Cannot invoke "org.apache.struts2.ActionInvocation.getProxy()" because "invocation" is null" sounds like a problem that I ran into: https://issues.apache.org/jira/browse/WW-5475 Do you by any chance call JSP pages directly, instead of invoking an

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
I have also tried using Tomcat 11, but I’m still facing the same issue. Could you please provide a sample code migrated to Jakarta? On Thu, 17 Apr, 2025, 6:25 pm M Huzaifah, wrote: > Hii Shakar, > > Could you please try to use tomcat 11. > > I faced issue about file upload using tomcat 11. > > R

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread M Huzaifah
Hii Shakar, Could you please try to use tomcat 11. I faced issue about file upload using tomcat 11. Regards On Thu, Apr 17, 2025, 2:06 PM shankar sawate wrote: > Hi Team, > > If you have any sample code related to Jakarta migration, please share it > with me — it would be really helpful. >

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
Hi Team, If you have any sample code related to Jakarta migration, please share it with me — it would be really helpful. On Thu, Apr 17, 2025 at 12:30 PM shankar sawate wrote: > And I face this issue after deploying. > > 17-Apr-2025 12:28:09.568 SEVERE [http-nio-8083-exec-1] > org.apache.ca

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
And I face this issue after deploying. 17-Apr-2025 12:28:09.568 SEVERE [http-nio-8083-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [/jakartaDemo_war_exploded] threw exception [java.lang.NullPointerException: Cannot invoke "

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread shankar sawate
Thank you for your response. I'm using NetBeans 17 as the IDE, with Java 21, and running the application on Tomcat 10.0.20. The issue occurs when I try to run the web application from within the IDE. NetBeans shows the following error when the issue occurs: The s:form tag declares that it accept

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread Lukasz Lenart
wt., 15 kwi 2025 o 09:57 shankar sawate napisał(a): > While migrating to Struts 7.0.0, I'm encountering an issue when using the > tag. Even though the tag is present like this > > jsp > <%%> > I’m getting the following warning or error: > > The s:form tag declares that it accepts dynamic attr

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread shankar sawate
Please help us in this issue On Wed, 16 Apr, 2025, 10:17 pm Tellis, Wyatt, wrote: > I see similar warnings when using NetBeans to edit JSPs that contain > Struts tags. However, these JSPs seem to compile just fine. Does anyone > know what causes these warning messages? > > Wyatt > _

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread Tellis, Wyatt
I see similar warnings when using NetBeans to edit JSPs that contain Struts tags. However, these JSPs seem to compile just fine. Does anyone know what causes these warning messages? Wyatt From: shankar sawate Sent: Monday, April 14, 2025 11:39 PM To: user@strut

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

Re: Issue with "Hello World Using Struts 2"

2023-12-08 Thread Dale Newfield
> > > > > > > Btw, I’m running on Java JDK 8. What’s a good fix for this? > > > > > > > > Thanks, > > > > > > > > Ron > > > > > > > > Ron Ruffin > > > > *Web Software Developer V, SSDA* &

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 way to address t

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

Re: Issue on sj:datepicker tag on Struts2 6.0.x version

2022-11-11 Thread Lukasz Lenart
pt., 11 lis 2022 o 08:33 K M napisał(a): > > Hi, > > It seems i cannot get /struts/js/calendar.gif image when i use > tag. > Would anyone help on this ? Static content is served from /static path (it has changed some time ago), /struts isn't supported to avoid exposing internal info (like you ar

Re: Issue in Struts (login.jsp)

2022-07-28 Thread Lukasz Lenart
Sorry, but I can't help you more, I haven't been using Struts 1 for over 10 years now. czw., 28 lip 2022 o 16:42 Deepak Lalchandani napisał(a): > > Hi Lukaz, >i did all the steps which was required but still facing issue > as below,please help.. > > org.apache.jasper.JasperExcep

Re: Issue in Struts (login.jsp)

2022-07-28 Thread Deepak Lalchandani
Hi Lukaz, i did all the steps which was required but still facing issue as below,please help.. org.apache.jasper.JasperException: Unable to find taglib [bean] for URI: [/tags/struts-bean] > > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54) > >

Re: Issue in Struts (login.jsp)

2022-07-27 Thread Lukasz Lenart
Posting the same question three times won't help, please stop doing it! Apache Struts 1 is EOF [1] and you shouldn't use it for a new kind of development and expect any kind of support. Searching internet can help [2] [1] https://struts.apache.org/struts1eol-announcement.html [2] https://mkyong.c

Re: Issue in Struts (login.jsp)

2022-07-26 Thread Deepak Lalchandani
Please help me with below issue ? On Wed, 27 Jul 2022, 12:28 am Deepak Lalchandani, wrote: > Hi Struts users , > I am facing error as below .Please help me to fix this issue > > > Im Getting error.as below > > Servlet.service() for servlet [jsp] in context with path [/MyProjectTool] > threw

Re: Issue upgrading to Struts 6.0

2022-07-26 Thread Lukasz Lenart
Ok, so it's related to this issue https://issues.apache.org/jira/browse/WW-5185 an easy workaround is this org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG /WEB-INF/tiles.xml more details in this thread https://lists.apache.org/thread/v0sroj52gg5ok3rpcyxdlqrhkrz51q9d

Re: Issue upgrading to Struts 6.0

2022-07-26 Thread A Name
Lukasz, We are currently using all the libraries we need from the 6.0.0 release, including the tiles plugin when we get the error dump I provided. We've checked all the struts libraries and they are at the current versions. We also have read the migration guide and the internal notes and not foun

Re: Issue upgrading to Struts 6.0

2022-07-26 Thread Lukasz Lenart
Please do not use the old plugin, it isn't compatible with Struts 6.0.0. Run the application with the proper version of the plugin and report any warnings. Have you read the migration guide? Also did you notice internal changes https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.0.0#Vers

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-11-01 Thread Lukasz Lenart
niedz., 1 lis 2020 o 14:25 Peer Mohammad napisał(a): > > I have not used Xwork, index.jsp has name="cheetta.login" flush="true"/> and cheetta.login is given in struts.xml > with action class.This setup is working last 7 years on struts2.3.35 . You are not using Xwork directly but you have xwork

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-11-01 Thread James Chaplin
Hello Peer. I am not sure if any of these suggestions will help or not, but you never know. There is a blog post (http://www.programmers-code.org/2017/10/23/struts-tiles-locale-resolver-cannot-obtain-httpservletrequest/) that mentions receiving similar errors due to request.getAttribute("x") ca

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-11-01 Thread Peer Mohammad
I have not used Xwork, index.jsp has and cheetta.login is given in struts.xml with action class.This setup is working last 7 years on struts2.3.35 . Note sure why its failing on upgraded version.I debugged and saw that Valustack returning null for the request. Thanks & Regards, Peer M Ansari O

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-29 Thread Lukasz Lenart
czw., 29 paź 2020 o 11:24 Peer Mohammad napisał(a): > list of jars for Strust2.5.22 > > struts2-core 2.5.22 > freemarker -2.3.30 > xwork-core -2.3.37 As I said, this is not needed, XWork was merged into Struts Core, you are duplicating classes now > Caused by: There is no ActionContext for curre

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-29 Thread Peer Mohammad
Hi, I am using maven to control dependencies and i have doubt on struts2-tiles-plugin jar which has many new library class,not sure if something need to implement. I am using version in dtd in tiles.xml. Please find the list of dependencies for struts2.3.35 (working fine) and struts2.5.22(upgr

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-28 Thread Lukasz Lenart
śr., 28 paź 2020 o 11:55 Peer Mohammad napisał(a): > Please find the web.xml and struts.xml file. I have observed that many > library classes are not available in strut2-tiles-plugin file and xwork some > package in struts-core-2.5.22 compare to struts2.3.35. Not sure what do you mean by that?

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-28 Thread Peer Mohammad
Hi, Please find the web.xml and struts.xml file. I have observed that many library classes are not available in strut2-tiles-plugin file and xwork some package in struts-core-2.5.22 compare to struts2.3.35. I am not accessing jsp file directly. Kindly check and the web.xml and struts.xml and gui

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-01 Thread Lukasz Lenart
czw., 1 paź 2020 o 22:00 Peer Mohammad napisał(a): > I have followed the above mentioned guide and i had removed the XWork as > well,But error remains the same. I am trying last 45 days to resolve this > issue but able to resolve yet. Any suggestion/guidance will be appreciable. Can you share y

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-01 Thread Peer Mohammad
On 2020/09/28 11:17:50, Lukasz Lenart wrote: > pon., 28 wrz 2020 o 12:35 Peer Mohammad napisał(a): > > > > Hi Team, > > > > I am getting error while migrating Struts2.3.35 to Struts2.5.22 as "There > > is no ActionContext for current request! - [unknown location]" > > console log: ERROR Stru

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-10-01 Thread Peer Mohammad
On 2020/09/28 11:17:50, Lukasz Lenart wrote: > pon., 28 wrz 2020 o 12:35 Peer Mohammad napisał(a): > > > > Hi Team, > > > > I am getting error while migrating Struts2.3.35 to Struts2.5.22 as "There > > is no ActionContext for current request! - [unknown location]" > > console log: ERROR Stru

Re: Issue in migration from struts2.3.35 to struts2.5.22

2020-09-28 Thread Lukasz Lenart
pon., 28 wrz 2020 o 12:35 Peer Mohammad napisał(a): > > Hi Team, > > I am getting error while migrating Struts2.3.35 to Struts2.5.22 as "There is > no ActionContext for current request! - [unknown location]" > console log: ERROR StrutsTilesLocaleResolver cannot obtain HttpServletRequest > from [

Re: Issue adding filter to struts2-archetype-starter project

2020-05-09 Thread James Chaplin
Hello Jonathan. As the other replies have pointed out, your code is using/extending "import java.nio.file.DirectoryStream.Filter;". That is an import for a file directory filter, and not a servlet filter. You will want to replace the old import statement with "import javax.servlet.F

Re: Issue adding filter to struts2-archetype-starter project

2020-05-05 Thread M Huzaifah
Eyou should use interface Filter in servlet package. Not from nio package On Tue, May 5, 2020, 22:40 Dave Newton wrote: > `import java.nio.file.DirectoryStream.Filter` is not a servlet filter. > > Dave >

Re: Issue adding filter to struts2-archetype-starter project

2020-05-05 Thread Dave Newton
`import java.nio.file.DirectoryStream.Filter` is not a servlet filter. Dave

Re: Issue adding filter to struts2-archetype-starter project

2020-05-04 Thread Lukasz Lenart
Do you see any errors while you starting Tomcat? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache

RE: Issue : Binding Integer Array upon form submission

2019-03-19 Thread Yasser Zamani
Hi Muhammad, I tested your sample exactly and works as expected here (setRfaAccessType(Integer[] rfaAccessType) called with ticked values). The first thing you can do is enabling devMode and log level to warn and looking output for any relevant warnings. If not try debug level. Thanks for usin

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
Yes. I did clear the tmp folder under ..\AppData\Roaming\JDeveloper\system11.1.2.4.39.64.36.1\DefaultDomain\servers\DefaultServer\tmp -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Friday, April 14, 2017 9:39 AM To: Struts Users Mailing List Subject: Re

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
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. > > -Original Message- > From: sharmila thota [mailto:t.sharm...@gmail.com] > Sent: Thursday, April 13, 2017 10:51 A

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: Erro

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

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
I'm surprised that worked, since it's supposed to be the name of the date property you want to display. Maybe it was introspecting to see if it was an immediate date value, but that's deceptive and counter-intuitive. In any case, that's a large version jump. OGNL was updated multiple times. If I w

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 above usage works witho

Re: Issue in autowiring spring beans from parent context

2016-08-07 Thread Sreekanth S. Nair
I could shown little more patience :-) the problem solved, i was missing context:componentscan missing for my web applicationContext file. On Sun, Aug 7, 2016 at 1:32 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Recently i tried to move some of the serv

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
> The error message comes from the IllegalArgumentException thrown by > java.io.File.createTempFile() - it doesn't feature in the Struts > distribution at all. Because there's no entry in > struts-messages.properties for > struts.messages.upload.error.IllegalArgumentException it gets added to

Re: Issue with jakarta-stream multipart parser

2016-01-05 Thread Stephen H
The error message comes from the IllegalArgumentException thrown by java.io.File.createTempFile() - it doesn't feature in the Struts distribution at all. Because there's no entry in struts-messages.properties for struts.messages.upload.error.IllegalArgumentException it gets added to the errors

RE: Issue with jakarta-stream multipart parser

2016-01-05 Thread Martin Gainty
difficulty locating error message "Prefix string too short" If I download struts-2.3.4.1 and expand struts2-2.3.4.1 from https://www.apache.org/dist/struts/2.3.24.1/ struts2-2.3.24.1>grep -S -l "Prefix string too short" *there are no hits? Please confirm https://www.apache.org/dist/struts/2.3.24

Antwort: Re: Re: issue with devMode changes in 2.3.16

2014-01-02 Thread Christoph Nenning
> > > > I mean to add a note when devMode is enabled via a > > CustomConfigurationProvider that config and resource reloading is not > > enabled automatically. > > > > At least if you don't remove default values. > > Can you register an issue for that? > > https://issues.apache.org/jira/browse/

Re: Re: issue with devMode changes in 2.3.16

2013-12-31 Thread Lukasz Lenart
2013/12/30 Christoph Nenning : >> > Is that behavior intended? >> >> Yes, please check version notes >> >> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.3.16 >> >> > Would you mind to add a note about that to the wiki? >> >> >> https://cwiki.apache.org/confluence/display/WW/devMode

Antwort: Re: issue with devMode changes in 2.3.16

2013-12-30 Thread Christoph Nenning
> > Is that behavior intended? > > Yes, please check version notes > > https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.3.16 > > > Would you mind to add a note about that to the wiki? > > > https://cwiki.apache.org/confluence/display/WW/devMode#devMode- > Pagerenderingisslow >

Re: issue with devMode changes in 2.3.16

2013-12-30 Thread Lukasz Lenart
2013/12/30 Christoph Nenning : > Dear List, > > > in some applications we use a custom ConfigurationProvider to use our own > stage specific config to enable devMode automatically for development > stages. > > In struts 2.3.16 devMode was changed to allow disabling of e.g. config > reloading or res

Re: Issue with Struts 2 + Tiles

2013-10-03 Thread Lukasz Lenart
2013/10/4 Srineel Mazumdar : > Hi, > > Yes.. On further research i found that i am using strut2-tile-plugin2.0.6 > which requires TilesListener which is present in tiles-core-2.0.3. . Now I > am getting : > > Caused by: java.lang.ClassNotFoundException: org.apache.tiles.TilesException > at > org.ap

Re: Issue with Struts 2 + Tiles

2013-10-03 Thread Srineel Mazumdar
Hi, Yes.. On further research i found that i am using strut2-tile-plugin2.0.6 which requires TilesListener which is present in tiles-core-2.0.3. . Now I am getting : Caused by: java.lang.ClassNotFoundException: org.apache.tiles.TilesException at org.apache.catalina.loader.WebappClassLoader.loadCl

Re: Issue with Struts 2 + Tiles

2013-10-03 Thread Lukasz Lenart
2013/10/4 Srineel Mazumdar : > Hi, > > I am trying to implement Tiles2 with Struts 2. It works when I > give org.apache.tiles.web.startup.TilesListener in web.xml but creates > problem when I try tyo use Struts2TilesListener(error : cannot find > TilesListener) > > Is my workaround correct or I am

Re: Issue with parameters with Struts 2.3.15.1

2013-08-02 Thread Thim Anneessens
Ok, i'll test this and I'll come back to you. Thanks. On 08/01/2013 04:00 PM, Lukasz Lenart wrote: Can you test with the latest SNAPSHOT? This can be related to https://issues.apache.org/jira/browse/WW-4142 And you can di

Re: Issue with parameters with Struts 2.3.15.1

2013-08-01 Thread Lukasz Lenart
Can you test with the latest SNAPSHOT? This can be related to https://issues.apache.org/jira/browse/WW-4142 And you can directly use DefaultActionMapper from 2.3.15.1, just copy the code and define your custom Action mapper as specified in the docs. Regards -- Łukasz + 48 606 323 122 http://www

Re: Issue with entry in Struts.xml

2012-11-18 Thread Srineel Mazumdar
Thanks Dave.You got it right. So you are saying that if I want to forward the output of an action to another action , I should use redirect action?? I will search for the filter option. Regards, Srineel On Mon, Nov 19, 2012 at 1:13 AM, Dave Newton wrote: > > This entry is working: > > > > >

Re: Issue with entry in Struts.xml

2012-11-18 Thread Dave Newton
> This entry is working: > > > /WEB-INF/jsp/index.jsp > > > This entry is not: > > > /shop/index.action > It's not entirely clear what the question is, but in case the statement is actually "why", I'll answer. The first result forwards to a JSP. The second attempts to forward to an action

Re: Issue with maven archetypes - jetty plugin version 8 not refreshing JSPs

2012-11-07 Thread Miguel Almeida
A follow-up on this. I was able to identify the root cause of this issue. While this is a bit specific to our use case, I share this with the community nonetheless. This was basically caused by the timestamps of the files. My work directory is an NFS mount of another server. For some strange reaso

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Hi, I could make some progress after keeping the struts.xml manually in classes folder but the issue is again coming for other action. Currently working on it . Thanks a ton for your help !! This is the screen I am getting on hitting index.do [image: Inline image 1] On Tue, Nov 6, 2012 at

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Spring Tool Suite. Right click -> Run On Server. Let me recheck all configurations and revert back to you. Thanks, Srineel On Tue, Nov 6, 2012 at 9:10 PM, Lukasz Lenart wrote: > 2012/11/6 Srineel Mazumdar > > > Hi, > > > > http://localhost:8081/NewPetstore/shop/index.action > > > > http://lo

Re: Issue with running Struts2 project

2012-11-06 Thread Lukasz Lenart
2012/11/6 Srineel Mazumdar > Hi, > > http://localhost:8081/NewPetstore/shop/index.action > > http://localhost:8081/NewPetstore/shop/addItemToCart.action > > Also I noticed that struts.xml is missing in classes folder. Do you think > thats the issue ? > For sure ;-) What IDE do you use ? How do y

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Hi, http://localhost:8081/NewPetstore/shop/index.action http://localhost:8081/NewPetstore/shop/addItemToCart.action Also I noticed that struts.xml is missing in classes folder. Do you think thats the issue ? Regards, Srineel On Tue, Nov 6, 2012 at 9:03 PM, Lukasz Lenart wrote: > 2012/11/6 Sr

Re: Issue with running Struts2 project

2012-11-06 Thread Lukasz Lenart
2012/11/6 Srineel Mazumdar > Hi, > > Stacktraces > *There is no Action mapped for namespace /shop and action name index. - > What url do you call ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

  1   2   3   >