Re: Problem with Struts 6.0 and Bootstrap plugin

2022-06-25 Thread Ralph Grove
I see that the issue has already been raised there, so I’ll watch for developments. Thanks for your help. Ralph > On Jun 24, 2022, at 4:53 PM, Lukasz Lenart wrote: > > The plugin must be adjusted to Struts 6.0.0 - I would register an > issue at Github to address this problem.

Re: Problem with Struts 6.0 and Bootstrap plugin

2022-06-24 Thread Lukasz Lenart
The plugin must be adjusted to Struts 6.0.0 - I would register an issue at Github to address this problem. After fixing the JQuery plugin we will try to focus on that. Please be aware that this plugin isn't directly maintained by ASF and Struts' volunteers. Cheers Łukasz czw., 23 cze

Re: Problem with Struts 6.0 and Bootstrap plugin

2022-06-24 Thread Yasser Zamani
r > commons-lang3-3.10.jar > freemarker-2.3.31.jar > log4j-api-2.17.2.jar > ognl-3.3.2.jar > struts2-core-6.0.0.jar > > commons-text-1.8.jar > log4j-1.2-api-2.17.0.jar > log4j-core-2.17.0.jar > > struts2-bootstrap-plugin-4.0.1.jar > > > The application n

Problem with Struts 6.0 and Bootstrap plugin

2022-06-23 Thread Ralph Grove
-2.17.0.jar log4j-core-2.17.0.jar struts2-bootstrap-plugin-4.0.1.jar The application now serves static content with no problem, but whenever a form that uses bootstrap is accessed, this error message results: [ERROR] 2022-06-23 16:52:19 [https-jsse-nio-8443-exec-70] runtime - Error executing

Re: Problem Freemarker struts 2.5.27

2022-01-06 Thread Lukasz Lenart
Britta, James I think that PR should fix the problem https://github.com/apache/struts/pull/524 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ śr., 5 sty 2022 o 23:20 J. Chaplin napisał(a): > > Hello Britta. > > The behaviour you noted using Struts 2.5.27 appears to b

Re: Problem Freemarker struts 2.5.27

2022-01-05 Thread J. Chaplin
ker.FreemarkerThemeTemplateLoader@679bd9e8. FTL stack trace ("~" means nesting-related): - Failed at: #include "/${parameters.templateDir}/...  [in template "template/simple/a-close.ftl" at line 40, column 1] The problem is the following: In a jsp page we use a strut

Re: Problem Freemarker struts 2.5.27

2022-01-04 Thread Lukasz Lenart
.apache.struts2.views.freemarker.FreemarkerThemeTemplateLoader@679bd9e8. > > > FTL stack trace ("~" means nesting-related): > - Failed at: #include "/${parameters.templateDir}/... [in template > "template/simple/a-close.ftl" at line 40, column 1] >

Problem Freemarker struts 2.5.27

2022-01-04 Thread Britta Katzenbach
e ("~" means nesting-related): - Failed at: #include "/${parameters.templateDir}/... [in template "template/simple/a-close.ftl" at line 40, column 1] The problem is the following: In a jsp page we use a struts iterator to iterate a list of objects to g

Re: Logging problem

2019-04-11 Thread Lukasz Lenart
śr., 10 kwi 2019 o 11:20 Tamás Barta napisał(a): > > Hi, > > We use JBoss as AS where logging is based on Log4J version 1. I see that > Struts 2 uses Log4J version 2 and my problem is that how can I route Struts > logging messages to the Log4J inside JBoss. I guess I need a br

Logging problem

2019-04-10 Thread Tamás Barta
Hi, We use JBoss as AS where logging is based on Log4J version 1. I see that Struts 2 uses Log4J version 2 and my problem is that how can I route Struts logging messages to the Log4J inside JBoss. I guess I need a bridge-like Log4J2 appender which logs into a Log4J Logger, but I couldn't fin

Re: log4j problem

