File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Accessing class files in a JAR file with struts application. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Accessing class files in a JAR file with struts application." Watch "Accessing class files in a JAR file with struts application." New topic
Author

Accessing class files in a JAR file with struts application.

abhishek patil
Greenhorn

Joined: Apr 26, 2007
Posts: 6
Hi,
I have included a JAR file with some class files & trying to access a form bean in struts-config which is in jar file. I have included the jar file in class path but on compiling the code I get

javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml

Despite of correct syntax.
<form-bean name="searchForm" type="com.form.SearchForm"/>.

Please provide any solution to fix the same. We use java 1.4, ant build and struts 1.1.

Can struts read class file from the JAR file?

Thanks in advance

Regards,
Abhishek
 
jQuery in Action, 2nd edition
 
subject: Accessing class files in a JAR file with struts application.
 
Similar Threads
Unable to initialize Struts ActionServlet
rowset.jar with jdk1.4
Connecting to remote database
problem in calling entity bean from session bean
Packaging Confusion