Re: Problems making SEO friendly URLs

2017-12-08 Thread Dave Weis
I was using the 'normal' method with forms and tiles. The problem ended up being that I was inheriting my namespaces from 'struts-default' instead of 'default' so tiles weren't activated in that namespace. The last couple webapps I wrote were on struts 1 so it's been an adjustment. I do enjoy not

Re: Problems making SEO friendly URLs

2017-12-07 Thread Lukasz Lenart
Hi Dave, Did you try to use RestfulActionMappers? http://struts.apache.org/core-developers/restful-action-mapper.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@stru

Problems making SEO friendly URLs

2017-12-07 Thread Dave Weis
Hello I'm trying to set up an action to make attractive URLs but I'm not having success. Below is the struts.xml file and the error. Any help would be appreciated! Thanks dave Messages: There is no Action mapped for namespace [/commerce] and action name [dave/1/2] associated with context path

Re: Some problems with Struts-mailreader

2015-11-15 Thread Lukasz Lenart
Ach... right, support for "id" was dropped recently [1] - this must be fixed in the mailreader app - replacing "id" with "var" should solve the problem [1] https://issues.apache.org/jira/browse/WW-2069 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2015-11-13 10:18 GMT+01:00 Chri

Re: Some problems with Struts-mailreader

2015-11-13 Thread Chris
Hello,  Thank you for giving methose explainations. So I've  tried withstruts2-core-2.5-20151112.202249-95.jar orstruts2-core-2.5-20151104.175152-90.jar but I receive another error ( NB : Allthe jar files are the same as 2.5 BETA2 , except the struts-core ) The error is with the id (?) , in the

Re: Some problems with Struts-mailreader

2015-11-12 Thread Lukasz Lenart
2015-11-12 18:24 GMT+01:00 Chris : > Hello, > > I'm sorry . I don't use pom.xml in any of my examples. > I work with Netbenas 7.3 and ant, I guess. But no maven. > I have no idea what SNAPSHOT is, and how to use it, and where find it.Is it > another version of all librairies ? SNAPSHOT is the lat

Re: Some problems with Struts-mailreader

2015-11-12 Thread Chris
Hello, I'm sorry . I don't use pom.xml in any of my examples. I work with Netbenas 7.3 and ant, I guess. But no maven. I have no idea what SNAPSHOT is, and how to use it, and where find it.Is it another version of all librairies ? Regards, Chris Struts has detected an unhandled exception: |

Re: Some problems with Struts-mailreader

2015-11-12 Thread Lukasz Lenart
2015-11-12 17:23 GMT+01:00 Chris : > Hello,My mailreader example still doesn't work. > Precisely n the Login button, and the Cancel button, in the Login page Have you used 2.5-SNAPSHOT version? You must manually change Struts version in pom.xml > Something strange, the new web.xml file looks like

Re: Some problems with Struts-mailreader

2015-11-12 Thread Chris
Hello,My mailreader example still doesn't work. Precisely n the Login button, and the Cancel button, in the Login page Something strange, the new web.xml file looks like the jboss_blank example... I tried without those some lines, like the old mailreader example,  but it didn't work neither.     

Re: Some problems with Struts-mailreader

2015-10-31 Thread Lukasz Lenart
Great! Let me know if everything is ok :) -- Ł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: Some problems with Struts-mailreader

2015-10-30 Thread Chris
gt; De: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Enviado el: viernes, 30 de octubre de 2015 10:59 > Para: Struts Users Mailing List > Asunto: Re: Some problems with Struts-mailreader > > It was bug in Struts, so you must use the latest SNAPSHOT > > 2015-10-30 10:57 GMT+0

Re: Some problems with Struts-mailreader

2015-10-30 Thread Chris
bile: +34 699 140 596 > Landline: +34 987 470 155 > > > > > -Mensaje original- > De: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Enviado el: viernes, 30 de octubre de 2015 10:59 > Para: Struts Users Mailing List > Asunto: Re: Some problems with Struts-m

Re: Some problems with Struts-mailreader