2017-12-31 Thread Lukasz Lenart
2017-12-30 20:27 GMT+01:00 José Antonio Delgado Trujillo : >> Probably because a browser is requesting "/" to check something and as there >> is no action named "" you see the error. > > ?? You have in logs that there is no action mapped to "" - which means something (a browser because Struts doe

Re: log4j problem

2017-12-30 Thread José Antonio Delgado Trujillo
Thanks Yasser, Fix-it with debug-level Un saludo, José A. > On 30 Dec 2017, at 09:10, Yasser Zamani wrote: > > > > On 12/30/2017 12:43 AM, José Antonio Delgado Trujillo wrote: >> The log that is expected is ... > > Default level is `info` [1]. Please change them to `debug` because you > exp

Re: log4j problem

2017-12-30 Thread José Antonio Delgado Trujillo
I cloned the GithHUb struts-example https://github.com/apache/struts-examples.git > > Probably because a browser is requesting "/" to check something and as there > is no action named "" you see the error. > ?? localhost:8080/basic-strust/ind

Re: log4j problem

2017-12-30 Thread Martin Gainty
From: José Antonio Delgado Trujillo Sent: Friday, December 29, 2017 4:13 PM To: Struts Users Mailing List Subject: Re: log4j problem MG>before you restart did you deploy your struts-basic*.war to server/default/deploy folder? JD> mvn wildly:deploy p

Re: log4j problem

2017-12-30 Thread Yasser Zamani
On 12/30/2017 12:43 AM, José Antonio Delgado Trujillo wrote: > The log that is expected is ... Default level is `info` [1]. Please change them to `debug` because you expect debug level. [1] https://github.com/apache/struts-examples/blob/master/basic-struts/src/main/resources/log4j2.xml

Re: log4j problem

2017-12-30 Thread Lukasz Lenart
2017-12-29 19:57 GMT+01:00 José Antonio Delgado Trujillo : > I don’t know how to recompile lot with runtime jdk provided by JBOSS > I rm log, data, tmp folders > restart wildfly, clean and deploy basic-struts, and when i put in the > browser > localhost:8080/basic-struts/index.action > I see the

Re: log4j problem

2017-12-29 Thread José Antonio Delgado Trujillo
> MG>before you restart did you deploy your struts-basic*.war to > server/default/deploy folder? JD> mvn wildly:deploy put the war in the folder deploy > MG>display struts.xml to determine mapping for namespace “/ JD> I clone the trust-exmple GitHub. I haven’t modify anything. > MG>namespac

Re: log4j problem

2017-12-29 Thread Martin Gainty
From: José Antonio Delgado Trujillo Sent: Friday, December 29, 2017 1:57 PM To: Struts Users Mailing List Subject: Re: log4j problem I don’t know how to recompile lot with runtime jdk provided by JBOSS MG>JBOSSConfiguration to JDK is explained here ht

Re: log4j problem

2017-12-29 Thread José Antonio Delgado Trujillo
I don’t know how to recompile lot with runtime jdk provided by JBOSS I rm log, data, tmp folders restart wildfly, clean and deploy basic-struts, and when i put in the browser localhost:8080/basic-struts/index.action I see the Welcome to Struts 2 jsp But i read in the console of wildly the next ..

Re: log4j problem

2017-12-29 Thread Martin Gainty
tart jboss un saludo From: José Antonio Delgado Trujillo Sent: Friday, December 29, 2017 9:25 AM To: Struts Users Mailing List Subject: Re: log4j problem After clone the GitHub and deploy basic-struts in Wildly: log4j is in lib folder It isn’t any log4j output afte

Re: log4j problem

2017-12-29 Thread José Antonio Delgado Trujillo
After clone the GitHub and deploy basic-struts in Wildly: log4j is in lib folder It isn’t any log4j output after test in the browser (localhost:8080/basic-struts/index.action) I don’t think is a level problem in WildFly because... If i did manually the first project basic-struts i can see more

Re: log4j problem

2017-12-29 Thread Yasser Zamani
Could you search for 'log4j' in your output. Log4j prints warning or error if cannot configure itself. Also see log4j jar should be in lib folder of your deployed web app. If presents and no log4j in your output, check Wildy log levels. On Dec 29, 2017, at 1:40PM, "José Antonio Delgado Trujillo"

log4j problem

2017-12-29 Thread José Antonio Delgado Trujillo
I was testing the tutorial Getting Started, i cloned the GitHub strut-examples in Eclipse and i am using Wildly container (i only change the POM plugin to use wildly-maven-plugin). I can deploy an run correctly the most of module but i can’t see any log information in the server console. What ca

Re: struts2 +rest service problem

2017-08-01 Thread Lukasz Lenart
2017-07-19 23:13 GMT+02:00 john lee : > Stacktraces > java.lang.RuntimeException: java.lang.RuntimeException: > java.lang.RuntimeException: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerI

Re: struts2 +rest service problem

2017-07-19 Thread john lee
I did add conventions plug-in,  From: Ken McWilliams To: Struts Users Mailing List ; john lee Sent: Wednesday, July 19, 2017 4:52 PM Subject: Re: struts2 +rest service problem As mentioned in the other thread have you added the conventions plug-in? The indicated error indicates

Re: struts2 +rest service problem

2017-07-19 Thread Ken McWilliams
+ rest service > > http://beta-dev/ecommerce/employee.xml > > > > > return the following error report > > Struts Problem Report > Struts has detected an unhandled exception: > | Messages: | >- com.thoughtworks.xstream.XStre

struts2 +rest service problem

2017-07-19 Thread john lee
Please help for the struts2 + rest service  http://beta-dev/ecommerce/employee.xml return the following error report Struts Problem Report Struts has detected an unhandled exception: | Messages: | - com.thoughtworks.xstream.XStream - com/thoughtworks/xstream/XStream

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-11 Thread developer researcher
're using a number of > tools in a chain, one isn't working, so what's the minimum viable way out? > Clearly something with the JSON plugin isn't working, so try and verify > where the problem is and work around it. Alternately, it might make sense > to go grab the

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread Adam Brin
Hi, I don't use the JSON plugin. My suggestion is, you're using a number of tools in a chain, one isn't working, so what's the minimum viable way out? Clearly something with the JSON plugin isn't working, so try and verify where the problem is and work around it. A

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread Martin Gainty
, May 9, 2017 8:05 AM To: Struts Users Mailing List Subject: Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin MG>below From: developer researcher Sent: Monday, May 8, 2017 10:14 PM To: Struts Users Mailing List Subject: Re: Probl

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread developer researcher
Hi Adam, I have not tried Jackson and the Spring AOP outside of Struts2. My context is: modify a Struts web application (with spring-plugin and json-plugin) to add some functionality (advices) through AOP. I would have to test in another application to see if there is any problem between Jackson

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-09 Thread Martin Gainty
MG>below From: developer researcher Sent: Monday, May 8, 2017 10:14 PM To: Struts Users Mailing List Subject: Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin Hello Adam, Yes, I am using the "ignoreInterfaces" p

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread Adam Brin
t;, > "ignoreInterfaces", "false"})" > > The file "struts-2.5.10.1-all.zip" contains the jackson's jars, so I guess > the json-plugin use jackson.In any case, how would you use your own > serialization instead of the provided by json-plugin for acti

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread developer researcher
struts-2.5.10.1-all.zip" contains the jackson's jars, so I guess the json-plugin use jackson.In any case, how would you use your own serialization instead of the provided by json-plugin for actions that need AOP? In new tests, the problem is focused on actions with a json result. *1. Fo

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread Adam Brin
s very strange because the code in the > advice is simply "System.out.println ()" for testing purposes. > > Thanks > > > 2017-05-06 8:21 GMT-05:00 Martin Gainty : > >> MG>below >> >> ________ >> From: developer res

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-08 Thread developer researcher
:09 PM > To: Struts Users Mailing List > Subject: Problem using the Spring's AOP in Struts2's Actions with > json-plugin > > Hello, > > I am using Strust 2 with spring-plugin and json-plugin to use: > > 1. Injection of dependencies: apparently everything is wo

Re: Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-06 Thread Martin Gainty
MG>below From: developer researcher Sent: Friday, May 5, 2017 10:09 PM To: Struts Users Mailing List Subject: Problem using the Spring's AOP in Struts2's Actions with json-plugin Hello, I am using Strust 2 with spring-plugin and json-plug

Problem using the Spring's AOP in Struts2's Actions with json-plugin

2017-05-05 Thread developer researcher
Hello, I am using Strust 2 with spring-plugin and json-plugin to use: 1. Injection of dependencies: apparently everything is working well. 2. Spring's AOP: works when applied over methods of injected objects in the Struts Actions but not when applied over methods of actions (my class extends from

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-17 Thread Lukasz Lenart
Thanks :) 2017-04-17 14:53 GMT+02:00 : > I registered a bug in jira https://issues.apache.org/jira/browse/WW-4786 > and attached the Logs with level on Trace for org.apache.struts2.tiles. > > Thank you for your help and please let me know if I can support you with > further testing > > > > > > Am

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-17 Thread programmierer
I registered a bug in jira https://issues.apache.org/jira/browse/WW-4786 and attached the Logs with level on Trace for org.apache.struts2.tiles. Thank you for your help and please let me know if I can support you with further testing Am 2017-04-14 09:38, schrieb Lukasz Lenart: > Cool, thanks a

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-14 Thread Lukasz Lenart
Cool, thanks a lot :) Looks like we have an issue with resolving wildcarded tiles definitions as by default Struts will try to find tiles*.xml [1], whereas defining them by hand [2] fallbacks to the old behaviour. Could you setup a log level to TRACE for the org.apache.struts2.tiles package and s

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-12 Thread programmierer
I tried 3 different Tomcat versions on Windows 10. Version 6.0.47, 7.0.72 and 9.0.0.M13. All Versions had the same behaviour (tiles of struts2-showcase-2.5.10.1 is not working, NoSuchDefinitionException is thrown). But: It is working fine when I define the config by hand! :) Running on Windows

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-11 Thread Lukasz Lenart
2017-04-11 16:24 GMT+02:00 : > On Linux (Ubuntu 16.4): struts2-tiles-plugin (Version 2.5.10.1) works > fine => same source (same war-file) and same Tomcat-Version Did you try to use a different Tomcat version? Did you try to define configs by hand? org.apache.tiles.definition.DefinitionsFact

Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-11 Thread programmierer
Hi I have a pretty strange behaviour with my Struts2 Webapplication, to be precise with struts2-tiles-plugin (Version 2.5.10.1) after upgrading to Struts Version 2.5.10.1. Before upgrade I was using struts2-tiles3-plugin (delivered by maven) witch just worked fine. After upgrading to struts2-

