• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Example code from jGuru/Sun doesn't work on my copy of JRun

 
Tristan Havelick
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jGuru/Sun have a short JSP tutorial I was working through at:
http://developer.java.sun.com/developer/onlineTraining/JSPIntro/
When I complete and run the exersise/example at:
http://developer.java.sun.com/developer/onlineTraining/JSPIntro/exercises/Forms/index.html

I get the following:
Can't find resource key "BeanUtils.NoGetter" in base name allaire/jrun/jsp/resource.properties
java.util.MissingResourceException: Can't find resource key "BeanUtils.NoGetter" in base name allaire/jrun/jsp/resource.properties
at allaire.jrun.util.RB.getString(RB.java:226)
at allaire.jrun.util.RB.getMessage(RB.java:681)
at allaire.jrun.util.RB.getString(RB.java:435)
at allaire.jrun.jsp.BeanUtils.getProperty(BeanUtils.java:67)
at allaire.jrun.jsp.JRunJSPStaticHelpers.getBeanProperty(JRunJSPStaticHelpers.java:294)
at jrun__Dev__jsp__form2ejsp11._jspService(jrun__Dev__jsp__form2ejsp11.java:58)
at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34)
at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:175)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
is this a bug in JRun, or am I doing something wrong? I've tried running the completed 'solved' page and javabean rather than my own code and it does the same. All the other exersises ran just fine.
Any ideas?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13077
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspect it is trying to tell you that it can't find a "getter" method in your Bean, but it can't find the appropriate String (resource) to issue the error message.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic