Re: Disable file uploads

2017-04-13 Thread Lukasz Lenart
2017-04-13 17:43 GMT+02:00 Adam Brin :
> One step is  to modify the struts.xml to create a custom stack that doesn’t 
> include the file-upload interceptor.

Parsing of multipart request happens early, in Dispatcher so to be
100% sure you must implement a NoOpMultipartParser or define your own
Dispatcher and override the wrapRequest() method or or the
isMultipartRequest() method (new in 2.5.11)


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



Re: Issue with struts tags

2017-04-13 Thread Lukasz Lenart
but still cleaning up temp folder is a good idea

2017-04-13 20:27 GMT+02:00 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 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 AM
>> To: user@struts.apache.org
>> Subject: Issue with struts tags
>>
>> I updated to 2.5.10.1 jars, and see the following compile errors on
>> console:
>>
>> Error(6,6): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.HiddenTag".
>> Error(7,5): The tag handler class was not found
>> "org.apache.struts2.views.jsp.IfTag".
>> Error(8,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(10,8): The tag handler class was not found
>> "org.apache.struts2.views.jsp.IfTag".
>> Error(12,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(14,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.PropertyTag".
>> Error(19,10): The tag handler class was not found
>> "org.apache.struts2.views.jsp.IfTag".
>> Error(21,14): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(23,14): The tag handler class was not found
>> "org.apache.struts2.views.jsp.PropertyTag".
>> Error(27,8): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ElseTag".
>> Error(28,10): The tag handler class was not found
>> "org.apache.struts2.views.jsp.IfTag".
>> Error(30,14): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(32,14): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.SelectTag".
>> Error(37,6): The tag handler class was not found
>> "org.apache.struts2.views.jsp.IfTag".
>> Error(40,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(43,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.TextFieldTag".
>> Error(47,8): The tag handler class was not found
>> "org.apache.struts2.views.jsp.IfTag".
>> Error(49,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(55,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.PropertyTag".
>> Error(57,10): The tag handler class was not found
>> "org.apache.struts2.views.jsp.IfTag".
>> Error(58,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(60,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.PropertyTag".
>> Error(64,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(66,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.PropertyTag".
>> Error(67,10): The tag handler class was not found
>> "org.apache.struts2.views.jsp.IfTag".
>> Error(71,14): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(73,14): The tag handler class was not found
>> "org.apache.struts2.views.jsp.PropertyTag".
>> Error(77,8): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ElseTag".
>> Error(79,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(81,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.TextFieldTag".
>> Error(81,108): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(81,129): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.TextFieldTag".
>> Error(88,6): The tag handler class was not found
>> "org.apache.struts2.views.jsp.IfTag".
>> Error(91,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.LabelTag".
>> Error(94,12): The tag handler class was not found
>> "org.apache.struts2.views.jsp.ui.SelectTag".
>> Error(103,42): The tag handler class was not found
>> "org.apache.struts2.views.jsp.IfTag".
>>
>> Please help me out.
>>
>> Thanks
>> Sharmila
>>
>>
>>
>>
>> Confidentiality Notice
>>
>> This email including all attachments is confidential and intended
>> solely for the use of the individual or entity to which it is
>> addressed. This communication may contain information that is
>> protected from disclosure under State and/or Federal law. Please
>> notify the sender immediately if you have received this communication
>> in error and delete this email from your system. If you are not the
>> intended recipient you are notified that disclosing, copying,
>> distributing or taking any action in reliance on the contents of this 
>> informa

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
+ 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



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 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 AM
> To: user@struts.apache.org
> Subject: Issue with struts tags
>
> I updated to 2.5.10.1 jars, and see the following compile errors on
> console:
>
> Error(6,6): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.HiddenTag".
> Error(7,5): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(8,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(10,8): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(12,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(14,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(19,10): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(21,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(23,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(27,8): The tag handler class was not found
> "org.apache.struts2.views.jsp.ElseTag".
> Error(28,10): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(30,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(32,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.SelectTag".
> Error(37,6): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(40,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(43,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.TextFieldTag".
> Error(47,8): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(49,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(55,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(57,10): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(58,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(60,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(64,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(66,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(67,10): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(71,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(73,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(77,8): The tag handler class was not found
> "org.apache.struts2.views.jsp.ElseTag".
> Error(79,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(81,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.TextFieldTag".
> Error(81,108): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(81,129): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.TextFieldTag".
> Error(88,6): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(91,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(94,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.SelectTag".
> Error(103,42): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
>
> Please help me out.
>
> Thanks
> Sharmila
>
>
>
>
> Confidentiality Notice
>
> This email including all attachments is confidential and intended
> solely for the use of the individual or entity to which it is
> addressed. This communication may contain information that is
> protected from disclosure under State and/or Federal law. Please
> notify the sender immediately if you have received this communication
> in error and delete this email from your system. If you are not the
> intended recipient you are notified that disclosing, copying,
> distributing or taking any action in reliance on the contents of this 
> information is strictly prohibited.
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apac

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 AM
> To: user@struts.apache.org
> Subject: Issue with struts tags
>
> I updated to 2.5.10.1 jars, and see the following compile errors on
> console:
>
> Error(6,6): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.HiddenTag".
> Error(7,5): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(8,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(10,8): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(12,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(14,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(19,10): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(21,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(23,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(27,8): The tag handler class was not found
> "org.apache.struts2.views.jsp.ElseTag".
> Error(28,10): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(30,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(32,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.SelectTag".
> Error(37,6): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(40,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(43,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.TextFieldTag".
> Error(47,8): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(49,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(55,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(57,10): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(58,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(60,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(64,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(66,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(67,10): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(71,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(73,14): The tag handler class was not found
> "org.apache.struts2.views.jsp.PropertyTag".
> Error(77,8): The tag handler class was not found
> "org.apache.struts2.views.jsp.ElseTag".
> Error(79,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(81,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.TextFieldTag".
> Error(81,108): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(81,129): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.TextFieldTag".
> Error(88,6): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
> Error(91,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.LabelTag".
> Error(94,12): The tag handler class was not found
> "org.apache.struts2.views.jsp.ui.SelectTag".
> Error(103,42): The tag handler class was not found
> "org.apache.struts2.views.jsp.IfTag".
>
> Please help me out.
>
> Thanks
> Sharmila
>
>
>
>
> Confidentiality Notice
>
> This email including all attachments is confidential and intended solely
> for the use of the individual or entity to which it is addressed. This
> communication may contain information that is protected from disclosure
> under State and/or Federal law. Please notify the sender immediately if you
> have received this communication in error and delete this email from your
> system. If you are not the intended recipient you are notified that
> disclosing, copying, distributing or taking any action in reliance on the
> contents of this information is strictly prohibited.
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>


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:

Error(6,6): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.HiddenTag".
Error(7,5): The tag handler class was not found 
"org.apache.struts2.views.jsp.IfTag".
Error(8,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(10,8): The tag handler class was not found 
"org.apache.struts2.views.jsp.IfTag".
Error(12,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(14,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.PropertyTag".
Error(19,10): The tag handler class was not found 
"org.apache.struts2.views.jsp.IfTag".
Error(21,14): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(23,14): The tag handler class was not found 
"org.apache.struts2.views.jsp.PropertyTag".
Error(27,8): The tag handler class was not found 
"org.apache.struts2.views.jsp.ElseTag".
Error(28,10): The tag handler class was not found 
"org.apache.struts2.views.jsp.IfTag".
Error(30,14): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(32,14): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.SelectTag".
Error(37,6): The tag handler class was not found 
"org.apache.struts2.views.jsp.IfTag".
Error(40,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(43,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.TextFieldTag".
Error(47,8): The tag handler class was not found 
"org.apache.struts2.views.jsp.IfTag".
Error(49,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(55,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.PropertyTag".
Error(57,10): The tag handler class was not found 
"org.apache.struts2.views.jsp.IfTag".
Error(58,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(60,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.PropertyTag".
Error(64,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(66,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.PropertyTag".
Error(67,10): The tag handler class was not found 
"org.apache.struts2.views.jsp.IfTag".
Error(71,14): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(73,14): The tag handler class was not found 
"org.apache.struts2.views.jsp.PropertyTag".
Error(77,8): The tag handler class was not found 
"org.apache.struts2.views.jsp.ElseTag".
Error(79,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(81,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.TextFieldTag".
Error(81,108): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(81,129): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.TextFieldTag".
Error(88,6): The tag handler class was not found 
"org.apache.struts2.views.jsp.IfTag".
Error(91,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(94,12): The tag handler class was not found 
"org.apache.struts2.views.jsp.ui.SelectTag".
Error(103,42): The tag handler class was not found 
"org.apache.struts2.views.jsp.IfTag".

Please help me out.

Thanks
Sharmila




Confidentiality Notice

This email including all attachments is confidential and intended solely for 
the use of the individual or entity to which it is addressed. This 
communication may contain information that is protected from disclosure under 
State and/or Federal law. Please notify the sender immediately if you have 
received this communication in error and delete this email from your system. If 
you are not the intended recipient you are notified that disclosing, copying, 
distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


Re: Disable file uploads

2017-04-13 Thread Adam Brin
One step is  to modify the struts.xml to create a custom stack that doesn’t 
include the file-upload interceptor.
-- 
_
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278

> On Apr 13, 2017, at 8:42 AM, Greg Lindholm  wrote:
> 
> I have a Struts2 app that does not support any sort for file upload.
> Is there any steps I could/should take to ensure file uploads are disabled?
> 
> Greg


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Disable file uploads

2017-04-13 Thread Greg Lindholm
I have a Struts2 app that does not support any sort for file upload.
Is there any steps I could/should take to ensure file uploads are disabled?

Greg


Issue with struts tags

2017-04-13 Thread sharmila thota
I updated to 2.5.10.1 jars, and see the following compile errors on console:

Error(6,6): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.HiddenTag".
Error(7,5): The tag handler class was not found
"org.apache.struts2.views.jsp.IfTag".
Error(8,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(10,8): The tag handler class was not found
"org.apache.struts2.views.jsp.IfTag".
Error(12,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(14,12): The tag handler class was not found
"org.apache.struts2.views.jsp.PropertyTag".
Error(19,10): The tag handler class was not found
"org.apache.struts2.views.jsp.IfTag".
Error(21,14): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(23,14): The tag handler class was not found
"org.apache.struts2.views.jsp.PropertyTag".
Error(27,8): The tag handler class was not found
"org.apache.struts2.views.jsp.ElseTag".
Error(28,10): The tag handler class was not found
"org.apache.struts2.views.jsp.IfTag".
Error(30,14): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(32,14): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.SelectTag".
Error(37,6): The tag handler class was not found
"org.apache.struts2.views.jsp.IfTag".
Error(40,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(43,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.TextFieldTag".
Error(47,8): The tag handler class was not found
"org.apache.struts2.views.jsp.IfTag".
Error(49,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(55,12): The tag handler class was not found
"org.apache.struts2.views.jsp.PropertyTag".
Error(57,10): The tag handler class was not found
"org.apache.struts2.views.jsp.IfTag".
Error(58,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(60,12): The tag handler class was not found
"org.apache.struts2.views.jsp.PropertyTag".
Error(64,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(66,12): The tag handler class was not found
"org.apache.struts2.views.jsp.PropertyTag".
Error(67,10): The tag handler class was not found
"org.apache.struts2.views.jsp.IfTag".
Error(71,14): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(73,14): The tag handler class was not found
"org.apache.struts2.views.jsp.PropertyTag".
Error(77,8): The tag handler class was not found
"org.apache.struts2.views.jsp.ElseTag".
Error(79,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(81,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.TextFieldTag".
Error(81,108): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(81,129): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.TextFieldTag".
Error(88,6): The tag handler class was not found
"org.apache.struts2.views.jsp.IfTag".
Error(91,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.LabelTag".
Error(94,12): The tag handler class was not found
"org.apache.struts2.views.jsp.ui.SelectTag".
Error(103,42): The tag handler class was not found
"org.apache.struts2.views.jsp.IfTag".

Please help me out.

Thanks
Sharmila


Re: Struts losing parameters

2017-04-13 Thread Lukasz Lenart
There is a hardcode limit to grow a collection but it looks like it
wasn't documented - feel free to open a ticket in JIRA.

https://github.com/apache/struts/blob/master/core/src/main/java/com/opensymphony/xwork2/ognl/accessor/XWorkListPropertyAccessor.java#L50
https://issues.apache.org/jira/browse/WW-4620

Define the following constant in struts.xml to increase the limit



Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/


2017-04-13 15:55 GMT+02:00 Jackson, Allan :
> We’re having a problem where struts (2.5.10.1) is losing parameters that were 
> passed to an action from a form. Our form is submitting values for a list of 
> checkboxes like this:
>
> selected[0]: true
> selected[1]: true
> selected[2]: false
> selected[3]: true
> ...
> selected[499]: false
> selected[500]: true
>
> This corresponds to a variable in our action that looks like:
> private List selected;
> //getter() and setter() here.
>
> The issue we’re having is that when we get into our action code, the 
> “selected” list only ever has the first 256 items that we submitted. I 
> manually pulled the list of parameters out of the ActionContext, and they 
> were all there, so I think the problem is probably happening in the Params 
> Interceptor.
>
> I tried changing our List<> variable to an Array[5000], and then it populated 
> everything correctly. So my best guess is that the interceptor is 
> initializing a list with a size of 256, but then it doesn’t expand the size 
> correctly once the initial list has filled up.
>
> This same code was working fine a year or so ago, but I’m not sure when it 
> stopped working or what version of struts we were on at the time.
>
> Thanks for your help,
> Allan Jackson
> University of Kansas

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Struts losing parameters

2017-04-13 Thread Jackson, Allan
We’re having a problem where struts (2.5.10.1) is losing parameters that were 
passed to an action from a form. Our form is submitting values for a list of 
checkboxes like this:

selected[0]: true
selected[1]: true
selected[2]: false
selected[3]: true
...
selected[499]: false
selected[500]: true

This corresponds to a variable in our action that looks like:
private List selected;
//getter() and setter() here.

The issue we’re having is that when we get into our action code, the “selected” 
list only ever has the first 256 items that we submitted. I manually pulled the 
list of parameters out of the ActionContext, and they were all there, so I 
think the problem is probably happening in the Params Interceptor.

I tried changing our List<> variable to an Array[5000], and then it populated 
everything correctly. So my best guess is that the interceptor is initializing 
a list with a size of 256, but then it doesn’t expand the size correctly once 
the initial list has filled up.

This same code was working fine a year or so ago, but I’m not sure when it 
stopped working or what version of struts we were on at the time.

Thanks for your help,
Allan Jackson
University of Kansas