Re: Problem reading a resource file (migrating 2.3.29 --> 2.5.10)

2017-03-12 Thread Lukasz Lenart
n the resource files? > eventString = getText(string); > } > } > > Is there a nice way to handle this with getText, or should I again use > getResourceAsStream or some other non-Struts facility? In theory you can use LocalizedTextUtil and its findText() methods but righ

Re: Problem reading a resource file (migrating 2.3.29 --> 2.5.10)

2017-03-11 Thread Heikki Hyyrö
11.03.2017, 09:20, Lukasz Lenart kirjoitti: This is do the changes in ActionSupport's dependencies, you must inject them first to have access to resource bundles. Instead your approach with singleton you can use something like this public class DbConnectionManager { public DbConnectionManag

Re: Problem reading a resource file (migrating 2.3.29 --> 2.5.10)

2017-03-10 Thread Lukasz Lenart
a > root-level resource file "package.properties": calling > getText("some.needed.property") results in an exception. > > Since this problem did not happen with 2.3.29, I wonder if the 2.5.x > versions have introduced a fundamental change in how the resource files are >

Problem reading a resource file (migrating 2.3.29 --> 2.5.10)

2017-03-10 Thread Heikki Hyyrö
g getText("some.needed.property") results in an exception. Since this problem did not happen with 2.3.29, I wonder if the 2.5.x versions have introduced a fundamental change in how the resource files are handled? I was not able to find such information in the 2.3 --> 2.5 migrati

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
2016 3:58 PM To: Struts Users Mailing List Subject: Re: problem Migrating from Struts 2.3 to 2.5 Right, SMI is a new addition in Struts 2.5 and it's better to use it instead of disabling, please read this - To unsubscrib

