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: error while uploading file using struts 7

2025-05-19 Thread Lukasz Lenart
wt., 20 maj 2025 o 06:28 Priyanka Vaddadi napisał(a): > WE are receiving document name and document received date and documentTYpeId. > But not actual content of document. > I mean the below variableis not getting populated with data. But the > same variable gets populated with data with st

error while uploading file using struts 7

2025-05-19 Thread Priyanka Vaddadi
xception e) { logger.error("In CgFundraiserMgmtAddDocsAction.execute", e); addActionError(getText("error.system")); status = ERROR; } } return status; } public void setFundraiserDisplayDa

Re: Conversion error message

2025-03-12 Thread Prasanth Pasala
exposes any conversion errors for a given field. It doesn't override anything. If you want to define a different message, using .properties file is the solution. https://struts.apache.org/core-developers/type-conversion.html#type-conversion-error-handling Regards Łukasz

Re: Conversion error message

2025-03-11 Thread Lukasz Lenart
en field. It doesn't override anything. If you want to define a different message, using .properties file is the solution. https://struts.apache.org/core-developers/type-conversion.html#type-conversion-error-handling Regards Łukasz

Re: Conversion error message

2025-03-10 Thread Lukasz Lenart
śr., 5 mar 2025 o 16:21 Prasanth napisał(a): > They are, see below. > > Ok, that should do the trick Should I not be using > com.opensymphony.xwork2.validator.annotations.ConversionErrorFieldValidator > to set the message. This is not the class in > com.opensymphony.xwork2.validator.validators w

Re: Conversion error message

2025-03-05 Thread Prasanth
., 4 mar 2025 o 20:35 Prasanth napisał(a): I have the below line in the Action.properties file and it in the WEB-INF/classes folder in the sample package as the actual action class. But I am getting the standard error message rather than the custom one. The file must be in the same "pa

Re: Conversion error message

2025-03-04 Thread Lukasz Lenart
wt., 4 mar 2025 o 20:35 Prasanth napisał(a): > I have the below line in the Action.properties file and it in the > WEB-INF/classes folder in the sample package as the actual action class. But > I am getting the standard error message rather than > the custom one. The file mu

Re: Conversion error message

2025-03-04 Thread Prasanth
I have the below line in the Action.properties file and it in the WEB-INF/classes folder in the sample package as the actual action class. But I am getting the standard error message rather than the custom one. invalid.fieldvalue.retirementDate=Invalid date format. Please use MM/dd/

Re: Conversion error message

