wood burning stoves 2.0*
The moose likes Struts and the fly likes error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "error" Watch "error" New topic
Author

error

Saurabh Naik
Ranch Hand

Joined: Apr 24, 2008
Posts: 87
in my program it is giving me an error while reading key value pair in properties file.. so what should I check ?

org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Missing message for key "label.search.name"
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

SCJP 6 (88%), SCWCD 5 (78%), preparing for SCBCD
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30598
    
154

Have you checked your key/value property file? It's typically called ApplicationResources.properties.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Nyanas Kandhan
Ranch Hand

Joined: Jan 27, 2009
Posts: 35
Check whether he message resource is added in the struts-config.xml file. For a Sample Code refer here.


regards,
Nyanaskandhan
 
GeeCON Prague 2014
 
subject: error