2015-10-30 Thread Chris
now. > > Saludos / Regards, > Daniel Hernáez > International Technical Service > > Mobile: +34 699 140 596 > Landline: +34 987 470 155 > > > > > -Mensaje original- > De: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Enviado el: viernes, 30 de octubre de

Re: Some problems with Struts-mailreader

2015-10-30 Thread Lukasz Lenart
ated with context path [/wildcard-method-selection]." >> >> I just changed the filter in web.xml to adapt the new version >> (org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter). >> None of the actions works now. >> >> Saludos / Regard

Re: Some problems with Struts-mailreader

2015-10-30 Thread Chris
ks now. > > Saludos / Regards, > Daniel Hernáez > International Technical Service > > Mobile: +34 699 140 596 > Landline: +34 987 470 155 > > > > > -Mensaje original- > De: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Enviado el: viernes, 30 de oct

Re: Some problems with Struts-mailreader

2015-10-30 Thread Lukasz Lenart
Technical Service > > Mobile: +34 699 140 596 > Landline: +34 987 470 155 > > > > > -Mensaje original- > De: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Enviado el: viernes, 30 de octubre de 2015 10:59 > Para: Struts Users Mailing List > Asunto: Re: Some pr

RE: Some problems with Struts-mailreader

2015-10-30 Thread Daniel Hernáez
de octubre de 2015 10:59 Para: Struts Users Mailing List Asunto: Re: Some problems with Struts-mailreader It was bug in Struts, so you must use the latest SNAPSHOT 2015-10-30 10:57 GMT+01:00 Chris : > Hi,- I'll try soon > - But Git Hub says "Already up-to-date" > - And

Re: Some problems with Struts-mailreader

2015-10-30 Thread Lukasz Lenart
rsion >>> from Git >>> >>> 2015-10-30 8:42 GMT+01:00 Lukasz Lenart : >>>> Looks like a bug in 2.5. The Login action is defined as follow >>>> >>>> >>>> >>>> which means any method should be allowed - I'm going

Re: Some problems with Struts-mailreader

2015-10-30 Thread Chris
>>> which means any method should be allowed - I'm going to check that >>> >>> >>> Regards >>> -- >>> Łukasz >>> + 48 606 323 122 http://www.lenart.org.pl/ >>> >>> 2015-10-28 12:21 GMT+01:00 Chris : >>&g

Re: Some problems with Struts-mailreader

2015-10-30 Thread Lukasz Lenart
;> >>> Regards >>> -- >>> Łukasz >>> + 48 606 323 122 http://www.lenart.org.pl/ >>> >>> 2015-10-28 12:21 GMT+01:00 Chris : >>>> Hello, >>>> >>>> I have some problems with the "new" mailreader sampl

Re: Some problems with Struts-mailreader

2015-10-30 Thread Lukasz Lenart
ike a bug in 2.5. The Login action is defined as follow >> >> >> >> which means any method should be allowed - I'm going to check that >> >> >> Regards >> -- >> Łukasz >> + 48 606 323 122 http://www.lenart.org.pl/ >> >> 20

Re: Some problems with Struts-mailreader

2015-10-30 Thread Lukasz Lenart
ethod should be allowed - I'm going to check that > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2015-10-28 12:21 GMT+01:00 Chris : >> Hello, >> >> I have some problems with the "new" mailreader sample in the >&g

Re: Some problems with Struts-mailreader

2015-10-30 Thread Lukasz Lenart
Looks like a bug in 2.5. The Login action is defined as follow which means any method should be allowed - I'm going to check that Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2015-10-28 12:21 GMT+01:00 Chris : > Hello, > > I have some problems with the &q

Some problems with Struts-mailreader

2015-10-28 Thread Chris
Hello, I have some problems with the "new" mailreader sample in the linkhttps://github.com/apache/struts-examples/tree/master/mailreader   with Struts 2.5 BETA2 PS :  my old mailreader example 2.3.16 works perfectly.And I try to translate the tour.html to unterstand. But with t

Re: More website doc problems: Type Conversion and Conversion Annotation

