• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Setting up a struts project in eclipse?

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi-
Im trying to get started using struts. I've deployed the struts-blank.war and everything works great - until i try to make a project for it in ecliplse. It seems that as soon as I add the jars in WEB-INF/lib to the classpath (via project properties>Java Build Path>Libraries) I get the following exceptions in my browser:


it seems that initial forward on index.jsp works. These exceptions are thrown on Welcome.do

Thanks!
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On first glance, it looks as though the jsp can't find your ApplicationResources.properties file. Make sure you copy it from wherever it exists in your source to the WEB-INF/classes directory.
 
Dudley Dawson
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Merrill Higginson:
On first glance, it looks as though the jsp can't find your ApplicationResources.properties file.



That was it, thanks. The problem was caused when i changed my default output directory from /project/bin/ to /project/web/WEB-INF/classes/, it deleted the entire contents from the .../classes/ directory.
 
Dudley Dawson
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also- I'm using struts v1.2.4. I'm guessing somewhere along the line "ApplicationResorces.properties" got changed to "MessageResources.properties"?

Do they still serve the same purpose?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, they're the same. It just got renamed.
reply
    Bookmark Topic Watch Topic
  • New Topic