• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding JSTL to an old app: is this a compilation problem?

 
Thomas Kennedy
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am adding jstl and tag files to an app that has neither. I'm getting

Tag 'insert' can't insert page '/content/paResultsContent.jsp'. Check if it exists. For input string: "${fn:length(pacode.value)}"

That jsp it says it cannot insert is included in the response by a Tiles template tag. But the code mentioned in the error occurs in a tag file included by the jsp:



I am using the correct 1.1 taglib directive and the 1.1 jars. We are running WebSphere 6.1, Java 1.5.0_30, JSP 2.0 and Servlet 2.4. It works fine on my local RAD where the only difference I can see is that it's Java 1.5.0.

It does not invoke my error handler page. Is this a compilation problem? Where can I find more information on what is breaking? I can find nothing in the logs.
 
Paul Clapham
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds to me like your JSTL and taglibs are mostly working, except for this one strange thing. Is that right?

Anyway in the absence of any concrete information about the problem, I would take this:



and replace it by what I think is equivalent but simpler and potentially less problematic:


 
Thomas Kennedy
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it works fine on my local RAD 7.0.0.1 but the response page blows up in our model environment which is the same apart from running on unix.

The tag file is invoked by another file which has a similar c:out tag, so if it were going to blow up I suppose it would have done so there. So I think the error message I'm getting is a red herring.

I've checked the usual log files under /profiles/, SystemErr.log and so on. There's nothing related to the problem. Is there some other location I should be checking?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic