File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in running the Struts2 program

 
madhuri kunchala
Ranch Hand
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thougt you are not givven properly action path in struts.xml file check it
Regards,
Prince
 
madhuri kunchala
Ranch Hand
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i checked it here is my jsp page and struts.xml file..can you check it..


 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic