Aw: Re: Sample JSP using Error and Exception Values without exception.message

2025-06-10 Thread Ute Kaiser
Lukasz, thank you for updating the documentation. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Sample JSP using Error and Exception Values without exception.message

2025-06-02 Thread Lukasz Lenart
pt., 30 maj 2025 o 19:45 Ute Kaiser napisał(a): > https://struts.apache.org/core-developers/exception-configuration > > I tried the "Sample JSP using Error and Exception Values" > but was not displayed. > > Some error in my config, or outdated? There is a bug in the

Sample JSP using Error and Exception Values without exception.message

2025-05-30 Thread Ute Kaiser
Hi, https://struts.apache.org/core-developers/exception-configuration I tried the "Sample JSP using Error and Exception Values" but was not displayed. Some error in my config, or outdated? Best regards Ute - To u

Re: Getting InstantiatingNullHandler exception while using Struts2.5.30

2023-02-13 Thread Lukasz Lenart
ion) call the error getting in the logs. > > > > > > On Mon, Feb 13, 2023 at 8:09 PM Dave Newton > > wrote: > > > > > > > And when does this happen? > > > > > > > > On Mon, Feb 13, 2023 at 09:20 Swapna Ponnam > > > >

Re: Getting InstantiatingNullHandler exception while using Struts2.5.30

2023-02-13 Thread Swapna Ponnam
> > And when does this happen? > > > > > > On Mon, Feb 13, 2023 at 09:20 Swapna Ponnam > > > wrote: > > > > > > > Hi, > > > > > > > > > > > > > > > > Getting InstantiatingNullHandler excep

Re: Getting InstantiatingNullHandler exception while using Struts2.5.30

2023-02-13 Thread Lukasz Lenart
pon., 13 lut 2023 o 15:48 Swapna Ponnam napisał(a): > > while hitting the backens (action) call the error getting in the logs. Do you mean the Back button in a browser? Regards -- Łukasz - To unsubscribe, e-mail: user-unsubsc

Re: Getting InstantiatingNullHandler exception while using Struts2.5.30

2023-02-13 Thread Dave Newton
n does this happen? > > > > On Mon, Feb 13, 2023 at 09:20 Swapna Ponnam > > wrote: > > > > > Hi, > > > > > > > > > > > > Getting InstantiatingNullHandler exception while using Struts2.5.30. > > > Please help me on this. &

Re: Getting InstantiatingNullHandler exception while using Struts2.5.30

2023-02-13 Thread Swapna Ponnam
while hitting the backens (action) call the error getting in the logs. On Mon, Feb 13, 2023 at 8:09 PM Dave Newton wrote: > And when does this happen? > > On Mon, Feb 13, 2023 at 09:20 Swapna Ponnam > wrote: > > > Hi, > > > > > > > > Getting I

Re: Getting InstantiatingNullHandler exception while using Struts2.5.30

2023-02-13 Thread Dave Newton
And when does this happen? On Mon, Feb 13, 2023 at 09:20 Swapna Ponnam wrote: > Hi, > > > > Getting InstantiatingNullHandler exception while using Struts2.5.30. > Please help me on this. > > INFO [STDOUT] 10:21:48.145 [http-0.0.0.0-8443-3] ERROR &

Getting InstantiatingNullHandler exception while using Struts2.5.30

