This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Accessing class files in a JAR file with struts application.