Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Accessing class files in a JAR file with struts application.

 
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
 
    Bookmark Topic Watch Topic
  • New Topic