2023-02-13 Thread Swapna Ponnam
Hi, Getting InstantiatingNullHandler exception while using Struts2.5.30. Please help me on this. INFO [STDOUT] 10:21:48.145 [http-0.0.0.0-8443-3] ERROR com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler - Could not create and/or set value back on to object

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-28 Thread Matias Rodriguez
hi! issue created: https://github.com/struts-community-plugins/struts2-jquery/issues/316 thanks! El mar, 27 sept 2022 a la(s) 08:07, Lukasz Lenart (lukaszlen...@apache.org) escribió: > wt., 27 wrz 2022 o 12:31 Matias Rodriguez > napisał(a): > > > > Yes, sure, I mean, even tho I wanted to point o

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-27 Thread Lukasz Lenart
wt., 27 wrz 2022 o 12:31 Matias Rodriguez napisał(a): > > Yes, sure, I mean, even tho I wanted to point out the issue as it just > comes out of the box -a common (no rare) configuration-. Thanks again Ok, I think it would be good to report this issue here [1] as well, there are already a few issu

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-27 Thread Matias Rodriguez
t; napisał(a): > > > > But the 6.0.0 version is not using the right DTD, and causes the > exception. > > Remember that I'm using the struts2-jquery-plugin:5.0.0 (latest), and it > > uses the velocity plugin 6.0.0. > > You can override the dependency, if you are using

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-27 Thread Lukasz Lenart
wt., 27 wrz 2022 o 08:35 Matias Rodriguez napisał(a): > > But the 6.0.0 version is not using the right DTD, and causes the exception. > Remember that I'm using the struts2-jquery-plugin:5.0.0 (latest), and it > uses the velocity plugin 6.0.0. You can override the dependency,

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-26 Thread Matias Rodriguez
But the 6.0.0 version is not using the right DTD, and causes the exception. Remember that I'm using the struts2-jquery-plugin:5.0.0 (latest), and it uses the velocity plugin 6.0.0. El mar., 27 de septiembre de 2022 03:22, Lukasz Lenart < lukaszlen...@apache.org> escribió: > wt., 27

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-26 Thread Lukasz Lenart
wt., 27 wrz 2022 o 08:10 Matias Rodriguez napisał(a): > > Thanks Lukasz! I'm using the right one (6.0), but the issue is in the > velocity plugin Are you sure? Version 6.0.3 is using a proper one https://github.com/apache/struts/blob/STRUTS_6_0_3/plugins/velocity/src/main/resources/struts-plugin.

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-26 Thread Matias Rodriguez
Thanks Lukasz! I'm using the right one (6.0), but the issue is in the velocity plugin El mar., 27 de septiembre de 2022 02:41, Lukasz Lenart < lukaszlen...@apache.org> escribió: > wt., 27 wrz 2022 o 03:52 Matias Rodriguez > napisał(a): > > Caused by: java.io.FileNotFoundException: > > http://str

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-26 Thread Lukasz Lenart
wt., 27 wrz 2022 o 03:52 Matias Rodriguez napisał(a): > Caused by: java.io.FileNotFoundException: > http://struts.apache.org/dtds/struts-2.6.dtd > > the problem seems to be related to a struts2-jquery-plugin dependency: > struts2-velocity-plugin:6.0.0, because it tries to use a non-existent DTD >

Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-26 Thread Matias Rodriguez
truts Configuration 2.5//EN=struts-2.5.dtd, -//Apache Software Foundation//DTD Struts Configuration 6.0//EN=struts-6.0.dtd} followed by an exception: [ERROR] 2022-09-26 22:46:37.594 [main] (Dispatcher.java:565) - Dispatcher initialization failed com.opensymphony.xwork2.config.ConfigurationException: Unab

Re: Struts 6.0.0 Upgrade issue: Security Exception for s:select list attribute that is quite long

2022-07-12 Thread Lukasz Lenart
x27;:'12:00 PM', '12:30':'12:30 PM', '13:00':'1:00 > PM',... covering the whole day) is now throwing a security Exception as below As you already know, this is a default limitation of an expression length, due to security reasons. I would sugg

RE: Struts 6.0.0 Upgrade issue: Security Exception for s:select list attribute that is quite long

2022-07-12 Thread Krishnaraj Viswanathan
: 12 July 2022 18:08 To: user@struts.apache.org Subject: [External] : Struts 6.0.0 Upgrade issue: Security Exception for s:select list attribute that is quite long Hi, We upgrade our dev environment from Struts 2.5.30 to Struts 6.0.0 and we found that our "s:select" tag wi

Struts 6.0.0 Upgrade issue: Security Exception for s:select list attribute that is quite long