Re: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread Lukasz Lenart
's working. > > > > -- > John J. Aylward > > -Original Message- > From: John Aylward [mailto:john.aylw...@sagenet.com] > Sent: Thursday, December 22, 2016 10:20 AM > To: Struts Users Mailing List > Subject: RE: problem Migrating from Struts 2.3 to 2.5 >

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
rs Mailing List Subject: RE: problem Migrating from Struts 2.3 to 2.5 I combined all my struts.xml files into one and finally got a struts configuration error after a bit of massaging to get rid of old elements that I didn't need anymore and messed one up. At least I know the struts.xml file is

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
ssage when an action was configured, but in 2.5.x I don't appear to get any such messages. -- John -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Thursday, December 22, 2016 1:33 AM To: Struts Users Mailing List Subject: Re: problem Migrating from

Re: problem Migrating from Struts 2.3 to 2.5

2016-12-21 Thread Lukasz Lenart
2016-12-22 6:53 GMT+01:00 John Aylward : > I'm trying to migrate my struts application from 2.3.31 to 2.5.8 but it > appears that my struts.xml is not getting loaded. My web.xml is pretty > standard: Please try to use Struts 2.5.5 > >"-//Apache Software Foundation//DTD Struts Configuration

problem Migrating from Struts 2.3 to 2.5

2016-12-21 Thread John Aylward
I'm trying to migrate my struts application from 2.3.31 to 2.5.8 but it appears that my struts.xml is not getting loaded. My web.xml is pretty standard: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/ja

Re: synchronization problem

2016-04-09 Thread Yaragalla Muralidhar
thank you Doug Erickson. I will look into other areas and will check where the problem is. Thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sun, Apr 10, 2016 at 11:02 AM, Doug Erickson wrote: > The co

Re: synchronization problem

2016-04-09 Thread Doug Erickson
> >>> Hi, >>> >>> I have developed a web application using struts 2. In my struts 2 >>> action class i am calling the service layer and written the >> synchronization >>> code as below in the service layer. Does this really gets synchroniz

Re: synchronization problem

2016-04-09 Thread Yaragalla Muralidhar
; On Sat, Apr 9, 2016 at 10:06 PM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > Hi, > > > > I have developed a web application using struts 2. In my struts 2 > > action class i am calling the service layer and written the > synchronization > >

Re: synchronization problem

2016-04-09 Thread Sreekanth S. Nair
veloped a web application using struts 2. In my struts 2 > action class i am calling the service layer and written the synchronization > code as below in the service layer. Does this really gets synchronized? Is > there any problem in my synchronization code? > > > > *The follow

synchronization problem

2016-04-09 Thread Yaragalla Muralidhar
Hi, I have developed a web application using struts 2. In my struts 2 action class i am calling the service layer and written the synchronization code as below in the service layer. Does this really gets synchronized? Is there any problem in my synchronization code? *The following is my

Re: Spring Struts problem

2016-03-24 Thread Lukasz Lenart
2016-03-24 22:25 GMT+01:00 José Antonio Delgado Trujillo : >> >> You must define also scope="prototype" as Struts actions cannot be singletons > > There is nothing about that in the tutorial > https://cwiki.apache.org/confluence/display/WW/Spring+and+Struts+2 >

Re: Spring Struts problem

2016-03-24 Thread José Antonio Delgado Trujillo
> > You must define also scope="prototype" as Struts actions cannot be singletons > There is nothing about that in the tutorial https://cwiki.apache.org/confluence/display/WW/Spring+and+Struts+2 > You shouldn't mix Struts vers

Re: Spring Struts problem

2016-03-24 Thread Lukasz Lenart
2016-03-24 21:41 GMT+01:00 José Antonio Delgado Trujillo : >> >> Can you share your config? > > My applicationContext.xml is… > > > http://www.springframework.org/schema/beans"; >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >xsi:schemaLocation=" > http://www.s

