aspose file tools*
The moose likes Struts and the fly likes Struts 2 Tiles integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 Tiles integration" Watch "Struts 2 Tiles integration" New topic
Author

Struts 2 Tiles integration

meruva surendra
Greenhorn

Joined: Jul 28, 2013
Posts: 24
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]


[Thumbnail for Capture2.JPG]

khan suna
Greenhorn

Joined: Sep 28, 2013
Posts: 3
Hi,

Try it : http://www.vaannila.net/struts-2/struts-2-example/struts-2-tiles-example-1.html

Emanuel Borsoi
Greenhorn

Joined: Mar 27, 2012
Posts: 15
What about web.xml?
khan suna
Greenhorn

Joined: Sep 28, 2013
Posts: 3
The complete web.xml file:
Emanuel Borsoi
Greenhorn

Joined: Mar 27, 2012
Posts: 15
...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

Joined: Oct 29, 2001
Posts: 8910
    
    8

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?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 Tiles integration