wood burning stoves 2.0*
The moose likes Struts and the fly likes jsp:include causes StringIndex OutOfBoundsException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "jsp:include causes StringIndex OutOfBoundsException" Watch "jsp:include causes StringIndex OutOfBoundsException" New topic
Author

jsp:include causes StringIndex OutOfBoundsException

Jason Ferguson
Ranch Hand

Joined: Aug 09, 2007
Posts: 58
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

Joined: Aug 09, 2007
Posts: 58
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp:include causes StringIndex OutOfBoundsException
 
Similar Threads
deployment problem - struts application
possible Reasons for following Error
Unsupported major.minor version 49.0
Oracle 10G Application Server : Getting Servlet error
Java.lang.nullpointerException on page refresh with struts and oc4j