• 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

Websphere 4.0.4, Struts 1.1b2, "Cannot find message resources under key"

 
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using:
IBM Websphere 4.0.4 on Windows 2000
Jakarta Struts 1.1b2
I deployed struts-example.war in Websphere.
Deployment appears to have succeeded.
I am trying to view the application using this
URL:
http://localhost:80/struts-example/index.jsp
This error appears in the web browser:

Error 500: Cannot find message resources under
key org.apache.struts.action.MESSAGE

What is the cause of this error?
Is it possible that this error is due to the fact
that IBM's Websphere Admin Console uses an old version
of struts.jar ?
I thought that struts-example.war would have no problem
because struts-example.war file contains struts.jar in the WEB-INF/lib
directory.
Perhaps I will double-check Websphere's classloader configuration options.
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
make sure your message property file is in your classpath
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may want to check that your ActionController servlet is being autoloaded prior to hitting the JSP. If it isn't autoloaded,then JSP pages using struts tags fail because the servlet hasn't put the message resources into the application context.
 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic