• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 Tiles integration

 
meruva surendra
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi.
When I run my struts2 tiles application i am getting this error.i tried but i didnt get proper answer.Please help me.
FAIL - Deployed application at context path /Struts-tiles but context failed to start
D:\NIC\practiced projects\struts-tiles\nbproject\build-impl.xml:1093: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 2 seconds)

My application details:-

tiles.xml:-

struts.xml:-

BaseLayout.jsp:-


Header.jsp:-

Footer.jsp:-

Menu.jsp:-

Error.jsp:-

Welcome.jsp:-

Login.jsp:-

LoginAction.java:-

I attched jar files list and my application structure.Please find those.
Capture1.JPG
jar files list
[Thumbnail for Capture1.JPG]
Capture2.JPG
Application structure
[Thumbnail for Capture2.JPG]
 
khan suna
Greenhorn
Posts: 3
 
Emanuel Borsoi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about web.xml?
 
khan suna
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The complete web.xml file:
 
Emanuel Borsoi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...web.xml seems ok. I noticed you have two actions with the same name in the same package. Try to rename one. If problem persists, post full stacktrace of tomcat error. Furthermore, i encountered problems naming a method in my java action "login" or "logout". Try renaming them in logUserIn and logUserOut.
 
Joe Ess
Bartender
Posts: 9256
9
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags. It makes your code easier to read.

FAIL - Deployed application at context path /Struts-tiles but context failed to start
D:\NIC\practiced projects\struts-tiles\nbproject\build-impl.xml:1093: The module has not been deployed.
See the server log for details.


So what does the server log say?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic