exception when running my struts jsp

2012-03-07 Thread Oussama Jlassi
i modified struts-config.xml but when i run localhost:8080/struts1/login.jspEtat HTTP 500 -type Rapport d'exceptionmessagedescription Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête.exceptionorg.apache.jasper.JasperException: An exception occurred process

Validation doesn't seem to work with struts2-rest-showcase 2.3.1.2 example

2012-03-07 Thread firstclick
Hi, I have downloaded the struts2-rest-showcase.war version 2.3.1. When I try to create a new order and leave the client name empty, the page goes blank. I have also added the following to the struts.xml Please help me resolve this. - Deepak D. Uzagare -- View this messa

RE: exception when running my struts jsp

2012-03-07 Thread Jason
as Dave pointed out, letter 'f ' also not match. -Original message- From: Oussama Jlassi Sent: 08/03/2012, 6:34 AM To: user@struts.apache.org Subject: RE: exception when running my struts jsp i corrected struts-config.xml i put the first letter of form bean name in uppercase index2.j

RE: exception when running my struts jsp

2012-03-07 Thread Oussama Jlassi
i corrected struts-config.xml i put the first letter of form bean name in uppercase index2.jsp work but in login.jsp i got the same message > Date: Wed, 7 Mar 2012 17:07:09 -0500 > Subject: Re: exception when running my struts jsp > From: davelnew...@gmail.com > To: user@struts.apache.org > > Y

Re: exception when running my struts jsp

2012-03-07 Thread Dave Newton
Your form bean name does not match the name used in the action's configuration. Dave On Wednesday, March 7, 2012, Oussama Jlassi wrote: > i use struts 1.3.10 > in tomcat 6 when i run the url all i got http 500 how to solve my problem > localhost:8080/struts1/login.jsp i got > > Etat HTTP 500 - >

Re: exception when running my struts jsp

2012-03-07 Thread Dave Newton
Go ahead and cut-and-paste the messages here. Dave (pardon brevity and typos, on cell) On Mar 7, 2012 2:46 PM, "Oussama Jlassi" wrote: > > i use struts 1.3.10in tomcat 6 when i run > localhost:8080/struts1/login.jsp i gothttp:// > img15.hostingpics.net/pics/826740login.png > > localhost:8080/st

Re: Does the orrder of wildcard-annotated methods effects greediness?

2012-03-07 Thread Maurizio Cucchiara
In addition to what Dave suggested, could you check it against the latest nightly build? IIRC I made some change recently on wildcard support. Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/maurizio

Re: Does the orrder of wildcard-annotated methods effects greediness?

2012-03-07 Thread Dave Newton
I'm wondering if `struts.mapper.alwaysSelectFullNamespace` would affect this. Dave On Wed, Mar 7, 2012 at 12:39 PM, Mounir Benzid wrote: > Here is a simple example showing two methods in the given order > >/*** > **

Does the orrder of wildcard-annotated methods effects greediness?

2012-03-07 Thread Mounir Benzid
Here is a simple example showing two methods in the given order /***/ @Override @Action(value="/do/some/specificstuff/{thing}", results={@Result(location = "result.jsp")}), public String ex

Re: Help with problem: ThreadLocal left after stopping tomcat

2012-03-07 Thread Tom K
Thanks for the reply. Based on my experimentation it appears these threads are started by the Struts framework on startup. As I mentioned if I comment out my StrutsPrepareAndExecute filter and start/stop the app, I don't get any SEVERE warnings from tomcat. I can catch the Web Application shutdo

Re: Help with problem: ThreadLocal left after stopping tomcat

2012-03-07 Thread Greg Lindholm
I also get a boat-load of these ThreadLocal errors when I stop my app (using Tomcat 6). Tomcat 6 & 7 are now checking and reporting on all the debris that gets left behind when an app shuts down. I don't think the WW-560 addresses this problem. If I understand it correctly the problem is when th

Re: use struts2 in a xxxx.jsp url

2012-03-07 Thread eelboy
Yes, I have considered it (and still am). I thought I would first inquire here about possible solutions. If there were some way from within a jsp to instantiate whatever mechanism is being triggered by the struts.xml action element then I thought I might be able to have the best of both world

