Re: provide Helloworld application in Struts2.0

2011-11-15 Thread Praveen Jain
Dear Dev ,  I have also specified the HelloWorldAction.java in  package whose code is as follows . package Struts2; public class HelloWorldAction { private String name; public String execute()throws Exception { return

Re: provide Helloworld application in Struts2.0

2011-11-15 Thread Praveen Jain
Dear Demo, Still it is not running and following error message is occurring HTTP Status 404 - /HelloWorldStruts2/ type Status report message /HelloWorldStruts2/ description The requested resource (/HelloWorldStruts2/) is not available. Apache Tomcat/5.0.28 Thanks Praveen Jain  --- On

Re: provide Helloworld application in Struts2.0

2011-11-15 Thread JOSE L MARTINEZ-AVIAL
have you checked the tomcat's logs to see if the app is deployed correctly? 2011/11/15 Praveen Jain jain_praveen_mail...@yahoo.com Dear Demo, Still it is not running and following error message is occurring HTTP Status 404 - /HelloWorldStruts2/ type Status report message

RE: provide Helloworld application in Struts2.0

2011-11-15 Thread Ilya Kazakevich
What URL do you use? Struts uses .action extension by default. Try /HelloWorldStruts2/HelloWorldAction.action if HelloWorldStruts2 is your .war file name Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com Develop with pleasure! -Original Message- From: Praveen

RE: provide Helloworld application in Struts2.0

2011-11-15 Thread Praveen Jain
On using it is showing the error as follows  HTTP Status 404 - /HelloWorldStruts2/HelloWorldAction.actiontype Status reportmessage /HelloWorldStruts2/HelloWorldAction.actiondescription The requested resource (/HelloWorldStruts2/HelloWorldAction.action) is not available. Thanks, Praveen Jain

Re: s:textfield / Beginner question

2011-11-15 Thread Emi Lu
Why do I use Struts2/Tiles/openJPA? tiles: to work with layouts struts2: the action concept and the posibility to make mapping between html and the object in my action. Same for me. openJPA: to work with database entities I use mybatis for DB queries. Just curious to know, does

RE: provide Helloworld application in Struts2.0

2011-11-15 Thread Ilya Kazakevich
Does your context works? Try to put hello.html file in the root of your .war file Then open it: /HelloWorldStruts2/hello.html Show us your logs please Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com Develop with pleasure! -Original Message- From: Praveen Jain

Re: provide Helloworld application in Struts2.0

2011-11-15 Thread Dave Newton
Please look in your server logs for startup errors. Seriously! Dave On Tue, Nov 15, 2011 at 2:14 PM, Praveen Jain jain_praveen_mail...@yahoo.com wrote: On using it is showing the error as follows HTTP Status 404 - /HelloWorldStruts2/HelloWorldAction.actiontype Status reportmessage

autocompleter struts2 onchange parameter not working

2011-11-15 Thread vivek jaiswal
  Dear All, I want to apply onchange parameter in sx:autocompleter onchange=testjavscriptmethod / script ... function testjavscriptmethod() { alert('Hi'); } /script but the method is not call why? plz help me with regards,