| Author |
Struts Application Deployment
|
Gautam Verma
Greenhorn
Joined: Dec 15, 2010
Posts: 4
|
|
I have made a project using eclipse IDE, compiling it using Ant and deplying it on tomcat. ( by put the host tag in the servlet configuration file. )
The structure of the project is
- classes ( it contains the compiled java classes. )
- build.xml ( it is the build script used by the Ant. )
- src ( the Source folder. )
- WebContent
- JSP ( it contains all the JSP files. )
- WEB-INF
- lib ( it has subfolders which contains jar file, like struts folder has all struts jar files and servlet folder has all servlet files.)
- struts-config.xml
- web.xml
I am compiling it using Ant and it compiling fine , but when i am deploying it on tomcat it is not able to find the struts jar files.
P.S - I can give more detailed information if asked, but please help me out to run it.
How to provide all information to web-app at runtime?
|
 |
Gautam Verma
Greenhorn
Joined: Dec 15, 2010
Posts: 4
|
|
The directory Structure has messed up. Actually it is,
The structure of the project is
classes ( it contains the compiled java classes. ) build.xml ( it is the build script used by the Ant. ) src ( the Source folder. ) WebContent
----------- JSP ( it contains all the JSP files. )
----------- WEB-INF
------------------------------- lib ( it has subfolders which contains jar file, like struts folder has all struts jar files and servlet folder has all servlet files.)
------------------------------- struts-config.xml
------------------------------- web.xml
--- -> to indicate these are contained in the above folder.
Now can anybody help me out. How actually to deploy so that they can find jar files.
|
 |
 |
|
|
subject: Struts Application Deployment
|
|
|