Re: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread Nils-Helge Garli Hegvik
action (on Thread2) tries to use the request >> >> >> >> Step #5 causes an exception in the container. Null pointer exeception >> >> >> >> How to fix this issue? >> >> >> >> Can any body help me? >> >> >> >>

RE: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread nikunj
request >> >> >> >> Step #5 causes an exception in the container. Null pointer exeception >> >> >> >> How to fix this issue? >> >> >> >> Can any body help me? >> >> >> >> Thanks in advance >> >>

Re: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread Nils-Helge Garli Hegvik
starts Thread2 and executes your action >>> >>> 4) Thread1 finishes and cleans up request >>> >>> 5) Your action (on Thread2) tries to use the request >>> >>> >>> >>> Step #5 causes an exception in the container. Null pointer

FW: Migratring to struts 1.2.7 from struts1.0b

2008-11-26 Thread Rajil
(JspServlet.java:265) >javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188) > > > > > > Is there any change in TagLibrary also? Do I have to replace my tag > libraries and their

Dummy example Struts 2.0 - My Sql

2008-11-26 Thread Carlos Iglesias
Hello, I'm beginning wity Struts and I found the samples very useful, expecially the app struts2-showcase-2.0.11.2.war. But I'd need other sample to begin my own to make my owns aplications. ¿Is there any sample of struts2 with mysql? ¿Can anyone send my an url? Thanks in advance. Carlos Iglesia

RE: Dummy example Struts 2.0 - My Sql

2008-11-26 Thread Rajil
of struts2 with mysql? ¿Can anyone send my an url? Thanks in advance. Carlos Iglesias MADRID SPAIN __ NOD32 3641 (20081126) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com --

Tiles and Validate

2008-11-26 Thread mthalis
It is possible to use tiles and validation(validation forms data) in same project. if it is possible please give me reference or sample project. please help me.. Thank you -- View this message in context: http://www.nabble.com/Tiles-and-Validate-tp20699267p20699267.html Sent from the Struts -

Re: Validation and Tiles

2008-11-26 Thread mthalis
I find the answer below show how to solve it. (where login.page and login.success are both tiles defs) -- View this message in context: http://www.nabble.com/Validation-and-Tiles-tp20694339p20699602.html Sent from the Struts - User mailing list archive at Nabble.com.

RE: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread nikunj
is: >>> >>> >>> >>> 1) Thread1 handles request >>> >>> 2) Thread1 gives request to Tomcat >>> >>> 3) Tomcat starts Thread2 and executes your action >>> >>> 4) Thread1 finishes and cleans up request >>&g

Re: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread Lukasz Lenart
2008/11/26 nikunj <[EMAIL PROTECTED]>: > Try to understand my problem. > I don't wana change my method signature. > I have no problem to make another overloaded method. > But I don't want to change my original method. > You replied me with changing my original method. Then you will be not able to

RE: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread ravindra
t to Tomcat >>> >>> 3) Tomcat starts Thread2 and executes your action >>> >>> 4) Thread1 finishes and cleans up request >>> >>> 5) Your action (on Thread2) tries to use the request >>> >>> >>> >>> Step #5 cau

Re: Struts2 2.0.11 problem with url and parameters

2008-11-26 Thread Andras Balogh
Hi, Can you set the log level to DEBUG to see what the interceptors say? Something like: log4j.category.com.opensymphony=DEBUG BR, Andras - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread nikunj
Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 3642 (20081126) Information __ This message was checked by NOD32 antivi

RE: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread nikunj
t; >>> 2) Thread1 gives request to Tomcat >>> >>> 3) Tomcat starts Thread2 and executes your action >>> >>> 4) Thread1 finishes and cleans up request >>> >>> 5) Your action (on Thread2) tries to use the request >>> >>>

Re: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread Nils-Helge Garli Hegvik
ote: >>>> Dear All, >>>> >>>> >>>> >>>> Servlet container is written to be single-threaded. >>>> >>>> >>>> >>>> That means that the "request" object isn't designed to be used after the >>>> >>>>

Re: ExecuteAndWaitInterceptor Issue - ThreadLocal object

2008-11-26 Thread Nils-Helge Garli Hegvik
l, >>>> >>>> >>>> >>>> Servlet container is written to be single-threaded. >>>> >>>> >>>> >>>> That means that the "request" object isn't designed to be used after the >>>> >>

Re: Struts2 2.0.11 problem with url and parameters

2008-11-26 Thread Tomi21
I've create a sample application with only one jsp, one action and no user-defined interceptors. Even in this case the parameter is not being set. These are the application main file. Please help!!I don't know what more I can try. struts.xml - http://struts.apache.org/dtds/struts-2.0.dtd

Struts - indexed property problem with jdk1.5 - overloaded get/set method with same name - for Struts Team

2008-11-26 Thread Rajil
Hello everyone; I am using jdk1.4, struts1.0 and tomcat4.1 for my application. And I wanted to upgrade my application to jdk1.5. Struts1.0 had some problem with jdk1.5. I was not able to interpret two property with the same name, one is indexed and other is not. E.g. I have one Acti

Re: Tiles and Validate

2008-11-26 Thread Antonio
2008/11/26 mthalis <[EMAIL PROTECTED]>: > > It is possible to use tiles and validation(validation forms data) in same > project. if it is possible please give me reference or sample project. > please help me.. I don't see why not validator and Tiles can be used together, they are used in two diff

Re: Dummy example Struts 2.0 - My Sql

2008-11-26 Thread Carlos Iglesias
Hello, > I'm beginning wity Struts and I found the samples very useful, expecially > the app struts2-showcase-2.0.11.2.war. > > But I'd need other sample to begin my own to make my owns aplications. > > ¿Is there any sample of struts2 with mysql? > ¿Can anyone s

Re: Re: Dummy example Struts 2.0 - My Sql

2008-11-26 Thread stewart
I will be out of the office, and mostly without email access, until Dec 1. Please contact the One World office, 605-845-7172, with any general needs, and Danny Nickels, [EMAIL PROTECTED], at the same number, for any technical or integration issues. If this is an emergency, please feel free to c

Re: Struts2 2.0.11 problem with url and parameters

2008-11-26 Thread Tomi21
Hi, I've try that but interceptors dont say anything. What I've done next is changing 'struts.xml' so there are no interceptors configured. The packagedoes not extend struts-default anymore. The action is still being executed but the parameter is not being set anyway.:( Any ideas from this point

Struts 1.3.8 : Cancel Button (and custom submit one)

2008-11-26 Thread zm
Hi, I'm having a trouble setting this up: Let's imagine I have "Search.do" form, and clicking a link, it goes to "Result.do". Then I but an "" element on the jsp pages (all of them), and set something like: I want that when a user clicks the cancel, the "result" will sen

Re: Struts2 2.0.11 problem with url and parameters

2008-11-26 Thread Dave Newton
--- On Wed, 11/26/08, Tomi21 <[EMAIL PROTECTED]> wrote: > What I've done next is changing 'struts.xml' so > there are no interceptors configured. > The packagedoes not extend struts-default anymore. > The action is still being executed but the parameter is not > being set anyway.:( Well that's har

need to create servlet

2008-11-26 Thread Fernandes, Filipe
We're working on a struts 2 application in Websphere and the plan is to serve static content via the IBM Http Server while all other requests are forwarded to the application server. We're having trouble forwarding action requests to the app server, but there's an FAQ that describes what needs

RE: need to create servlet

2008-11-26 Thread Fernandes, Filipe
Filipe Fernandes wrote: > The question is, how do we create a separate server context root for > *.action in order to get rid of the filter mappings in the web.xml? Any > hints would be appreciated... I forgot to mention that a LaunchServlet example is available in the following webpage, but the e

Re: need to create servlet

2008-11-26 Thread Steven Yang
I am guessing its suggesting you have one context root for static content and another root for your actions and stuff. for example you might have something like for actions http://localhost/actions/login.action and for static contents http://localhost/static/login.png and in your login.action j