Re: Struts doesn't find my classes

2012-03-07 Thread vEnkaTa mohAna rAo SriperumbUdUru
make sure that the HelloWorldAction class file present in ../wtpwebapps/project1/WEB-INF/classes folder. On Wed, Mar 7, 2012 at 6:03 PM, Jeffrey Black wrote: > Can you post some more artifacts for us to inspect (e.g. struts.xml, > web.xml)? > > jb > > On Wed, Mar 7, 2012 at 6:27 AM, Alexandru wr

Re: Struts doesn't find my classes

2012-03-07 Thread Jeffrey Black
Can you post some more artifacts for us to inspect (e.g. struts.xml, web.xml)? jb On Wed, Mar 7, 2012 at 6:27 AM, Alexandru wrote: > I don't understand why struts doesn't find my classes. (attached you'll > find a screenshot of the struts.xml file and general file structure) > This is the error

Re: use struts2 in a xxxx.jsp url

2012-03-07 Thread Jeffrey Black
Have you considered a URL Rewrite Filter? http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/3.2/index.html jb On Tue, Mar 6, 2012 at 6:28 PM, eelboy wrote: > No -- I'm OK with that. I'm pretty willing to do anything that is being > asked of me *except* handing over my uri :) It

Struts doesn't find my classes

2012-03-07 Thread Alexandru
I don't understand why struts doesn't find my classes. (attached you'll find a screenshot of the struts.xml file and general file structure) This is the error: SEVERE: Dispatcher initialization failed Unable to load configuration. - action - file:/D:/x/workspace/.metadata/.plugins/org.eclipse.ws

Re: convention plugin does not seem to include the WEB-INF/lib dir

2012-03-07 Thread Łukasz Lenart
Did you try to specify struts.convention.action.includeJars constant ? http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-Configurationreference Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura h

Re: Dispalytag cpation is not working anf footer is not exporting

2012-03-07 Thread Jeffrey Black
Sorry it must be too early in the morning when I read this, but it didn't make sense to me. Can you post an example or expand your explanation of the problem you are experiencing? jb On Wed, Mar 7, 2012 at 5:00 AM, Reshmi wrote: > Hi all, > When am using display caption it is not working. The

Re: convention plugin does not seem to include the WEB-INF/lib dir

2012-03-07 Thread Jeffrey Black
https://cwiki.apache.org/confluence/display/WW/Convention+Plugin#ConventionPlugin-Actionsinjarfiles On Wed, Mar 7, 2012 at 5:07 AM, Shinobi wrote: > I am using struts 2.2.3 with the convention plugin > > I have a class HelloWorld which is located in hello.jar which is located in > WEB-INF/lib. I

Re: convention plugin does not seem to include the WEB-INF/lib dir

2012-03-07 Thread Shinobi
I am using struts 2.2.3 with the convention plugin I have a class HelloWorld which is located in hello.jar which is located in WEB-INF/lib. I get a blank page when i go to http://localhost:8080/hello-world because it seems that the convention plugin has not scanned the jars in the WEB-INF/lib dire

Dispalytag cpation is not working anf footer is not exporting

2012-03-07 Thread Reshmi
Hi all, When am using display caption it is not working. The same thing will put in display footer it will come but not coming in export option. What is solution for this? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.

Re: convention plugin does not seem to include the WEB-INF/lib dir

2012-03-07 Thread Łukasz Lenart
2012/3/7 Shinobi : > I have a problem. My Action classes are in a jar in the WEB-INF/lib and > these jars dont seem to appear to be processed. Am I doing something wrong > or is there a way to include them? More details, action class name, config, etc. Kind regards -- Łukasz http://www.lenart.o

convention plugin does not seem to include the WEB-INF/lib dir

2012-03-07 Thread Shinobi
Hi, I have a problem. My Action classes are in a jar in the WEB-INF/lib and these jars dont seem to appear to be processed. Am I doing something wrong or is there a way to include them? Thanks Dave. -- View this message in context: http://struts.1045723.n5.nabble.com/convention-plugin-does-not