This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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.
 
Sheriff
Posts: 26947
83
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?
reply
    Bookmark Topic Watch Topic
  • New Topic