Re: Spring Struts problem

2016-03-24 Thread José Antonio Delgado Trujillo
> > Can you share your config? My applicationContext.xml is… http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org

Re: Spring Struts problem

2016-03-24 Thread Lukasz Lenart
2016-03-24 14:56 GMT+01:00 José Antonio Delgado Trujillo : > I understood that spring can manage and inject dependency class in Action. > You can also use CDI instead of Spring > In the example manage and inject EditServiceInMemory. > To do this: > >- Insert the struts spring plugin depend

Re: Problem using TypeConverters with SelectTag

2016-03-08 Thread Lukasz Lenart
Using a StrutsTypeConverter I would see: > > > My Label > Another Label > > > The problem is that the type converter is applied when creating the options > and when the data is submitted, but the select never defaults the selected > choice if a selection was initially

Re: Facing Problem during Struts 2 Upgrade [upgrading from Struts 2.1.8 to Struts 2.3.24]

2015-12-27 Thread Lukasz Lenart
2015-12-24 6:56 GMT+01:00 Rahul Singh : > Hello Apache Struts Team, > > Thanks for your continuous support and help !! > > > We are facing the below mentioned problem during Struts 2 upgrade. > > > "HTTP Status 404" error message. > > > We have do

Facing Problem during Struts 2 Upgrade [upgrading from Struts 2.1.8 to Struts 2.3.24]

2015-12-27 Thread Rahul Singh
Hello Apache Struts Team, Thanks for your continuous support and help !! We are facing the below mentioned problem during Struts 2 upgrade. "HTTP Status 404" error message. We have done the below steps to upgrade the struts [from Struts 2.1.8 to Struts 2.3.24]. 1- Replac

Re: Wildcard method selection problem

2015-10-30 Thread Lukasz Lenart
As I said, it works, check this out https://github.com/apache/struts-examples/blob/master/wildcard-method-selection/src/main/resources/struts.xml#L19-L22 Struts version? 2015-10-30 10:49 GMT+01:00 Daniel Hernáez : > Hello, > > That's not the problem, I had already realized that

RE: Wildcard method selection problem

2015-10-30 Thread Daniel Hernáez
Hello, That's not the problem, I had already realized that. The issue is that the wildcard selection does not work with that URL (http://localhost:8080/wildcard-method-selection/Person.action) unless I specifically add the next declaration in struts.xml: /edit.jsp But it

Re: Wildcard method selection problem

2015-10-30 Thread Lukasz Lenart
Daniel Hernáez : > Good morning, > > > > I am following the next Struts2 example: > https://struts.apache.org/docs/wildcard-method-selection.html > > > > The problem with that example is that method “execute” is not found with > the struts.xml configuration show

Wildcard method selection problem

2015-10-30 Thread Daniel Hernáez
Good morning, I am following the next Struts2 example: https://struts.apache.org/docs/wildcard-method-selection.html The problem with that example is that method “execute” is not found with the struts.xml configuration shown there (Could not find action or result: /wildcard-method

Re: problem with file upload

2015-09-11 Thread Yaragalla Muralidhar
gt; > That is what i am saying. The docs shows how to upload files to action > > class but my requirement is different. Please read the problem carefully. > > and do help me. > > > > *Thanks and Regards,* > > Muralidhar Yaragalla. > > > > *http://yaragall

Re: problem with file upload

2015-09-11 Thread Johannes Geppert
: > That is what i am saying. The docs shows how to upload files to action > class but my requirement is different. Please read the problem carefully. > and do help me. > > *Thanks and Regards,* > Muralidhar Yaragalla. > > *http://yaragalla.blogspot.in/ <http://yaragall

Re: problem with file upload

2015-09-11 Thread Yaragalla Muralidhar
That is what i am saying. The docs shows how to upload files to action class but my requirement is different. Please read the problem carefully. and do help me. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Fri, Sep 11, 201

Re: problem with file upload

