What's in this properties file ?
The error message mentions a
java.util.MissingResourceException: Can't find resource for bundle
java.util.PropertyResourceBundle, key /kithany/retry.jsp
Like it's trying to use /kithany/retry.jsp as a key within the resources
file ?.....
David
Manoj Kithany wrote:
> Hi David,
>
> THANKS for your reply.
>
> I have the following directory struct (it had forms.properties file in
> my directory which I missed to mention in email). It is still giving
> me same error:
> /kithany (root)
> /kithany/register.html
> /kithany/success.jsp
> /kithany/retry.jsp
> /kithany/process.jsp (bean)
> /kithany/WEB-INF/web.xml
> /kithany/WEB-INF/classes/mybean/FormBean.java (package mybean)
> /kithany/WEB-INF/classes/mybean/FormBean.class (package mybean)
> /kithany/WEB-INF/classes/forms.properties
> /kithany/WEB-INF/classes/mybean/forms.properties
> /kithany/META-INF/application.xml
>
> The error it gives is:
> ----------------------------------------------------------
> java.util.MissingResourceException: Can't find resource for bundle
> java.util.PropertyResourceBundle, key /kithany/retry.jsp
> at java.util.ResourceBundle.getObject(ResourceBundle.java(Compiled
> Code))
> at java.util.ResourceBundle.getString(ResourceBundle.java(Compiled
> Code))
> at org.apache.jsp.process$jsp._jspService(process$jsp.java:142)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> ----------------------------------------------------------
>
> THANKS again.
>
> Manoj G. Kithany
>
>
>> From: David Cassidy <[EMAIL PROTECTED]>
>> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>> To: Tomcat Users List <[EMAIL PROTECTED]>
>> Subject: Re: Simple Bean not working but Servlet/JSP Working
>> Date: Mon, 23 Sep 2002 16:13:57 +0100
>>
>> Manoj,
>>
>> the error message says it all...
>> 'java.util.MissingResourceException: Can't find bundle for base name
>> forms, locale en_US'
>>
>> Where is your file that you reference ...
>>
>> bundle = ResourceBundle.getBundle("forms");
>>
>> The error message is 'I can't find this file'
>>
>> you don't list the forms file in your directory listing ...
>>
>> David
>>
>>
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>