2025-03-04 Thread Prasanth Pasala
2025 o 23:32 Prasanth napisał(a): Hi, I have a custom message for conversion error as below. But the webpage is showing this and the default struts message. How do I suppress the struts default message? I am using Struts 6.7.0 @ConversionErrorFieldValidator(fieldName = "retiremen

Re: Conversion error message

2025-03-04 Thread Lukasz Lenart
pon., 3 mar 2025 o 23:32 Prasanth napisał(a): > > Hi, > > I have a custom message for conversion error as below. But the webpage is > showing this and the default struts message. How do I suppress the struts > default message? I am using Struts 6.7.0 > > @Conve

Conversion error message

2025-03-03 Thread Prasanth
Hi, I have a custom message for conversion error as below. But the webpage is showing this and the default struts message. How do I suppress the struts default message? I am using Struts 6.7.0     @ConversionErrorFieldValidator(fieldName = "retirementDate",  message = "Inval

Aw: Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Wolfgang Knauf
Done: https://issues.apache.org/jira/browse/WW-5475 Best regards Wolfgang > Gesendet: Sonntag, 20. Oktober 2024 um 11:17 > Von: "Lukasz Lenart" > An: "Struts Users Mailing List" > Betreff: Re: Struts 7: error when "s:action" is used on jsp pa

Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Lukasz Lenart
niedz., 20 paź 2024 o 11:14 Wolfgang Knauf napisał(a): > > OK, I see. Thanks for the clarification. > > Is there any chance to improve the error message or detect this > situation? You wrote that this is a recommendation, and it worked with > the old version. But the exception

Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Wolfgang Knauf
OK, I see. Thanks for the clarification. Is there any chance to improve the error message or detect this situation? You wrote that this is a recommendation, and it worked with the old version. But the exception does not point to anything helpful for analysing this. Best regards Wolfgang Am

Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Lukasz Lenart
sob., 19 paź 2024 o 15:18 Wolfgang Knauf napisał(a): > I have a "index.jsp" and invoke an action using "s:action" tag, then render > data from this action. In the browser I navigate to this jsp direcly > ("http://localhost/index.jsp"; instead of browsing to ".../index.action"). This is against

Aw: Struts 7 config browser: error when clicking on an action

2024-10-19 Thread Wolfgang Knauf
Sorry, my error - the only binary download I had found deep in the apache sites was a a 7.0 M7 snapshot, but there is already 7.0 M9. With the new version, the config browser works. Best regards Wolfgang - To unsubscribe, e

Struts 7 config browser: error when clicking on an action

2024-10-19 Thread Wolfgang Knauf
I added "struts2-config-browser-plugin-7.0.0-M7-SNAPSHOT.jar" to my struts app. When clicking on one of my actions (in the section "Actions in default namespace"), this stack trace is printed: 20:17:33,371 ERROR [org.apache.struts2.config_browser.ShowConfigAction] (defau

Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-19 Thread Wolfgang Knauf
ndex.action"). Snippet from my JSP: ... This works with Struts 2. But when migrating this to Struts 7M7, this error is reported: 15:02:27,233 ERROR [io.undertow.request] (default task-1) UT005023: Excep

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

2024-06-20 Thread Rubens Gomes
right now. https://issues.apache.org/jira/browse/WW-5430 From: Lukasz Lenart Sent: Thursday, June 20, 2024 12:17 AM To: user@struts.apache.org Subject: Re: Struts 7.0.0-M6 - Runtime Error freemarker.cache.WebappTemplateLoader Nice catch, would you mind

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

2024-06-19 Thread Lukasz Lenart
Nice catch, would you mind creating a JIRA ticket? czw., 20 cze 2024 o 02:15 Rubens Gomes napisał(a): > I am getting the runtime error below with 7.0.0-M6. It appears that method > "rg.apache.struts2.views.freemarker.FreemarkerManager.createTemplateLoader&qu

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

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

Re: Trying to upgrade from struts 2.3 to 2.5-Web links giving 404 error

2024-04-18 Thread Lukasz Lenart
Did you follow the migration guideline [1]? And please post the whole stacktrace [1] https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration śr., 17 kwi 2024 o 14:11 Sunitha Ganapathy napisał(a): > Hi, > > > > Getting these 3 types of errors after upgrade. > >1. c.o.xwor

RE: Trying to upgrade from struts 2.3 to 2.5-Web links giving 404 error

2024-04-17 Thread Sunitha Ganapathy
Hi, Getting these 3 types of errors after upgrade. 1. c.o.xwork2.ognl.OgnlValueStack - Could not find property [struts.actionMapping]! ognl.NoSuchPropertyException: com.opensymphony.xwork2.util.CompoundRoot.struts at com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-25 Thread DAngel
I've seen some answers to this error for the asm version, so I checked the library version. I have tried both the version: 7.3.1 (which is the one used in the struts pom), and 9.6 with the same error result. El dom, 24 mar 2024 a las 17:40, Lukasz Lenart () escribió: > This looks like

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-24 Thread Lukasz Lenart
> Before starting tomcat I delete the content inside the directories > "work" and "temp" > > > OGNL version: > WEB-INF/lib/ognl-3.1.29.jar > WEB-INF/lib/tiles-ognl-3.0.8.jar > > > The following is the error trace for an Action class > (the s

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-21 Thread DAngel
Hello, thanks for answering Before starting tomcat I delete the content inside the directories "work" and "temp" OGNL version: WEB-INF/lib/ognl-3.1.29.jar WEB-INF/lib/tiles-ognl-3.0.8.jar The following is the error trace for an Action class (the same thing is rep

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-20 Thread Lukasz Lenart
śr., 20 mar 2024 o 01:34 DAngel napisał(a): > ERROR org.apache.struts2.convention.DefaultClassFinder - Unable to read > class [ mi.action.class] > java.lang.IncompatibleClassChangeError: class > org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor has

struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-19 Thread DAngel
Hi guys. I have migrated an application from struts 2.3 to 2.5.33 I have followed the guide: https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration#Struts2.3to2.5migration-Dependencies On tomcat startup, I get errors like: ERROR org.apache.struts2

Re: struts 6.0.0 - Error with struts jquery chart sjc - Could not load the FreeMarker template

2022-06-13 Thread Lukasz Lenart
struts 2.5.30 with > 6.0.0), everything is fine except the chart, which works fine with > struts 2.5.30 > > Here are errors: > > 2022-Jun-13 12:05:44.988 [http-bio-8080-exec-3] ERROR > org.apache.struts2.components.template.FreemarkerTemplateEngine - Could > not load the FreeMa

struts 6.0.0 - Error with struts jquery chart sjc - Could not load the FreeMarker template

2022-06-13 Thread Que Thu Dung Nguyen
:  2022-Jun-13 12:05:44.988 [http-bio-8080-exec-3] ERROR org.apache.struts2.components.template.FreemarkerTemplateEngine - Could not load the FreeMarker template named 'chart':  2022-Jun-13 12:05:44.990 [http-bio-8080-exec-3] ERROR org.apache.struts2.components.template.FreemarkerTemp

Re: URI too long error when using ExecuteAndWait interceptor

2020-11-30 Thread Lukasz Lenart
I thought a bit about this problem and to be honest I didn't find a better solution. It would require some selective logic which params include, e.g: Would that work for you? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ sob., 21 lis 2020 o 16:21 Burton Rhodes napisał(a): > >

Re: URI too long error when using ExecuteAndWait interceptor

2020-11-21 Thread Burton Rhodes
I ended up replacing the tag refresh method with javascript that parses the "url" variable and recreates a element on the fly to submit via POST. On Fri, Nov 20, 2020 at 4:19 PM Burton Rhodes wrote: > I have a page that submits a form via POST and uses the ExecuteAndWait > interceptor. On the

URI too long error when using ExecuteAndWait interceptor

2020-11-20 Thread Burton Rhodes
I have a page that submits a form via POST and uses the ExecuteAndWait interceptor. On the "wait" jsp I have: "/> However, the includeParams "all" is including all the POST form variables (which there are many), and as a result, I am getting a "URI too long" exception. Is there an easy fix

Re: [S2] getOutputStream() has already been called error?

2020-04-09 Thread Burton Rhodes
> > true > > ERROR > > > > I would move your "exceptionInterceptor" to be the very first > interceptor in the stack, it looks like it catches an exception but > redirect to error.jsp cannot be handled as some

Re: [S2] getOutputStream() has already been called error?

2020-03-15 Thread Lukasz Lenart
wt., 10 mar 2020 o 15:35 Burton Rhodes napisał(a): > > > > > > true > ERROR > I would move your "exceptionInterceptor" to be

[S2] getOutputStream() has already been called error?

2020-03-10 Thread Burton Rhodes
I am trying to track down a bug in my Struts application and am having difficulty understanding the cause. Only about once per week, I get an "getOutputStream() has already been called" error - see stack trace below. Anyone experienced this before (and found a solution)? I have i

Re: strange error when migrating to convention plugin - Struts 2.5.20

2019-01-28 Thread Lukasz Lenart
could observe the following: > > The line (in a JSP): " > rel="stylesheet" type="text/css"/> generates the following error: > > ERROR Dispatcher Could not find action or result: /blank/css/examplecss > There is no Action mapped for namespace [/css] and ac

strange error when migrating to convention plugin - Struts 2.5.20

2019-01-25 Thread developer researcher
quot;text/css"/> generates the following error: ERROR Dispatcher Could not find action or result: /blank/css/examplecss There is no Action mapped for namespace [/css] and action name [examplecss] associated with context path [/blank]. - [unknown location] The question is, why does struts

Re: Struts - XWork validation - error message not taking parameters

2018-03-16 Thread Lukasz Lenart
2018-03-15 14:18 GMT+01:00 Vikul Aggarwal : > Hi > > I am using xwork validation to valid whether the value of an integer falls > in a valid range or not. > > This is how the validator is configured: > > > 0 > 9 > > > > > int validator i

Struts - XWork validation - error message not taking parameters

2018-03-15 Thread Vikul Aggarwal
Hi I am using xwork validation to valid whether the value of an integer falls in a valid range or not. This is how the validator is configured: 0 9 int validator is com.opensymphony.xwork2.valida tor.validators.IntRangeFieldValidator

RE: Conversion Error Interceptor prevent errors for empty values

2018-02-15 Thread Paul Zepernick
. Zepernick Sr. Programmer Analyst HealthSmart Benefit Solutions -Original Message- From: Yasser Zamani [mailto:yasser.zam...@live.com] On Behalf Of Yasser Zamani Sent: Wednesday, February 14, 2018 11:41 AM To: user@struts.apache.org Subject: Re: Conversion Error Interceptor prevent errors

Re: Conversion Error Interceptor prevent errors for empty values

2018-02-14 Thread Yasser Zamani
On 2/14/2018 5:13 PM, Paul Zepernick wrote: > Yes, I have it happening on 2.5.14.1. I have a select box pointing at a > Integer like this: auditForm.incorrectAuditReason.id I am using the rest > plugin which is including it in the stack. I have attached the source from > Maven. Where is th

RE: Conversion Error Interceptor prevent errors for empty values

2018-02-14 Thread Paul Zepernick
Trying the attachment again as a txt Paul R. Zepernick Sr. Programmer Analyst HealthSmart Benefit Solutions -Original Message- From: Paul Zepernick [mailto:paul.zepern...@healthsmart.com] Sent: Wednesday, February 14, 2018 8:44 AM To: user@struts.apache.org Subject: RE: Conversion Error

RE: Conversion Error Interceptor prevent errors for empty values

2018-02-14 Thread Paul Zepernick
Solutions -Original Message- From: Yasser Zamani [mailto:yasser.zam...@live.com] On Behalf Of Yasser Zamani Sent: Wednesday, February 14, 2018 4:25 AM To: user@struts.apache.org Subject: Re: Conversion Error Interceptor prevent errors for empty values On 2/13/2018 8:06 PM, Paul

Re: Conversion Error Interceptor prevent errors for empty values

2018-02-14 Thread Yasser Zamani
On 2/13/2018 8:06 PM, Paul Zepernick wrote: > Can someone provide some clarification on if this interceptor should be > adding a field error when an empty string is passed to a Integer in the > action? No, it should not be happening for `conversionError` interceptor. Does it happen?

Conversion Error Interceptor prevent errors for empty values

2018-02-13 Thread Paul Zepernick
Can someone provide some clarification on if this interceptor should be adding a field error when an empty string is passed to a Integer in the action? I am trying to prevent the field error from happening in this case. It looks like it should not be happening according to the docs: https

Re: About error-code 404 is called for each struts action class

2018-01-08 Thread Emi
On 1/6/2018 12:04 AM, Emi wrote: 404.jsp is called by web.xml when going from one page to another. Maybe other requests like a missing favicon, css or javascript causes this. Yes. In one one css file, the following cods caused 404 error. body { font: 0.7em/1.5em "Trebuchet MS&quo

Re: Unknown Error From JSON-Plugin

2018-01-07 Thread j...@rodaxsoft.com
ver, rarely > we are getting the following error when i'm accessing struts2 page. > > Caused by: Unable to load configuration. - bean - > vfs:/content/my-app.ear/lib/struts2-json-plugin-2.5.14.1.jar/struts-plugin.xml:28:30 > at > com.opensymphony.xwork2.c

Re: Unknown Error From JSON-Plugin

2018-01-07 Thread Yasser Zamani
On 1/3/2018 10:47 AM, sreekanth wrote: > I have a view page for displaying some already persisted data, this page most > of the time loads without any error (with the same set of data) and rarely > throws the exception which i have shared here. 75% time i've experienced > th

Re: About error-code 404 is called for each struts action class

2018-01-05 Thread Yasser Zamani
On 1/6/2018 12:04 AM, Emi wrote: > 404.jsp is called by web.xml when going from one page to another. Maybe other requests like a missing favicon, css or javascript causes this. - To unsubscribe, e-mail: user-unsubscr...@struts.

Re: About error-code 404 is called for each struts action class

2018-01-05 Thread Emi
Any clue why action classes are shown correctly, but 404.jsp still called? In 404.jsp only one line: System.out.println("test"); All struts action classes can be shown correctly, but 404.jsp is called by web.xml when going from one page to another. Thanks. Hello, In web.xml: 40

About error-code 404 is called for each struts action class

2018-01-05 Thread Emi
Hello, In web.xml: 404 /WEB-INF/pages/errorinfo/tiles_404.jsp For each struts2 action class shows/direct to correct page, but the above line is always called. Could someone let me know what may cause the above section called please? Thanks a lot! -- struts2.5.14.1, tiles3.0.8,

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
I have a view page for displaying some already persisted data, this page most of the time loads without any error (with the same set of data) and rarely throws the exception which i have shared here. 75% time i've experienced this exception when there is class reload happens (as a part o

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread Yasser Zamani
On 1/3/2018 9:58 AM, Yasser Zamani wrote: > > > On 1/2/2018 10:31 PM, Yasser Zamani wrote: >> >> >> On 1/2/2018 9:26 PM, Yasser Zamani wrote: >>> Illegal field modifiers in class >>> org/apache/struts2/json/JSONWriter: 0xA >> >> I'm confused :( 0xA means `JVM_ACC_PRIVATE | JVM_ACC_STATIC` but t

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
That's why i have given the title as Unknow error , the one possible cause i can think of is, i experienced mostly when i'm doing hot deployment to some service classes (but that class is nowhere referenced in the struts2 Action class ) -- Sent from: http://struts.1045723.n5.nabble.

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread Yasser Zamani
On 1/2/2018 10:31 PM, Yasser Zamani wrote: > > > On 1/2/2018 9:26 PM, Yasser Zamani wrote: >> Illegal field modifiers in class >> org/apache/struts2/json/JSONWriter: 0xA > > I'm confused :( 0xA means `JVM_ACC_PRIVATE | JVM_ACC_STATIC` but the > fields in an interface are implicitly public stat

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread Yasser Zamani
On 1/2/2018 9:26 PM, Yasser Zamani wrote: > Illegal field modifiers in class > org/apache/struts2/json/JSONWriter: 0xA I'm confused :( 0xA means `JVM_ACC_PRIVATE | JVM_ACC_STATIC` but the fields in an interface are implicitly public static final i.e. org/apache/struts2/json/JSONWriter.ENUM_AS_

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
I'm already using the latest of JDK 8 :- jdk1.8.0_152 (Linux) -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-m

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread Yasser Zamani
On 1/2/2018 8:36 PM, sreekanth wrote: > Caused by: java.lang.ClassFormatError: Failed to link > org/apache/struts2/json/DefaultJSONWriter (Module "deployment.my-app.ear" > from Service Module Loader): Failed to link > org/apache/struts2/json/JSONWriter (Module "deployment.my-app.ear" from > Servi

Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
Hi, I'm using struts2-2.5.14.1 in my EAR deployed in wildfly server, rarely we are getting the following error when i'm accessing struts2 page. Caused by: Unable to load configuration. - bean - vfs:/content/my-app.ear/lib/struts2-json-plugin-2.5.14.1.jar/struts-plugin.xml:28:30

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-08 Thread Yasser Zamani
On 11/8/2017 3:49 PM, albert kao wrote: > However, the same error occurred when my jsp page is changed to the > following. > Please help. Thanks. > > > > I think you want something like where myGoodList is a List If you want to simply show radio buttons l

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-08 Thread albert kao
Your suggestion is good! My problem is solved. However, the same error occurred when my jsp page is changed to the following. Please help. Thanks. On Mon, Nov 6, 2017 at 9:04 AM, Yasser Zamani wrote: > > > On 11/6/2017 4:37 PM, Yasser Zamani wrote: > > then define myG

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-06 Thread Yasser Zamani
On 11/6/2017 4:37 PM, Yasser Zamani wrote: > then define myGoodList as List As you want to use inside an iterator, I think you want myGoodList as List>.

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-06 Thread Yasser Zamani
On 11/6/2017 2:53 PM, albert kao wrote: > listValue="value"/> I see that myGoodList is List and String does not have properties named key and value. Please try defining a class named MyGood which has getKey and getValue methods then define myGoodList as List.

Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-06 Thread albert kao
My program below caused FreeMarker template error . Please help. Thanks. Java: import java.util.ArrayList; import java.util.List; tcma import com.mkyong.common.model.Language; import com.opensymphony.xwork2.ActionSupport; public class RadioButtonAction extends ActionSupport{ private List

Re: Struts 2 JSP Taglib error

2017-10-24 Thread Martin Gainty
From: Christoph Nenning Sent: Tuesday, October 24, 2017 7:40 AM To: Struts Users Mailing List Subject: Re: Struts 2 JSP Taglib error Hi, I have often seen this when application included something jsp-api.jar or jee-api.jar (other filenames are possible

Re: Struts 2 JSP Taglib error

2017-10-24 Thread Christoph Nenning
rom: "ravirajmishr...@gmail.com" > To: , > Date: 24.10.2017 12:53 > Subject: Struts 2 JSP Taglib error > > Hello, > > I am facing the following problem > > SEVERE: Servlet.service() for servlet jsp threw exception > java.lang.ClassCastException: > org.

Re: Struts 2 JSP Taglib error

2017-10-24 Thread Yasser Zamani
On 10/24/2017 10:10 AM, ravirajmishr...@gmail.com wrote: > java.lang.ClassCastException: org.apache.tiles.jsp.taglib.UseAttributeTag > cannot be cast to javax.servlet.jsp.tagext.Tag There are several possible things. Please search the web for "cannot be cast to javax.servlet.jsp.tagext.Tag" th

Struts 2 JSP Taglib error

2017-10-24 Thread ravirajmishr...@gmail.com
Hello, I am facing the following problem SEVERE: Servlet.service() for servlet jsp threw exception java.lang.ClassCastException: org.apache.tiles.jsp.taglib.UseAttributeTag cannot be cast to javax.servlet.jsp.tagext.Tag at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:

Re: Error Struts 2.3.33

2017-09-13 Thread Yasser Zamani
u should write it like below instead: >> >> #session['previousBusinessStateList'] >> >> On 9/12/2017 8:57 PM, Deborah White wrote: >>> Can someone take a look at this and tell me what exactly it means and >>> po

Re: Error Struts 2.3.33

2017-09-12 Thread Yasser Zamani
tell me what exactly it means and >> possibly how to resolve? My log file fills up with these. >> 12:43:57,952 ERROR >> [org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler] >> (ajp-jbappprd4/172.26.11.62:8409-4) Exception o

Re: Error Struts 2.3.33

2017-09-12 Thread Yasser Zamani
It means you have Can someone take a look at this and tell me what exactly it means and > possibly how to resolve? My log file fills up with these. > 12:43:57,952 ERROR > [org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler] > (ajp-jbappprd4/172.26.11.62:8409-4) Except

Error Struts 2.3.33

2017-09-12 Thread Deborah White
Can someone take a look at this and tell me what exactly it means and possibly how to resolve? My log file fills up with these. 12:43:57,952 ERROR [org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler] (ajp-jbappprd4/172.26.11.62:8409-4) Exception occurred during processing request

Re: Left justified field error messages in 2.5.10.1

2017-04-04 Thread Lukasz Lenart
>> >> >> I am testing an upgrade from 2.3.32 to 2.5.10.1. >> >> In 2.3.32 in Firefox/Chrome/MS-IE/MS-Edge under the xhtml theme when you >> get an field level error message it displays in center of the page just >> above the field with the error. >&g

Re: Left justified field error messages in 2.5.10.1

2017-04-04 Thread Patrick Kelly
4/2017 12:15 PM, Patrick Kelly wrote: I am testing an upgrade from 2.3.32 to 2.5.10.1. In 2.3.32 in Firefox/Chrome/MS-IE/MS-Edge under the xhtml theme when you get an field level error message it displays in center of the page just above the field with the error. In 2.3.32 in Firefox under the

Left justified field error messages in 2.5.10.1

2017-04-04 Thread Patrick Kelly
I am testing an upgrade from 2.3.32 to 2.5.10.1. In 2.3.32 in Firefox/Chrome/MS-IE/MS-Edge under the xhtml theme when you get an field level error message it displays in center of the page just above the field with the error. In 2.3.32 in Firefox under the xhtml theme when you get an field

Re: tiles2.2.2 error for Struts 2.3.28 GA

2016-03-22 Thread Lukasz Lenart
2016-03-22 19:55 GMT+01:00 Emi : > Hello, >> >> - Tiles 2 Plugin was upgraded to latest available Tiles 2 version, see >> WW-4568 > > tiles3.x, everything success. > > For tiles2.2.2, after migrating from2.3.24.1 to

tiles2.2.2 error for Struts 2.3.28 GA

2016-03-22 Thread Emi
Hello, - Tiles 2 Plugin was upgraded to latest available Tiles 2 version, see WW-4568 tiles3.x, everything success. For tiles2.2.2, after migrating from2.3.24.1 to 2.3.28, got the following error: org.apache.tiles.definition.NoSuchDefinitionException: login_page But "login_page&q

Re: Error with chekboxlist

2015-10-18 Thread Lukasz Lenart
2015-10-17 16:48 GMT+02:00 Yaragalla Muralidhar : > Hi Lukasz, >I am using struts 2.3.2. I am not using outside action. There is no such version. Maybe it's related to https://issues.apache.org/jira/browse/WW-4168 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --

Re: Error with chekboxlist

2015-10-17 Thread Yaragalla Muralidhar
Hi Lukasz, I am using struts 2.3.2. I am not using outside action. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Oct 17, 2015 at 8:12 PM, Lukasz Lenart wrote: > 2015-10-17 16:39 GMT+02:00 Jasper Rosenberg > : > > I’v

Re: Error with chekboxlist

2015-10-17 Thread Lukasz Lenart
2015-10-17 16:39 GMT+02:00 Jasper Rosenberg : > I’ve seen this behavior a couple of times over the years, and I’m sorry that > I can’t recall the exact issue when I’ve tracked it down, but basically > something is null, probably either the “samples” list, or an element in that > list. Maybe it

Re: Error with chekboxlist

2015-10-17 Thread Jasper Rosenberg
>> samples is an arraylist of strings. >> >> when i put the above tag i am getting the following error. Please help me >> to rectify this. >> >> >> Error on line 30, column 13 in template/simple/checkboxlist.ftl >> stack.findValue('top')

Re: Error with chekboxlist

2015-10-17 Thread Lukasz Lenart
when i put the above tag i am getting the following error. Please help me > to rectify this. > > > Error on line 30, column 13 in template/simple/checkboxlist.ftl > stack.findValue('top') is undefined. > It cannot be assigned to itemKey > The problematic instruction: >

Re: Error with chekboxlist

2015-10-16 Thread Yaragalla Muralidhar
e following is the code in jsp. > > > > samples is an arraylist of strings. > > when i put the above tag i am getting the following error. Please help me > to rectify this. > > > Error on line 30, column 13 in template/simple/checkboxlist.ftl > stack.findValue(

Error with chekboxlist

2015-10-16 Thread Yaragalla Muralidhar
Hi , the following is the code in jsp. samples is an arraylist of strings. when i put the above tag i am getting the following error. Please help me to rectify this. Error on line 30, column 13 in template/simple/checkboxlist.ftl stack.findValue('top') is undefined. It cannot be a

sjg:gridcolumn validation and error display

2015-09-14 Thread fea jabi
The above has to be a 8,4 decimal number basically with 3 digit max number and 4 decimal places. how to set this rule in the grid column? Also, how is the recently edited row cell value is highlighted if any validation error when saving a row.

RE: Struts 1.3 errorStyleClass Not Working (Error Field Highlighting)

2015-09-02 Thread Givler, Eric
This is interesting to say the least. I have a similar form where I MANUALLY PERFORM the validation and I stick in the message keys myself for a bunch of detail records. I add them via a helper function: /** * Return the field name that represents the detail row that is in error

RE: Textfield onchange --> handling ajax error response to show action errors

2015-09-02 Thread Martin Gainty
> To: user@struts.apache.org > Subject: RE: Textfield onchange --> handling ajax error response to show > action errors > From: christoph.nenn...@lex-com.net > Date: Wed, 2 Sep 2015 10:08:16 +0200 > > The documentation about ajax-validation might help you: > >

RE: Textfield onchange --> handling ajax error response to show action errors

2015-09-02 Thread Christoph Nenning
t function StrutsUtils.showValidationErrors( ) to display them. Of course you must include struts utils.js to use that function. regards, Christoph > From: fea jabi > To: "user@struts.apache.org" , > Date: 01.09.2015 14:37 > Subject: RE: Textfield onchange --> handling aj

RE: Textfield onchange --> handling ajax error response to show action errors

2015-09-01 Thread fea jabi
Can you point me to a link that has the sample which does this please? I tried but couldn't get the result. Thanks, for trying to help me on this. > From: lukaszlen...@apache.org > Date: Sun, 30 Aug 2015 15:22:52 +0200 > Subject: Re: Textfield onchange --> handling ajax

Re: Textfield onchange --> handling ajax error response to show action errors

2015-08-30 Thread Lukasz Lenart
; everything works fine as needed > > > on failure - > like user entered wrong data ---> How to show the error > messages in jsp. I added fieldError but not sure how to show it in jsp with > the ajax stuff. > > In jsp > > > >

Textfield onchange --> handling ajax error response to show action errors

2015-08-28 Thread fea jabi
text-field onchange ---> making ajax call. onsucess ---> everything works fine as needed on failure - > like user entered wrong data ---> How to show the error messages in jsp. I added fieldError but not sure how to show it in jsp with the ajax stuff. In jsp

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

2015-08-26 Thread fea jabi
> > private String[] publisherName; //why is this an Array of String instead of > > String publisherName; I had it as String but after seeing the error I modified it to String[] and tried that. > MG>where are you setting the publisherName?.. in constructor

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: 404 error with @Action("/") when upgrading Struts2 REST 2.1.8 to 2.3.7

2015-07-28 Thread Julio Aragao
Sure thing Lukasz! Thanks! Julio Aragao Software Engineer ju...@quimbik.com Skype: jcnaragao Mobile Phone: US 415-684-8506 "A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bo

Re: 404 error with @Action("/") when upgrading Struts2 REST 2.1.8 to 2.3.7

2015-07-21 Thread Lukasz Lenart
2015-07-21 12:54 GMT+02:00 Júlio Aragão : > Lukasz, > > Thanks for the answer. So, is there a way to map the root to an specific > action, with convention and rest plugins, once RestActionMapper returning > null is the desired effect? Hm... not sure if such situation was predicted. I mean using RE

Re: 404 error with @Action("/") when upgrading Struts2 REST 2.1.8 to 2.3.7

2015-07-21 Thread Júlio Aragão
vention > and REST plugins. I needed to update it to the latest version (2.3.24) but > one feature I used to have stopped working. I tracked the versions after > 2.1.8, and found out that it was after version 2.3.7 that the problem > started to happen. I have created a simple app called “u

Re: 404 error with @Action("/") when upgrading Struts2 REST 2.1.8 to 2.3.7

2015-07-21 Thread Lukasz Lenart
to isolate the > problem. Here is the error scenario: > > I have an Action called HomeController, in which I have a method index() that > is marked with the @Action(“/“) annotation, so that the root url of the app > maps to this method, like below: > > package u

  1   2   3   4   5   6   7   8   9   10   >