How to locate Struts resource file under JBuilder 9?(100分)

  • 主题发起人 主题发起人 athensy
  • 开始时间 开始时间
A

athensy

Unregistered / Unconfirmed
GUEST, unregistred user!
I am using JBuilder 9 to develop a web application with Struts framework, and I get a serious problem for resource file location. No matter where to place the resource file (named Application.properties), JBuilder 9 simply can't find it and then
give out run-time error as following shown:
--------------------------------------------------------------------
Exception reportmessage Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception javax.servlet.ServletException: Missing message for key prompt.employee.name
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
at org.apache.jsp.inputContent$jsp._jspService(inputContent$jsp.java:429)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107
-----------------------------------------------------------------------
Could anyone tell me where to place the resource file, and declare it's location on the configuration file web.xml? Thanks in advance.
 
参考
http://www.java-cn.com
 
后退
顶部