2015-08-31 Thread Lukasz Lenart
Thanks, fixed! 2015-09-01 0:18 GMT+02:00 JOSE L MARTINEZ-AVIAL : > Hello, > page https://struts.apache.org/docs/dispatcher-result.html is also > failing. > > thanks > > JL > > 2015-08-20 2:11 GMT-04:00 Lukasz Lenart : > >> 2015-08-19 18:55 GMT+02:00 rgm : >> > In order to determine the best way

Re: More website doc problems: Type Conversion and Conversion Annotation

2015-08-31 Thread JOSE L MARTINEZ-AVIAL
Hello, page https://struts.apache.org/docs/dispatcher-result.html is also failing. thanks JL 2015-08-20 2:11 GMT-04:00 Lukasz Lenart : > 2015-08-19 18:55 GMT+02:00 rgm : > > In order to determine the best way to prompt for and store a > > javax.mail.internet.InternetAddress, I began researchi

Re: More website doc problems: Type Conversion and Conversion Annotation

2015-08-19 Thread Lukasz Lenart
2015-08-19 18:55 GMT+02:00 rgm : > In order to determine the best way to prompt for and store a > javax.mail.internet.InternetAddress, I began researching these pages, which > are broken to various degrees: > > https://cwiki.apache.org/confluence/display/WW/Type+Conversion > https://cwiki.apache.or

More website doc problems: Type Conversion and Conversion Annotation

2015-08-19 Thread rgm
In order to determine the best way to prompt for and store a javax.mail.internet.InternetAddress, I began researching these pages, which are broken to various degrees: https://cwiki.apache.org/confluence/display/WW/Type+Conversion https://cwiki.apache.org/confluence/display/WW/Conversion+Annotatio

Re: Problems configuring own error pages for status codes manually set

2014-02-17 Thread Lukasz Lenart
Maybe trying setting struts.handle.exception to false. 2014-02-17 14:58 GMT+01:00 Christoph Nenning : > Instead of response.sendError() you can try to use a struts http header > result: > > > http://struts.apache.org/development/2.x/docs/httpheader-result.html > > > hope that helps > > > Regards,

Re: Problems configuring own error pages for status codes manually set

2014-02-17 Thread Christoph Nenning
Instead of response.sendError() you can try to use a struts http header result: http://struts.apache.org/development/2.x/docs/httpheader-result.html hope that helps Regards, Christoph > > Hello, > > I try to use/configure my own error pages for my struts 2 Application > (struts version:

Problems configuring own error pages for status codes manually set

2014-02-17 Thread Thomas Hermann
Hello, I try to use/configure my own error pages for my struts 2 Application (struts version: 2.3.15.3, Apache Tomcat 6.0). I configure the two error pages for the status codes 403 (not authenticted) and 404 (page not avaiable) in the web.xml (see below) and place the desired pages in the appr

Re: Sending email on uncought exception problems

2013-11-26 Thread Miguel Almeida
The first thought I had was also that this might be better suited on an interceptor. You'll also have more control over the desired behaviour since interceptors are more easily testable than JSPs. Miguel On Tue, 2013-11-26 at 09:43 -0500, Dave Newton wrote: > Why not use an interceptor? > > Dave

Re: Sending email on uncought exception problems

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

Re: Sending email on uncought exception problems

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

Re: Sending email on uncought exception problems

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

Re: Sending email on uncought exception problems

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

Sending email on uncought exception problems

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

Re: Antwort: Re: Problems with type conversion and special characters

2013-10-15 Thread Alessio Matteo
efore printing this email Il 15/10/2013 10:40, Christoph Nenning ha scritto: Thank you so much, I solved the special characters problems by setting the struts i18n constant to ISO-8859-1! About the conversion error, I know it was a dev mode warn

Antwort: Re: Problems with type conversion and special characters

2013-10-15 Thread Christoph Nenning
> > Thank you so much, I solved the special characters problems by setting > the struts i18n constant to ISO-8859-1! > About the conversion error, I know it was a dev mode warning, but when > the exception was thrown every dynamic content in my page disappeard... > Anyway I s

Re: Problems with type conversion and special characters

2013-10-14 Thread Alessio Matteo
Thank you so much, I solved the special characters problems by setting the struts i18n constant to ISO-8859-1! About the conversion error, I know it was a dev mode warning, but when the exception was thrown every dynamic content in my page disappeard... Anyway I solved the issue by declaring

Re: utf8 problems...

2011-11-14 Thread Jeff Black
ilter.html [3] http://ibnaziz.wordpress.com/2008/06/10/spring-utf-8-conversion-using-characterencodingfilter/ From: Maurizio Cucchiara To: Struts Users Mailing List Sent: Monday, November 14, 2011 4:56 AM Subject: Re: utf8 problems... Christian, this is the fi

Re: utf8 problems...

2011-11-14 Thread Christian Grobmeier
Maurizio, thanks for your suggestion. With your mail I have found the solution. On Sun, Nov 13, 2011 at 6:31 PM, Maurizio Cucchiara wrote: > (struts.xml) had not effect - it seem it was enabled already > class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" /> > (sitemesh.xml) This

Re: utf8 problems...

2011-11-14 Thread Maurizio Cucchiara
Christian, this is the filter I was talking about: public class CharacterEncodingFilter implements Filter { private String encoding; public void destroy() { } public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws ServletException, IOException {

Re: utf8 problems...

2011-11-13 Thread Maurizio Cucchiara
Hi Christian, I have been using SM in production environments for a long time now. AFAIK 3.x is fairly stable though is still alpha. The encoding issues are my nightmare :), you don't never know where they come from. The default encoding of S2 is UTF8, anyway to enforce the concept you could alway

utf8 problems...

2011-11-13 Thread Christian Grobmeier
Hi guys, I am searching for a utf-8 problem in my app. I have struts 2 with sitemesh 2.x bundled. backoffice is apache cayenne which connects to mysql with: &useUnicode=true&characterEncoding=utf8 Now I suspect sitemesh somehow. Any ideas were I could look appreciated Is sitemesh still recommend

Bug? Further problems with @ConversionErrorFieldValidator in nested @VisitorFieldVisitor

2011-09-23 Thread roger
message in context: http://struts.1045723.n5.nabble.com/Bug-Further-problems-with-ConversionErrorFieldValidator-in-nested-VisitorFieldVisitor-tp4833364p4833364.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Dave Newton
(Or struts.xml, the preferred mechanism AFAIK). On Thursday, July 21, 2011, Jason Pyeron wrote: >> -Original Message- >> From: Asleson, Ryan >> Sent: Thursday, July 21, 2011 8:37 >> To: user@struts.apache.org >> Subject: [struts-user] OGNL Problems During

RE: [struts-user] OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Jason Pyeron
> -Original Message- > From: Asleson, Ryan > Sent: Thursday, July 21, 2011 8:37 > To: user@struts.apache.org > Subject: [struts-user] OGNL Problems During Struts2 Upgrade > > > Hello, > > We are attempting to upgrade our application from Struts2 >

Re: OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Asleson, Ryan
I enabled static method access by adding this to struts.xml: Thanks to the direction I found here under the "Accessing static properties" section: http://struts.apache.org/2.2.3/docs/ognl-basics.html And it now works!!! Thank you On Jul 21, 2011, at 7:42 AM, Asleson, Ryan wrote: How

Re: OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Asleson, Ryan
How do I enable static method access? Is that through OGNL or Struts2? I don't know why the default formatting tags aren't being used. Probably because the app uses a custom content management system but I don't know. There are over 100 files that use this method for formatting dates and I r

Re: OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Dave Newton
Did you enable static method access? The default may have changed. (Is there a reason the default formatting tags aren't being used? Or the JSTL format tags?) Dave On Thursday, July 21, 2011, Asleson, Ryan wrote: > > Hello, > > We are attempting to upgrade our application from Struts2 version 2.

OGNL Problems During Struts2 Upgrade

2011-07-21 Thread Asleson, Ryan
Hello, We are attempting to upgrade our application from Struts2 version 2.0.11.2 to the current version, 2.2.3. As part of the upgrade, OGNL was upgraded from version 2.7.3 to version 3.0.1. Our JSPs make use of OGNL to call static methods on classes to help with formatting. Here's an exam

Problems with JSONWriter loading classes from Class.forName

2011-07-19 Thread Bruno Borges
, ex); } I think the problem is that projects that use this and are installed on IBM WebSphere, are having problems. The JAR is deployed as a SharedLib and so, goes to the parent classloader of the Application. Using Thread's contextClassLoader seems to fix the proble