2015-09-11 Thread Johannes Geppert
Have you already checked the docs? https://struts.apache.org/docs/file-upload.html Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2015-09-11 11:31 GMT+02:00 Yaragalla Muralidhar : > Hi , > I know how to

problem with file upload

2015-09-11 Thread Yaragalla Muralidhar
Hi , I know how to upload a file into the action class but my requirement is different. I have a list of pojos where each pojo contains a field called file. for example:- public class Pojo{ private int pk; private File file; //setters and getters } In my action class:-

Re: website documentation problem?

2015-08-11 Thread Lukasz Lenart
Fixed! https://cwiki.apache.org/confluence/display/WW/Parameters+Interceptor 2015-08-07 18:36 GMT+02:00 rgm : > Am seeing "Error formatting macro: snippet: > java.lang.IndexOutOfBoundsException: Index: 20, Size: 20" on this page and > many others: > > https://struts.apache.org/docs/parameters-int

website documentation problem?

2015-08-07 Thread rgm
Am seeing "Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20" on this page and many others: https://struts.apache.org/docs/parameters-interceptor.html

Re: Problem reading package.properties value when deploying application via wildfly-deploy plugin

2015-08-05 Thread Sreekanth S. Nair
Its not the problem of plugin, its plugin's default behavior to do the deployment to "data" dir, the option targetDir is not for where to deploy but from where to get deployable, bit confusing. As i mentioned, there is no other issue with struts2 application except labels are not co

Re: Problem reading package.properties value when deploying application via wildfly-deploy plugin

2015-07-29 Thread Lukasz Lenart
2015-07-29 10:30 GMT+02:00 Sreekanth S. Nair : > package.properties file values are not getting displayed while we deploy > our application in wildfly server using wildfly deploy maven plugin, but at > the same time properties values are getting displayed properly if we deploy > from eclipse or man

Problem reading package.properties value when deploying application via wildfly-deploy plugin

2015-07-29 Thread Sreekanth S. Nair
package.properties file values are not getting displayed while we deploy our application in wildfly server using wildfly deploy maven plugin, but at the same time properties values are getting displayed properly if we deploy from eclipse or manual deployment. The only difference between manual and

RE: Problem using TypeConverters with SelectTag

2015-04-30 Thread CRANFORD, CHRIS
ing a StrutsTypeConverter I would see: My Label Another Label The problem is that the type converter is applied when creating the options and when the data is submitted, but the select never defaults the selected choice if a selection was initially set in the view model or when the action returns

Re: Problem using TypeConverters with SelectTag

2015-04-30 Thread Lukasz Lenart
2015-04-30 15:22 GMT+02:00 CRANFORD, CHRIS : > Was this part of the fix in WW-4427? Rather unrelated to your problem as tags don't use context to store values. I'm still thinking if your solution is right, I mean common to be used by any other or rather is your specific use ca

RE: Problem using TypeConverters with SelectTag

2015-04-30 Thread CRANFORD, CHRIS
Was this part of the fix in WW-4427? -Original Message- From: CRANFORD, CHRIS [mailto:chris.cranf...@setech.com] Sent: Tuesday, April 28, 2015 8:30 AM To: Struts Users Mailing List Subject: RE: Problem using TypeConverters with SelectTag Version 2.3.20 GA -Original Message

RE: Problem using TypeConverters with SelectTag

2015-04-28 Thread CRANFORD, CHRIS
Version 2.3.20 GA -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Tuesday, April 28, 2015 6:20 AM To: Struts Users Mailing List Subject: Re: Problem using TypeConverters with SelectTag Struts version? I thought this was already resolved. 2015-04-24 15:16

Re: Problem using TypeConverters with SelectTag

2015-04-28 Thread Lukasz Lenart
siteSelections; > private SiteSelection selectedSite; > /* getter & setters */ > } > > In the JSP, I have used the select tag as follows > > > > The type converters get used and the select is populated with the appropriate > key/va

Problem using TypeConverters with SelectTag

