Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

org.apache.jasper. compiler.ParseException: Attribute xxwhateveverxx has no value  RSS feed

 
gilles vandaele
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an ...jasper.compiler.ParseException: /xxwhateveverxx.jsp Attribute zzwhateverzz has no value, when running a request.getAttribute("zzwhateverzz") in a jsp.
The request.setAttribute("zzwhateverzz", xxwhateverObjectxx) was made in the struts Action servlet mapped to this jsp. This servlet forward the request to the same (generic) jsp.
Actualy, the setAttribute is not yet set at the first call; how can I avoid or catch this error.
 
chanoch wiggers
Author
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thats strange = are you runnign this bit of code in a static context? what does the rest of your code look like?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!