Re: Struts2 REST plugin problems

2011-07-05 Thread Łukasz Lenart
2011/7/4 Aelbery Lee : > Yes. I had set "struts.rest.namespace" in the struts.xml to "/ws". It must work, could you show your action's source code ? Do you map like these below: /ws/model -> ModelAction.index() /ws/mode/1 -> ModelAction.show() Regards -- Łukasz + 48 606 323 122 http://www.lena

Re: Struts2 REST plugin problems

2011-07-03 Thread Aelbery Lee
Yes. I had set "struts.rest.namespace" in the struts.xml to "/ws". -- View this message in context: http://struts.1045723.n5.nabble.com/Struts2-REST-plugin-problems-tp3492324p4548572.html Sent from the Struts - User mailing list a

Re: Struts2 REST plugin problems

2011-07-03 Thread Łukasz Lenart
gt; > So I must make a mistake. Thanks for you help. > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/Struts2-REST-plugin-problems-tp3492324p4544292.html > Sent from the Struts - User mailing list archive at Nabble.com. > > ---

Re: Struts2 REST plugin problems

2011-07-02 Thread Aelbery Lee
und", ws action. So I must make a mistake. Thanks for you help. -- View this message in context: http://struts.1045723.n5.nabble.com/Struts2-REST-plugin-problems-tp3492324p4544292.html Sent from the Struts - User mailing l

Re: problems with the locale

2010-09-16 Thread Daniel Rindt
Am Donnerstag, den 16.09.2010, 12:06 +0200 schrieb Daniel Rindt: > the interceptor for i18n in struts should switch the locale after a > request with parameter ?request_locale=en. The property files are used > properly with the right translation, but when i ask in the action for > the language getL

problems with the locale

2010-09-16 Thread Daniel Rindt
Hello, the interceptor for i18n in struts should switch the locale after a request with parameter ?request_locale=en. The property files are used properly with the right translation, but when i ask in the action for the language getLocale().getLanguage(); i got still the old language instead of th

Re: Struts2 REST plugin problems

2010-09-02 Thread Rafael Taboada
Hi folks, I've just resolved my issue. My goal is to add struts-restful-plugin to an struts2 existent app. So i needed to have an url handler If I request http://localhost:8080/myApp/login.action, it must be resolved by DefaultActionMapper If I request http://localhost:8080/myApp/service/client/3

Re: Struts2 REST plugin problems

2010-09-02 Thread Rafael Taboada
Hi folks, I've just resolved my issue. My goal is to add struts-restful-plugin to an struts2 existent app. So i needed to have an url handler If I request http://localhost:8080/myApp/login.action, it must be resolved by DefaultActionMapper If I request http://localhost:8080/myApp/service/client/3

Re: Struts2 REST plugin problems

2010-08-31 Thread Dale Newfield
On 8/31/10 5:17 PM, Rafael Taboada wrote: But I'm having the same problem "HTTP status 404" So it is failing to find any valid action mapping? What do your logs show? This might help you figure out what's going on: http://struts.apache.org/2.x/docs/config-browser-plugin.html My struts.xml lo

Re: Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
Hi, I was debugging PrefixBasedActionMapper and a I noticed that: - It gets the right actionmappers "/service" -> org.apache.struts2.dispatcher.mapper.restful2actionmap...@34e6529c "" -> org.apache.struts2.dispatcher.mapper.defaultactionmap...@50e8709d - When I can access the uri /example/HelloW

