The properties file should be present in your web-application classpath
and you have done it correctly. Property files are accessed through a
fully qualified classname.
So in your case I guess this name would be num.SelectResources
I guess in your JSP, you need an import declaration for 'num', then you
could do a ResourceBundle.getBundle("num.SelectResources")
Hope I have that right and it helps,
Tarun
On Sat, 2003-03-08 at 18:47, abjett wrote:
> Where and how do I describe a private properties file needed by my JSP. I
> believe this should be described in web.xml but I don't know how.
>
> The file structure is
> %catalina_home%\webapps\MySQLAccess\WEBINF\classes\num
> The property file is "SelectResources.properties", this file is currently in
> my ...classes\num dir with the class file.
>
> I am getting this message from Tomcat:
> Http status 500
> ...
> Exception: org.apache.jasper.JasperException: Can't find bundle for base
> name SelectResource, locale en_US...
>
>
>
> Thanks,
> Lost
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]