I have created web application using Struts 1.2 framework,In my Web app previously I am not using WAR deployment so I have give all the path using contextpath,but after creating WAR file I am enable to get contextpath so please help me on this issue, How to resolve the issue if I want to keep all the xml file inside the web app folder.
In you WAR, you can specify the classpath entries in the file: WAR/META-INF/MANIFEST.MF
The classpath entries are specified under "Class-Path:" in manifest.mf. For e.g: The manifest file content can be as follows: Manifest-Version: 1.0 Class-Path: lib/xyz.jar lib/castor-0.9.6-xml.jar lib/log4j-1. 2.8.jar lib/xmlbinding.jar config config/xsd config/xml
The entries have to be space separated. You can include folders and jars in classpath.
[ July 28, 2008: Message edited by: Sandeep Narasimhamurthy ] [ July 28, 2008: Message edited by: Sandeep Narasimhamurthy ]