Re: Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
Great, But I'm having the same problem "HTTP status 404" I've downloaded struts-blank2.2.1 and added jars about restful plugin (struts2-rest-showcase-2.2.1) My struts.xml looks like : HelloWorld

Re: Struts2 REST plugin problems

2010-08-31 Thread Dale Newfield
On 8/31/10 4:40 PM, Rafael Taboada wrote: I have in my struts.xml It means, every url that contains 'service' must be mapped with Restful2ActionMapper, everything else use default mapping. Is that correct? What am i missing or doing wrong? Almost. It means that every request that starts w

Re: Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
Hi, I've been looking at PrefixBasedActionMapper. What is the way to configure it? I have in my struts.xml It means, every url that contains 'service' must be mapped with Restful2ActionMapper, everything else use default mapping. Is that correct? What am i missing or doing wrong? On Tue, Au

Re: Struts2 REST plugin problems

2010-08-31 Thread Dale Newfield
On 8/31/10 3:15 PM, Rafael Taboada wrote: I migrated my app to 2.1 because I need to use restful plugin, didn't think in 2.2 because it was released just a month ago (i think) and i don't know if it is a good option in production environment. Theoretically any GA (General Availability) release

Re: Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
Thanks so much for your answer. I migrated my app to 2.1 because I need to use restful plugin, didn't think in 2.2 because it was released just a month ago (i think) and i don't know if it is a good option in production environment. I'll consider your advice. Thanks On Tue, Aug 31, 2010 at 1:21

Re: Struts2 REST plugin problems

2010-08-31 Thread Dale Newfield
On 8/31/10 2:05 PM, Rafael Taboada wrote: Is there a chance to my traditional actions can co-exist with restful controllers?... If you're looking to have different parts of your url space get processed by different action mappers, the PrefixBasedActionMapper included in 2.2 might be what you'

Re: Struts2 REST plugin problems

2010-08-31 Thread Dale Newfield
On 8/31/10 1:04 PM, Rafael Taboada wrote: I have an struts2.0.14 app working well and I decided to migrate to struts2.1.8. Migration worked well. But when I tried to include rest plugin, my current urls to process some actions don't work. I have a http 404 error as a result. My goal is using res

Re: Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
I've just noticed, that rest plugin change the way how i can access to a specific action. When i use http://localhost:8080/myApp/runLogin.action, action mapping is failing. It thinks it is a restful method. and I can access the action putting http://localhost:8080/myApp/runLogin!execute Is there

Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
Hi folks, I have an struts2.0.14 app working well and I decided to migrate to struts2.1.8. Migration worked well. But when I tried to include rest plugin, my current urls to process some actions don't work. I have a http 404 error as a result. My goal is using restful to publish some methods loca

Problems with List> OGNL expression

2010-08-10 Thread Obinna
I'm using Struts 2.1.8.1, xwork 2.1.6 and Tthere seems to be an issue trying to populate the fields of a Lis of Maps using OGNL. In my action I have an action property name 'grid' with appropriate getters/setters of type ArrayList> which I want to populate dynamically from a grid of textboxes. I

Re: problems with struts2 and session

2010-01-08 Thread Paweł Wielgus
nterface to your action. >>>> >>>> Best greetings, >>>> Pawel Wielgus. >>>> >>>> 2010/1/5, Sergio : >>>> >>>> >>>>> >>>>> Sergio escribió: >>>>> >>>>> >&

Re: problems with struts2 and session

2010-01-06 Thread Sergio
ibió: Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use <%= session.getAttribute( "variable" ) %> to gain access to "variable" and that works when i modify "variable" into a jsp page, but

Re: problems with struts2 and session

2010-01-06 Thread Paweł Wielgus
5, Sergio : >> >>> Sergio escribió: >>> >>>> Hi people, >>>> >>>> i'm a newbie to struts2. I'm having too many problems modifing session >>>> parameters. I use <%= session.getAttribute( "va

Re: problems with struts2 and session

2010-01-06 Thread Sergio
Paweł Wielgus escribió: Hi Sergio, add SessionAware interface to your action. Best greetings, Pawel Wielgus. 2010/1/5, Sergio : Sergio escribió: Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use <%= session.getAttribu

Re: problems with struts2 and session

2010-01-06 Thread Paweł Wielgus
Hi Sergio, add SessionAware interface to your action. Best greetings, Pawel Wielgus. 2010/1/5, Sergio : > Sergio escribió: >> Hi people, >> >> i'm a newbie to struts2. I'm having too many problems modifing session >> parameters. I use <%= session.getAttr

Re: problems with struts2 and session

2010-01-05 Thread Sergio
Sergio escribió: Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use <%= session.getAttribute( "variable" ) %> to gain access to "variable" and that works when i modify "variable" into a jsp page

problems with struts2 and session

2010-01-05 Thread Sergio
Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use <%= session.getAttribute( "variable" ) %> to gain access to "variable" and that works when i modify "variable" into a jsp page, but no

Re: Problems with tokenSession interceptor

2009-11-30 Thread Diego Manilla Suárez
using Tiles). I don't remember why I mapped the servlet to all dispatchers, but I suppose some day I'll find out the reason ;) Diego Manilla Suárez escribió: Hi. I'm trying to use the tokenSession interceptor to prevent double submit problems. The problem is that this line in

Problems with tokenSession interceptor

2009-11-30 Thread Diego Manilla Suárez
Hi. I'm trying to use the tokenSession interceptor to prevent double submit problems. The problem is that this line in TokenHelper.setToken (invoked from tag) always return null: ActionContext.getContext().getSession() I'm also using the createSession interceptor, but it's st

REST multiple return type problems

2009-11-28 Thread David Canos
Hi guys i'm using REST plugin in Struts 2.1.8.1 I'm using ModelDriven and also using a result (resultType stream) to output some special cases like simple "true or false" coded manually in json. It's working properly but if I define I *cannot use my own results*, it's always returning model

Re: Convention plugins problems

2009-09-25 Thread Ingo Hoffmann
Hi John, It seems jetty-run is extracting the WAR already: Extract jar:file:/Users/lasombra/x/bab/Borrow-a-Book.war!/ to /private/ var/folders/tx/tx81A4fxHIqgj+kBEbe3CU+++TI/-Tmp-/ Jetty_0_0_0_0_8080_Borrow.a.Book.waremg8ve/webapp And scanning the WAR is not working either. On 25/09/200

Re: Convention plugins problems

2009-09-25 Thread Ingo Hoffmann
rrors can be ignored, they are just annoying. musachy On Fri, Sep 25, 2009 at 8:22 AM, Ingo Hoffmann wrote: That makes sense. Should I enable jar scanning maybe? -Original Message- From: Musachy Barroso Date: Fri, 25 Sep 2009 08:20:29 To: Struts Users Mailing List Subject: Re: Convent

Re: Convention plugins problems

2009-09-25 Thread Musachy Barroso
e: > That makes sense. > Should I enable jar scanning maybe? > -Original Message- > From: Musachy Barroso > Date: Fri, 25 Sep 2009 08:20:29 > To: Struts Users Mailing List > Subject: Re: Convention plugins problems > > that makes sense. By the default Convention wi

Re: Convention plugins problems

2009-09-25 Thread Ingo Hoffmann
That makes sense. Should I enable jar scanning maybe? -Original Message- From: Musachy Barroso Date: Fri, 25 Sep 2009 08:20:29 To: Struts Users Mailing List Subject: Re: Convention plugins problems that makes sense. By the default Convention will not scan jar files, the jar files are

Re: Convention plugins problems

2009-09-25 Thread Musachy Barroso
that makes sense. By the default Convention will not scan jar files, the jar files are found using the META-INF directory. If the application is not unpacked, the the plugin will not find the classes. musachy On Fri, Sep 25, 2009 at 5:10 AM, j.ollier wrote: > I have also been trying to get start

Re: Convention plugins problems