2022-07-12 Thread Krishnaraj Viswanathan
Hi, We upgrade our dev environment from Struts 2.5.30 to Struts 6.0.0 and we found that our "s:select" tag with a "list" attribute of time intervals (list="#{'12:00':'12:00 PM', '12:30':'12:30 PM', '13:00':&#x

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:

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

2017-07-31 Thread Christoph Nenning
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: 30.07.2017 22:54 > Subject: spring struts 2: Unexpected Exception caught setting > 'lang' on 'class

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

2017-07-30 Thread Rubens Gomes
and will be appended to action! ... 07-30 13:49:05.235 ERROR [http-nio-8080-exec-5] c.o.x.i.ParametersInterceptor - Developer Notification (set struts.devMode to false to disable this message): Unexpected Exception caught setting 'lang' on 'class com.sun.proxy.$Proxy164: Error settin

Re: Specific Exception Handling

2016-03-22 Thread Lukasz Lenart
2016-03-22 21:13 GMT+01:00 José Antonio Delgado Trujillo : > In the example of exception - handling explains how to configure an > specific exception for an action. > > It is simple, only write the exception-mapping into the action node. But i > don't know how it works and wh

RE: Specific Exception Handling

2016-03-22 Thread Martin Gainty
Date: Tue, 22 Mar 2016 20:13:37 + Subject: Specific Exception Handling From: jadt...@gmail.com To: user@struts.apache.org In the example of exception - handling explains how to configure an

Re: Specific Exception Handling

2016-03-22 Thread José Antonio Delgado Trujillo
OK, I saw in the github the URL cause actions exceptions in the index,jsp but i dont't still understand the two result in the actionspecificexption. 2016-03-22 20:13 GMT+00:00 José Antonio Delgado Trujillo : > In the example of exception - handling explains how to configure an &g

Specific Exception Handling

2016-03-22 Thread José Antonio Delgado Trujillo
In the example of exception - handling explains how to configure an specific exception for an action. It is simple, only write the exception-mapping into the action node. But i don't know how it works and why we need two result nodes. [image: Imágenes integradas 1] I understood that i

RE: OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread fea jabi
publisherDescSelect', function(event, data) { var ui = event.originalEvent.ui;var message = ui.item.value; if(ui.item.key) { message = '( '+ ui.item.key +' ) '+message; } $('#topics').html(''+message+''); }); > From: mgai...

RE: OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread Martin Gainty
> From: zy...@hotmail.com > To: user@struts.apache.org > Subject: OGNL error --- Unexpected Exception caught setting ... on > 'class. > Date: Wed, 26 Aug 2015 19:42:36 -0400 > > Have a Publisher class with attributes > Publisher --->class > name

OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread fea jabi
m seeing this in console Unexpected Exception caught setting 'publisherName' on 'class com.xxx.createAction: Error setting expression 'publisherName' with value ['', ] when I select something in autocompleter and submit the form seeing this in console Unexpec

Re: Forward to exception page instead of result in case of ognl runtime exception ?

2014-06-11 Thread Lukasz Lenart
re are > ways user can do it), i get exception ognl.MethodFailedException: . Please > find stack trace at last > @Results({ > @Result(name = "displayCustomer", location = "customer.jsp") > }) > public class CustomerAction{ > private int custo

Forward to exception page instead of result in case of ognl runtime exception ?

2014-06-11 Thread Mohit Gupta
I have below action class where customerId is integer. If i pass customerId as string from UI(I know it should not be allowed but there are ways user can do it), i get exception ognl.MethodFailedException: . Please find stack trace at last @Results({ @Result(name = "displayCus

Re: Sending email on uncought exception problems

2013-11-26 Thread Miguel Almeida
erceptor? > > Dave > > > > On Tue, Nov 26, 2013 at 7:44 AM, Lukasz Lichota > wrote: > > > hello, > > > > I'd like to run some java code on any uncought exception but so far I > > cannot find a solution. > > Under this link I found th

Re: Sending email on uncought exception problems

2013-11-26 Thread Lukasz Lenart
2013/11/26 Lukasz Lichota : > I tried it but it did not work (unless I did something wrong). If any > action is on ValueStack, why should I add it to base class and not to any > random action I pick up? ValueStack is per created per request, so you don't know which action exactly it will be. Reg

Re: Sending email on uncought exception problems

2013-11-26 Thread Dave Newton
Why not use an interceptor? Dave On Tue, Nov 26, 2013 at 7:44 AM, Lukasz Lichota wrote: > hello, > > I'd like to run some java code on any uncought exception but so far I > cannot find a solution. > Under this link I found the exactly same question but I do not know how

Re: Sending email on uncought exception problems

2013-11-26 Thread Lukasz Lichota
On 26 November 2013 15:29, Lukasz Lenart wrote: > > Any action is always available on ValueStack, so you must add > notifyAdmin(exception) to the base action class. > > I tried it but it did not work (unless I did something wrong). If any action is on ValueStack, why should I

Re: Sending email on uncought exception problems

2013-11-26 Thread Lukasz Lenart
2013/11/26 Lukasz Lichota : > hello, > > I'd like to run some java code on any uncought exception but so far I > cannot find a solution. > Under this link I found the exactly same question but I do not know how to > apply solution. > http://markmail.org/search/?q=glob

Sending email on uncought exception problems

2013-11-26 Thread Lukasz Lichota
hello, I'd like to run some java code on any uncought exception but so far I cannot find a solution. Under this link I found the exactly same question but I do not know how to apply solution. http://markmail.org/search/?q=global+exception+redirect+list%3Aorg.apache.struts.users%2F#query:g

Antwort: Showing Action Exception as Ajax Errors

2013-11-15 Thread Christoph Nenning
I try below interceptor. When an exception happens it works, when > there are no errors and I should pass {} to response it is not working! > ___ > > String target=Action.NONE; > try { > target=invocation.invoke();

Showing Action Exception as Ajax Errors

2013-11-15 Thread Alireza Fattahi
exception happens it works, when there are no errors and I should pass {} to response it is not working! ___ String target=Action.NONE;         try {              target=invocation.invoke();              response.getWriter().print

Re: How to avoid ognl exception.

2013-11-11 Thread Yaragalla Muralidhar
/yaragalla.blogspot.in/>* > > > > > > > > > > > >> On Sun, Nov 10, 2013 at 9:54 PM, Dale Newfield > > > wrote: > > > >> > > > >> And/or add no-op setters in your actions. > > > >> -Dale > > > >> > > > &g

Re: How to avoid ognl exception.

2013-11-11 Thread Antonios Gkogkakis
gt; >> > > >>> On Nov 10, 2013, at 11:22 AM, umeshawas...@gmail.com wrote: > > >>> > > >>> Set dev mode false and this shd go > > >>> Sent from BlackBerry® on Airtel > > >>> > > >>> -Original

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
>>> Set dev mode false and this shd go > >>> Sent from BlackBerry® on Airtel > >>> > >>> -Original Message- > >>> From: Yaragalla Muralidhar > >>> Date: Sun, 10 Nov 2013 21:50:03 > >>> To: Struts Users Mailing List >

Re: How to avoid ognl exception.

2013-11-10 Thread Dale Newfield
le >> >>> On Nov 10, 2013, at 11:22 AM, umeshawas...@gmail.com wrote: >>> >>> Set dev mode false and this shd go >>> Sent from BlackBerry® on Airtel >>> >>> -Original Message- >>> From: Yaragalla Muralidhar >>&

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
; From: Yaragalla Muralidhar > > Date: Sun, 10 Nov 2013 21:50:03 > > To: Struts Users Mailing List > > Reply-To: "Struts Users Mailing List" > > Subject: How to avoid ognl exception. > > > > Hi I have few form fields defined in my html but there is no

Re: How to avoid ognl exception.

2013-11-10 Thread Dale Newfield
3 21:50:03 > To: Struts Users Mailing List > Reply-To: "Struts Users Mailing List" > Subject: How to avoid ognl exception. > > Hi I have few form fields defined in my html but there is no corresponding > property in action. I am purposefully not defining them. Why i am d

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
> From: Yaragalla Muralidhar > Date: Sun, 10 Nov 2013 21:50:03 > To: Struts Users Mailing List > Reply-To: "Struts Users Mailing List" > Subject: How to avoid ognl exception. > > Hi I have few form fields defined in my html but there is no corresponding > property i

Re: How to avoid ognl exception.

2013-11-10 Thread umeshawasthi
Set dev mode false and this shd go Sent from BlackBerry® on Airtel -Original Message- From: Yaragalla Muralidhar Date: Sun, 10 Nov 2013 21:50:03 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: How to avoid ognl exception. Hi I have few form fiel

How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
fields. In this case i always get the following exception. After this exception the server response time is getting very low so how can i avoid getting this exception. If there are corresponding properties in action the struts have to set the values and if not it has to be silent. It should not

Re: JavaScript errors on exception-handling.html

2013-09-05 Thread Chris
uts Users Mailing List Envoyé le : Jeudi 5 septembre 2013 9h08 Objet : JavaScript errors on exception-handling.html Hello, the Exception Handling Documentation Page <http://struts.apache.org/release/2.3.x/docs/exception-handling.html> has some JavaScript Errors. I stumbled over this a

Re: JavaScript errors on exception-handling.html

2013-09-05 Thread Lukasz Lenart
Yes, we know that and it's already solved - please check the Draft docs http://struts.apache.org/development/2.x/docs/exception-handling.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/9/5 Volker Krebs : > Hello, > the Exception Handling Documentation P

JavaScript errors on exception-handling.html

2013-09-05 Thread Volker Krebs
Hello, the Exception Handling Documentation Page <http://struts.apache.org/release/2.3.x/docs/exception-handling.html> has some JavaScript Errors. I stumbled over this a couple of weeks ago ... and now again. So I thought I'll write it to the list, hoping to reach someone who

Re: Struts2 Exception Handling

2013-06-21 Thread Sreekanth S. Nair
Jun 21, 2013 at 12:36 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Yeah lukasz, you are correct i was working with devMode set to true, when > i made it to false the custom exception page is coming.. Thanks a lot for > reminding me this simple mistake. > &

Re: Struts2 Exception Handling

2013-06-21 Thread Sreekanth S. Nair
Yeah lukasz, you are correct i was working with devMode set to true, when i made it to false the custom exception page is coming.. Thanks a lot for reminding me this simple mistake. -- Thanks & Regards Srikanth Software Developer eGovernments Foundat

Re: Struts2 Exception Handling

2013-06-20 Thread Lukasz Lenart
21, 2013 at 12:14 PM, Lukasz Lenart > wrote: > >> There is nothing like CatchAll in Struts 2, you define result per >> exception type >> >> >> > exception="org.apache.struts.register.exceptions.SecurityBreachException" >> result="securi

Re: Struts2 Exception Handling

2013-06-20 Thread Sreekanth S. Nair
b : 9980078913 On Fri, Jun 21, 2013 at 12:14 PM, Lukasz Lenart wrote: > There is nothing like CatchAll in Struts 2, you define result per > exception type > > > exception="org.apache.struts.register.exceptions.SecurityBreach

Re: Struts2 Exception Handling

2013-06-20 Thread Lukasz Lenart
There is nothing like CatchAll in Struts 2, you define result per exception type so all other exceptions than SecurityBreachException will be directed to result "error" and error.jsp prints the stacktrace as well: Exception Details: so maybe remove that line and you

Re: Struts2 Exception Handling

2013-06-20 Thread Sreekanth S. Nair
there > are some exception still going uncaught and showing the stacktrace to view. > There was something called CatchAll, can you please tell me how to do it. > > -- > Thanks & Regards > Srikanth > Software Developer > > eGovernments Founda

Re: Struts2 Exception Handling

2013-06-20 Thread Sreekanth S. Nair
Hi Lukasz, Thanks for your replay, i did the same way only, but there are some exception still going uncaught and showing the stacktrace to view. There was something called CatchAll, can you please tell me how to do it. -- Thanks & Regards Srikanth Software Devel

Re: Struts2 Exception Handling

2013-06-20 Thread Lukasz Lenart
2013/6/21 Sreekanth S. Nair : > Hi, > Can anyone point me a tutorial or reference for how to handle exception > (uncaught or all exception). There are so many tutorial available online > but all are different. http://struts.apache.org/development/2.x/docs/exception-handling.ht

Struts2 Exception Handling

2013-06-20 Thread Sreekanth S. Nair
Hi, Can anyone point me a tutorial or reference for how to handle exception (uncaught or all exception). There are so many tutorial available online but all are different. -- Thanks & Regards Srikanth Software Developer eGovernments Foundat

Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-16 Thread Lukasz Lenart
> -Original Message- > From: Lukasz Lenart > Date: Fri, 10 May 2013 06:51:52 > To: Struts Users Mailing List > Reply-To: Struts Users Mailing List > Subject: Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14 > > Thanks Chris! > > There was a

Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-10 Thread CRANFORD, CHRIS
-1 out of bounds errors. Sent from my Verizon Wireless BlackBerry -Original Message- From: Lukasz Lenart Date: Fri, 10 May 2013 06:51:52 To: Struts Users Mailing List Reply-To: Struts Users Mailing List Subject: Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14 Thanks Chris! There

Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-09 Thread Lukasz Lenart
arding ParametersInterceptor.java:329. If this > was related to the security fix for parameter names, wouldn't the > exception/problem occur in both devMode and non-devMode? I'm confused as to > what is the culprit here. > > -Original Message- > From: CRANFORD, CHRIS

RE: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-08 Thread CRANFORD, CHRIS
After some final digging, this appears to only surface in devMode=true on builds 2.3.12 and 2.3.14 regarding ParametersInterceptor.java:329. If this was related to the security fix for parameter names, wouldn't the exception/problem occur in both devMode and non-devMode? I'm conf

RE: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-08 Thread CRANFORD, CHRIS
: OGNL Exception after upgrading from 2.3.4 to 2.3.14 We have several forms in our Struts2 application that pass values to the action like the following: property and never has. Is there something I may have missed that I need to change from upgrading from 2.3.4 to 2.3.14? Thanks, Chris

Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown

2013-04-02 Thread Aravindhan
ize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency. java.lang.NoClassDefFoundError: com/login/Login* *Servlet /Simple threw load() exception javax.servlet.UnavailableExce

Re: Exception thrown because of struts-config.xml

2013-03-21 Thread Paul Benedict
What is the exception? And if you're on Struts 1.3, you should fix your 1.2 version in the DOCTYPE. On Thu, Mar 21, 2013 at 3:27 PM, J.V. wrote: > I have the following struts-config.xml below (a sample from the file). I > am well versed in well formatted XML and DTD's ( I have

Re: Exception thrown because of struts-config.xml

2013-03-21 Thread Lukasz Lenart
What exception? 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.org

Exception thrown because of struts-config.xml

2013-03-21 Thread J.V.
I have the following struts-config.xml below (a sample from the file). I am well versed in well formatted XML and DTD's ( I have checked the DTD agains my struts-config.xml file) and I still get an exception on jboss startup (an older version of jboss 4.3GA - legacy app but I cannot up

RE: Null Pointer Exception when i use execand Wait with file upload

2013-03-16 Thread Martin Gainty
ruts.gif"). * */ public class FileDownloadAction implements Action {private String inputPath; public void setInputPath(String value) { inputPath = value; }public InputStream getInputStream() throws Exception { return ServletActionContext.getServletContext()

Re: Null Pointer Exception when i use execand Wait with file upload

2013-03-16 Thread Pranava Swaroop
ngswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > > Date: Sat, 16 Mar 2013 12:18:30 +1100 > > Subject: Re: Null Pointer Exception when i use execand Wait with file > upload > > From: stalin.pran...@gmai

RE: Null Pointer Exception when i use execand Wait with file upload

2013-03-16 Thread Martin Gainty
keine Haftung fuer den Inhalt uebernehmen. > Date: Sat, 16 Mar 2013 12:18:30 +1100 > Subject: Re: Null Pointer Exception when i use execand Wait with file upload > From: stalin.pran...@gmail.com > To: user@struts.apache.org > > :) Apologies > > > pa

Re: Null Pointer Exception when i use execand Wait with file upload

2013-03-15 Thread Pranava Swaroop
); System.out.println(attachmentFileName); ServletContext servletContext = ServletActionContext.getServletContext(); (NULL POINTER Exception at this LINE) if (attachment != null) { // attachment will be null if there's an error, // such as if the uploaded

RE: Null Pointer Exception when i use execand Wait with file upload

2013-03-15 Thread Martin Gainty
Inhalt uebernehmen. > Date: Sat, 16 Mar 2013 10:21:08 +1100 > Subject: Null Pointer Exception when i use execand Wait with file upload > From: stalin.pran...@gmail.com > To: user@struts.apache.org > > Hello I am trying to use execandWait interceptor with fileUpload > intercep

Re: Getting following exception while trying validation mechanism in struts2

2012-08-07 Thread J. Garcia
://issues.apache.org/jira/browse/WW-3833 Cheers, J. On Tue, Aug 7, 2012 at 8:40 AM, prasad.th16 < dattaprasad_tha...@syntelinc.com> wrote: > I could resolve the error. Actually problem was with my converter. It was > throwing the null pointer exception in the coverter I wrote to convert

Re: Getting following exception while trying validation mechanism in struts2

2012-08-06 Thread prasad.th16
I could resolve the error. Actually problem was with my converter. It was throwing the null pointer exception in the coverter I wrote to convert the String to date. Thank you very much for the cooperation. Regards, Prasad -- View this message in context: http://struts.1045723.n5.nabble.com

RE: Getting following exception while trying validation mechanism in struts2

2012-07-30 Thread prasad.th16
following exception while trying validation mechanism in struts2 What's the value of struts.ui.templateSuffix ? Check struts.properties, web.xml or struts.xml Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitu

Re: Getting following exception while trying validation mechanism in struts2

2012-07-30 Thread Łukasz Lenart
What's the value of struts.ui.templateSuffix ? Check struts.properties, web.xml or struts.xml Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To uns

Re: Getting following exception while trying validation mechanism in struts2

2012-07-27 Thread Dave Newton
The exception regards the template, what does the jsp look like? Dave (pardon brevity, typos, and top-quoting; on cell) On Jul 27, 2012 8:12 AM, "prasad.th16" wrote: > Hi, > I am trying to use struts 2 xml validation framework. But I come across > errors. I am using Struts 2

Getting following exception while trying validation mechanism in struts2

2012-07-27 Thread prasad.th16
ilterDispatcher.java:395) Please help me to run the validations successfully. -- View this message in context: http://struts.1045723.n5.nabble.com/Getting-following-exception-while-trying-validation-mechanism-in-struts2-tp5710310.htm

Re: Dynamic Attributes can't be boolean? StrutsUtil.translateVariables exception

2012-05-29 Thread Łukasz Lenart
Done, please check the latest snapshot https://issues.apache.org/jira/browse/WW-3828 2012/5/28 Łukasz Lenart : > 2012/5/28 Łukasz Lenart : >> I've missed that out, need to check the code ... > > Ok, I was able to reproduce your problem and changed support for > Dynamic Attributes in Struts to sol

Re: Dynamic Attributes can't be boolean? StrutsUtil.translateVariables exception

2012-05-28 Thread Łukasz Lenart
2012/5/28 Łukasz Lenart : > I've missed that out, need to check the code ... Ok, I was able to reproduce your problem and changed support for Dynamic Attributes in Struts to solve that. Please register an issue for that, but IMHO it's a bad idea to use strict literals, it's better to wrap them wit

Re: Dynamic Attributes can't be boolean? StrutsUtil.translateVariables exception

2012-05-28 Thread Łukasz Lenart
2012/5/25 : > Method public java.lang.String > org.apache.struts2.util.StrutsUtil.translateVariables(java.lang.String) threw > an exception when invoked on org.apache.struts2.util.StrutsUtil@540948a7 > The problematic instruction: I've missed that out, need to check the c

Re: Dynamic Attributes can't be boolean? StrutsUtil.translateVariables exception

2012-05-28 Thread Joby Joseph
Subject: Re: Dynamic Attributes can't be boolean? StrutsUtil.translateVariables exception 2012/5/25 : From my perspective this represents a regression from 2.3.1.2, where what I had previously worked fine. It could be due to FreeMarker change, since I also have t

Re: Dynamic Attributes can't be boolean? StrutsUtil.translateVariables exception

2012-05-28 Thread Łukasz Lenart
2012/5/25 : > From my perspective this represents a regression from 2.3.1.2, where what I > had previously worked fine. > It could be due to FreeMarker change, since I also have this in my log: > > Caused by: freemarker.template.TemplateModelException: Argument type > mismatch; can not unwrap ar

Re: Dynamic Attributes can't be boolean? StrutsUtil.translateVariables exception

2012-05-25 Thread struts . rgm
So that I can use dynamic attributes / HTML5 goodness like this: > > <@s.text type="email" key="user.email" required=true autofocus=true /> > > But now Struts 2.3.4 blows up with this message: > > > Method public java.lang.String > org.apache.struts2.util.S

Re: Dynamic Attributes can't be boolean? StrutsUtil.translateVariables exception

2012-05-25 Thread Chris Pratt
="user.email" required=true autofocus=true /> > > But now Struts 2.3.4 blows up with this message: > > > Method public java.lang.String > org.apache.struts2.util.StrutsUtil.translateVariables(java.lang.String) > threw an exception when invoked on > org.apache.struts2

Dynamic Attributes can't be boolean? StrutsUtil.translateVariables exception

2012-05-25 Thread struts . rgm
s: <@s.text type="email" key="user.email" required=true autofocus=true /> But now Struts 2.3.4 blows up with this message: Method public java.lang.String org.apache.struts2.util.StrutsUtil.translateVariables(java.lang.String) threw an exception when invoked on org.

Re: Exception occurred after upgrading from Struts 1.2 to Struts 1.3.10

2012-03-20 Thread joann luo
Hello, Dave: Could you please be more specific on what logging I need to set to DEBUG level? I am using WAS. Which console in WAS I should set the DEBUG to true for logging in this case? In the project I am working on, I turned on the debug flag for the project but that is the only exception I

Re: Exception occurred after upgrading from Struts 1.2 to Struts 1.3.10

2012-03-20 Thread Dave Newton
> > > "-//Apache Software Foundation//DTD Commons Validator Rules > Configuration 1.3.0//EN" > "http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd > > > Is there anything else I might have missed which causes this exception? > > &g

Re: Exception occurred after upgrading from Struts 1.2 to Struts 1.3.10

2012-03-20 Thread joann luo
r_1_3_0.dtd Is there anything else I might have missed which causes this exception? Thanks a lot. 2012/3/19 Łukasz Lenart > Did you changed DTD definition ? > > > Regards > -- > Łukasz http://www.lenart.org.pl/ > mobile +48 606 323 122, office +27 11 0838747 >

Re: Exception occurred after upgrading from Struts 1.2 to Struts 1.3.10

2012-03-19 Thread Łukasz Lenart
o compile the code correctly.  I deployed the new EAR file. > Once I logged into the application, I got the following exception in the > log. > > > > > > org.apache.commons.chain.config.ConfigParser > >                                 javax.servlet.UnavailableException:

Exception occurred after upgrading from Struts 1.2 to Struts 1.3.10

2012-03-19 Thread joann luo
d into the application, I got the following exception in the log. org.apache.commons.chain.config.ConfigParser javax.servlet.UnavailableException: org.apache.commons.chain.config.ConfigParser at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleR

exception when running my struts jsp

2012-03-07 Thread Oussama Jlassi
i modified struts-config.xml but when i run localhost:8080/struts1/login.jspEtat HTTP 500 -type Rapport d'exceptionmessagedescription Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête.exceptionorg.apache.jasper.JasperException: An exceptio

RE: exception when running my struts jsp

2012-03-07 Thread Jason
as Dave pointed out, letter 'f ' also not match. -Original message- From: Oussama Jlassi Sent: 08/03/2012, 6:34 AM To: user@struts.apache.org Subject: RE: exception when running my struts jsp i corrected struts-config.xml i put the first letter of form bean name in upperc

RE: exception when running my struts jsp

2012-03-07 Thread Oussama Jlassi
i corrected struts-config.xml i put the first letter of form bean name in uppercase index2.jsp work but in login.jsp i got the same message > Date: Wed, 7 Mar 2012 17:07:09 -0500 > Subject: Re: exception when running my struts jsp > From: davelnew...@gmail.com > To: user@strut

Re: exception when running my struts jsp

2012-03-07 Thread Dave Newton
; > Etat HTTP 500 - > > > > type Rapport d'exception > > message > > description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. > > exception > > org.apache.jasper.JasperExcepti

  1   2   3   4   5   6   7   8   9   10   >