wood burning stoves 2.0*
The moose likes Struts and the fly likes problem in running the Struts2 program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem in running the Struts2 program" Watch "problem in running the Struts2 program" New topic
Author

problem in running the Struts2 program

madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
hi,
i had developed application in Struts2..if im running my jsp page..im getting error as '

can any one help me out...
Kumar prince
Greenhorn

Joined: Jul 30, 2010
Posts: 11
I thougt you are not givven properly action path in struts.xml file check it
Regards,
Prince
madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
hi,
i checked it here is my jsp page and struts.xml file..can you check it..


David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You can use the Struts 2 Config Browser Plugin to check what Struts 2 thinks your configuration is.

(Ignore the error on the page; this is a known issue, and doesn't matter in this case.)
madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
where to configure the Struts 2 Config Browser Plugin.i tried the example program which is given in some of the sites..i had done what they suggested..they provided folders for jsp and xml files..but i didnt used folders in my test application..im not getting why
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Did you read the link I provided? You don't configure anything, you put it in the webapp's lib directory and go to the URL the documentation tells you to.
JasonGg Wang
Greenhorn

Joined: Sep 08, 2010
Posts: 3
so ..
IF your current website is http://localhost:8080/appName/
i suggest you modify your form's action,like
<s:form action="hello/enter" method="post">
OR your current website like http://localhost:8080/appName/hello
so you are right.
 
 
subject: problem in running the Struts2 program