Sounds to me like some other part of your code is causing this problem..but
I can't be sure. As Sachin said..post the whole thing.


> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sachin S. Khanna
> Sent: Monday, July 16, 2001 8:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: application scope & jsp:useBean
>
>
> Post the entire code for the servlet, jsp as well as the bean and maybe we
> can help you out.
> A little difficult without that to find a reason for the error.
> Have a nice day.
> With regards,
> Sachin S. Khanna
> http://www.emailanorder.com
> ----- Original Message -----
> From: Mark Fuller <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 16, 2001 6:46 PM
> Subject: Re: application scope & jsp:useBean
>
>
> > Sorry about that (it was just a typo in the email):
> >
> > (this is in the doPost method of the servlet:)
> > ServletContext sContext = this.getServletContext();
> >         MyBean myBean = (MyBean)
> > sContext.getAttribute("myBean");
> >
> > (And later:)
> > sContext.setAttribute("myBean", myBean);
> >
> > Then, in the jsp:
> > > > <jsp:useBean scope="application" id="myBean"
> > > > class="myPackage.myBean">
> > > >
> > > > I get the following error in my tomcat logs
> > > >
> > > > java.lang.Error: Fatal Error: missing resource:
> > > > java.util.PropertyResourceBundle        at
> > > >
> > >
> > org.apache.jasper.Constants.getString(Constants.java:206)
> > > >         at
> > > >
> > >
> >
> org.apache.jasper.compiler.BeanGenerator.checkSyntax(BeanGenerator
> .java:121)
> > > >         at
> > > >
> > >
> > org.apache.jasper.compiler.BeanGenerator.generate(BeanGenerator.java:93)
> > > >         at
> > > >
> > >
> >
> org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.
> generate(J
> > > spParseEventListener.java:730)
> > > >         at
> > > >
> > >
> >
> org.apache.jasper.compiler.JspParseEventListener.generateAll(JspPa
> rseEventLi
> > > stener.java:200)
> > > >         at
> > > >
> > >
> >
> org.apache.jasper.compiler.JspParseEventListener.generateHeader(Js
> pParseEven
> > > tListener.java:242)
> > > >         at
> > > >
> > >
> >
> org.apache.jasper.compiler.JspParseEventListener.endPageProcessing
> (JspParseE
> > > ventListener.java:167)
> > > >         at
> > > >
> > >
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:183)
> > > >         at
> > > >
> > >
> > org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
> > > >         at
> > > >
> > >
> >
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNeces
> sary(JspSe
> > > rvlet.java:149)
> > > >         at
> > > >
> > >
> >
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Jsp
> Servlet.ja
> > > va:161)
> > > >         at
> > > >
> > >
> > org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
> > > >         at
> > > >
> > >
> > org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
> > > >         at
> > > >
> > >
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > >         at
> > > >
> > >
> >
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper
> .java:503)
> > > >         at
> > > >
> > >
> >
> org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispat
> cherImpl.j
> > > ava:163)
> > > >         at
> > > >
> > >
> >
> com.aepona.managementInterfaces.managementEntity.MEServlet.gotoPag
> e(MEServle
> > > t.java:721)
> > > >         at
> > > >
> > >
> >
> com.aepona.managementInterfaces.managementEntity.MEServlet.doPost(
> MEServlet.
> > > java:323)
> > > >         at
> > > >
> > >
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > > >         at
> > > >
> > >
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > >         at
> > > >
> > >
> >
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper
> .java:503)
> > > >         at
> > > >
> > >
> >
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper
> .java:597)
> > > >         at
> > > >
> > >
> >
> org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
> > > >         at
> > > >
> > >
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > >         at
> > > >
> > >
> >
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper
> .java:503)
> > > >         at
> > > >
> > >
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> > > >         at
> > > >
> > >
> >
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.process
> Connection
> > > (Ajp12ConnectionHandler.java:156)
> > > >         at
> > > >
> > >
> >
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoin
> t.java:338
> > > )
> > > >         at java.lang.Thread.run(Thread.java:484)
> > > >
> > > > Any ideas?
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Get personalized email addresses from Yahoo! Mail
> > > > http://personal.mail.yahoo.com/
> > > >
> > > >
> > >
> >
> ==================================================================
> =========
> > > > To unsubscribe: mailto [EMAIL PROTECTED] with
> > > body: "signoff
> > > JSP-INTEREST".
> > > > For digest: mailto [EMAIL PROTECTED] with
> > > body: "set JSP-INTEREST
> > > DIGEST".
> > > > Some relevant FAQs on JSP/Servlets can be found
> > > at:
> > > >
> > > >  http://java.sun.com/products/jsp/faq.html
> > > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > > >
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > >
> > >
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > > >
> > >
> > >
> >
> ==================================================================
> =========
> > > To unsubscribe: mailto [EMAIL PROTECTED] with
> > > body: "signoff JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with body:
> > > "set JSP-INTEREST DIGEST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
> >
> ==================================================================
> =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to