2015-04-24 Thread CRANFORD, CHRIS
opriate key/value pairs. The problem is when I take a specific entry in the siteSelections and set it on the selectedSite property during the initial render or populate selectedSite and re-render the input page during say a validation failure, the select tag doesn't apply the "selecte

Re: struts2-ssl-plugin problem

2015-02-24 Thread Christoph Nenning
> I am using google code provided struts2-ssl-plugin-1.2.1 jar file for ssl > configuration i.e switching from http to https. > > But when I submit the page with method="post" form field values are not > getting submitted, I see null values are submitted to the properties of > action. > > In on

struts2-ssl-plugin problem

2015-02-24 Thread Raghu
the thread it is mentioned that it is taken care in the latest jar. What is the latest jar file? How to fix the issue? Thanks in advance Rag -- View this message in context: http://struts.1045723.n5.nabble.com/struts2-ssl-plugin-problem-tp5717467.html Sent from the Struts - User mailing li

RE: problem in xml validation

2015-02-17 Thread Martin Gainty
> Date: Tue, 17 Feb 2015 21:07:03 +0530 > Subject: Re: problem in xml validation > From: yaragallamur...@gmail.com > To: user@struts.apache.org > > No dave. It is because in the same Action class i have a validate method. > So in this method if validation fails it is showin

Re: problem in xml validation

2015-02-17 Thread Yaragalla Muralidhar
ad > > showing validation errors the browser is displaying page not found. if i > > remove validation xml file everthing is working fine. what could be the > > problem? > > > > do i need to paste the code? > > > > *Thanks and Regards,* > > Muralidhar

Re: problem in xml validation

2015-02-17 Thread Dave Newton
e validation xml file everthing is working fine. what could be the > problem? > > do i need to paste the code? > > *Thanks and Regards,* > Muralidhar Yaragalla. > > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* > -- e: davelnew...@gm

problem in xml validation

2015-02-17 Thread Yaragalla Muralidhar
everthing is working fine. what could be the problem? do i need to paste the code? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*

Re: regex validator problem

2014-12-28 Thread Chris
Hi, 1 - When you wrote "select box", did you mean drop-down list ? Because drop-down list are not exactly  input fields. The user can't write something he wants. Could you please give examples ? 2 - Why don't you use "" like in "EditAction-validation.xml" ? 3 - If you want tu use an input field

Re: regex validator problem

2014-12-27 Thread Dave Newton
Did you try defining a complete regex, e.g., with the start/end markers, `^` and `$`, at the beginning/end of the regex? On Sat, Dec 27, 2014 at 8:10 AM, Yaragalla Muralidhar wrote: > Hi Dave, > when "-1" is getting submited it has to display error msg which is > not getting displayed. succ

Re: regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
Hi Dave, when "-1" is getting submited it has to display error msg which is not getting displayed. successfully moving to the next page. It is not moving to the input page even. Now i have changed the validator to int so everything is working fine. but i need regex validator to work even

Re: regex validator problem

2014-12-27 Thread Dave Newton
On Sat, Dec 27, 2014 at 7:23 AM, Yaragalla Muralidhar wrote: >> > validator in the following way but it is not working. Please help. Define "not working". -- e: davelnew...@gmail.com m: 908-380-8699 s: davelnewton_skype t: @dave_newton b: Bucky Bits g: davelnewton so: Dave Newton -

Re: regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
Number is fine Dev. But regex validator has to work right. i worked with it before. Now it is not working. I want to make it work. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 27, 2014 at 6:37 PM, Dave Newton wrote: > W

Re: regex validator problem

2014-12-27 Thread Dave Newton
Why use a regex for what appears to be a number? On Dec 27, 2014 5:36 AM, "Yaragalla Muralidhar" wrote: > i have a select box. by defualt it submits "-1". I want to write a > validation using regex tosay the selection is mandatory. I have written the > validator in the following way but it is not

regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
i have a select box. by defualt it submits "-1". I want to write a validation using regex tosay the selection is mandatory. I have written the validator in the following way but it is not working. Please help. cannot find error.branch.required *Thanks and Regards,* M

  1   2   3   4   5   6   7   8   9   10   >