2009-09-25 Thread j.ollier
I have also been trying to get started with the Convention plugin and was struggling to understand why a webapp which works fine in Tomcat would not work in Jetty. I found that if Jetty does not expand the WAR file then I get this on startup: java.lang.Exception: Could not load WEB-INF/classes/co

Re: Convention plugins problems

2009-09-24 Thread Ingo Hoffmann
I'm using the jetty-starter On 24/09/2009, at 17:33, Musachy Barroso wrote: hard to say. A good point to start debugging is in PackageBasedActionConfigBuilder.buildUrlSet, for some reason it is not finding the actions. I used jetty all the time, but I use it with the maven jetty plugin. musach

Re: Convention plugins problems

2009-09-24 Thread Musachy Barroso
hard to say. A good point to start debugging is in PackageBasedActionConfigBuilder.buildUrlSet, for some reason it is not finding the actions. I used jetty all the time, but I use it with the maven jetty plugin. musachy On Thu, Sep 24, 2009 at 12:53 PM, Ingo Hoffmann wrote: > In contrast to Tomc

Re: Convention plugins problems

2009-09-24 Thread Ingo Hoffmann
In contrast to Tomcat: 2009-09-24 16:51:08,115 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Setting action default parent package to [convention-default] 2009-09-24 16:51:08,117 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Loading acti

Re: Convention plugins problems

2009-09-24 Thread Ingo Hoffmann
The only thing TRACE returns: 2009-09-24 16:24:06,956 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Setting action default parent package to [convention-default] 2009-09-24 16:24:06,958 [TRACE] (com.opensymphony.xwork2.util.logging.commons.CommonsLogger:69) Loadi

Re: Convention plugins problems

2009-09-24 Thread Musachy Barroso
Any traces or errors? Set the log level to TRACE musachy On Thu, Sep 24, 2009 at 12:20 PM, Ingo Hoffmann wrote: > Hi, > > I have been trying to get the Convention plugin to work on Winstone and > Jetty without any luck. It seems it doesn't even start. > > The same .war works without issues on To

Convention plugins problems

2009-09-24 Thread Ingo Hoffmann
Hi, I have been trying to get the Convention plugin to work on Winstone and Jetty without any luck. It seems it doesn't even start. The same .war works without issues on Tomcat. I set org.apache.struts2.convention to DEBUG and I see on the Tomcat logs the convention plugins mapping my URLs

Problems, using submit button with individual confirm popUp

2009-09-17 Thread GernotB
my problem? -- View this message in context: http://www.nabble.com/Problems%2C-using-submit-button-with-individual-confirm-popUp-tp25491939p25491939.html Sent from the Struts - User mailing list archive at Nabble.com. - To

RE: Intermittent Session Problems in Strut2.

2009-09-15 Thread John Liptak
nt Session Problems in Strut2. Even we am facing this problem with my application whe it runs on proxy servers. Apparently, this problem occurs only with a certain proxy server. There may be rules defined on the proxy server but being an internet application we have to live with it and find a sol

Re: Intermittent Session Problems in Strut2.

2009-09-10 Thread j alex
avail. > > Any pointers will be greatly appreciated. > > Thanks > > Rohan > > > > > > > > pankaj semwal wrote: > >> > >> Intermittent session problems come when our application runs on proxy > >> servers. > >> Even i put the cache remove tag

Re: Intermittent Session Problems in Strut2.

2009-09-09 Thread Paweł Wielgus
rs will be greatly appreciated. > Thanks > Rohan > > > > pankaj semwal wrote: >> >>  Intermittent session problems come when our application runs on proxy >> servers. >> Even i  put the cache remove tags in jsp. >> >> Still same problem i

Re: Intermittent Session Problems in Strut2.

2009-09-09 Thread rohansd
shared comes from the database.. Interestingly, when the browser is refreshed the data shows up correctly. we tried the no-cache as well as no-store stuff in jsps to no avail. Any pointers will be greatly appreciated. Thanks Rohan pankaj semwal wrote: > > Intermittent session problem

  1   2   3   4   5   6   7   8   9   10   >