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
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
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
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
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
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
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
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
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,
9 matches
Mail list logo