aspose file tools*
The moose likes Struts and the fly likes Help Please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Help Please" Watch "Help Please" New topic
Author

Help Please

Eric Gubula
Greenhorn

Joined: Mar 09, 2006
Posts: 1
hi guy, I'm new in struts and I tryed to write a login page but I'm getting the following error message:

exception

org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

java.lang.NullPointerException
org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1219)
org.apache.struts.taglib.TagUtils.message(TagUtils.java:1082)
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:226)
org.apache.jsp.index_jsp._jspx_meth_bean_message_0(org.apache.jsp.index_jsp:144)
org.apache.jsp.index_jsp._jspx_meth_html_html_0(org.apache.jsp.index_jsp:113)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:82)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Can you please tell me what I must do?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Moved to the Struts forum.

Also, please read this.
It will help you to get better answers at Javaranch


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Mishra Anshu
Ranch Hand

Joined: Sep 16, 2003
Posts: 224
Looking at the error message it appears that you are missing a message properties file required by the taglib.

Make sure you have included it at the right place.


"Ignorance is bliss"
 
 
subject: Help Please