• 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

JspException: Missing message for key index.title

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I've installed struts to Oracle 9iAS. I've also downloaded strut-example.war from apache, generated an EAR and deployed to the application server (auto-deployement seemed to work file).
When I try to access the application (called test_struts) I get the following error:
javax.servlet.jsp.JspException: Missing message for key index.title
From other posting I see that this error is related to the ApplicationResources.properties file.
This file exists in the
WEB-INF\classes\org\apache\struts\webapp\example directory.
I have also checked for versions of struts on the deployment machine and the only version exists in WEB-INF\lib.
In the web.xml file the action servlet is set as follows:
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
</init-param>
Can anyone suggest what might be causing this error?
Thanks,
john.
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where is your struts.jar file?
IT MUST BE IN THE WEB-INF/lib DIRECTORY FOR YOUR APPLICATION. PUTTING IT ON THE CLASSPATH IS NOT SUFFICIENT.
This topic was specifically about this same problem:
https://coderanch.com/t/46371/Struts/struts-installation
[ March 25, 2003: Message edited by: Thomas Paul ]
 
This will take every ounce of my mental strength! All for a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic