Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing class files in a JAR file with struts application.

 
abhishek patil
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic