• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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

 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 28295
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
You'll never get away with this you overconfident blob! The most you will ever get is this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic