Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp:include causes StringIndex OutOfBoundsException

 
Jason Ferguson
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm doing some maintenance coding, trying to move a bunch of scriptlet code into Struts actions.

The problem I run into is with this line:


Something about that include causes a nasty stacktrace:



Here is the contents of header.jsp:


I'm using OC4J 10.1.2 as my app server, and Java SDK 1.4.12.

Jason
 
Jason Ferguson
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Um, guys, just because I happened to use the word Struts in my post does not make this a Struts issue. However, my one my team members pointed out the error:


should have been



This is horribly, horribly off-topic for the Struts forum. I highly recommend an admin close this topic and move it to the JSP forum.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!