Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-10 Thread reason
wehey! it worked :) i'm positive i had copy/pasted that line from somewhere official. is someone playing tricks on us struts2 newbies? evil bums! cheers, kostis hum, I use this all the time: mvn archetype:create -DgroupId=tutorial \ -DartifactId=tutorial \

Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-10 Thread Musachy Barroso
hum, I use this all the time: mvn archetype:create -DgroupId=tutorial \ -DartifactId=tutorial \ -DarchetypeGroupId=org.apache.struts \ -DarchetypeArtifactId=struts2-archetype-starter \ -DarchetypeVersion=

Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-10 Thread reason
thanks musachy that was actually my initial attempt but it ran aground (see below) so i gave up and did it the hard way [kos...@ares tmp]$ echo $JAVA_HOME;echo;echo;mvn archetype:create -DgroupId=tutorial-DartifactId=tutorial -DarchetypeGroupId=o

Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-09 Thread Musachy Barroso
using the maven archetype to get an app setup is a good idea, it can save you a lot of frustration. musachy On Mon, Nov 9, 2009 at 6:07 AM, reason wrote: > > Hello Jozef > > Great bit of help, along with the other guys! After dozens of hours of > frustration finally got the app running! > Struts

Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-09 Thread Jozef Fiflik
Hello Kostis, I am glad you finally got the app running! Your first app, my first comments in this forum... so I am double glad :-) Jozef. On Mon, Nov 9, 2009 at 2:07 PM, reason wrote: > > Hello Jozef > > Great bit of help, along with the other guys! After dozens of hours of > frustration f

Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-09 Thread reason
Hello Jozef Great bit of help, along with the other guys! After dozens of hours of frustration finally got the app running! Struts seem to have a steep learning curve but i'll get there in the end... ;) many thanks, kostis Hello, couple of things: -- View this message in context: http://o

Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-09 Thread Jozef Fiflik
Hello, couple of things: 1. Struts2 Action is not Servlet, so you don't need following part in your web.xml: HelloWorld tutorial.HelloWorld Based on your first email I assume that tutorial.HelloWorld is an action class, not Servlet. So please, remove this part. 2. Your action result pag

Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-08 Thread reason
many thanks for both responses. the web.xml looks as follows: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> helloStruts

Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-07 Thread gaurav nigam
Hello, it seems to me that problem could exist at any of the two place. #Either action class's execute method is not getting called. Add SOPs with message variable in execute method to verify that. #Either your action class's execute method is getting called but the value of the message variable

Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-07 Thread Jozef Fiflik
Hello, your code and struts settings looks fine, so I guess the problem will be in the web.xml. How is set your Filter? What filter do you use? By the way, in struts page you sent, there is FilterDispatcher mentioned, but it is deprecated since 2.1.3. More about it here: http://struts.apache.org/