Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag File Quirks in JRun?

 
Jamie Jackson
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to get a tag file to work in a JRun 4 site, but I'm not getting past "step 1."

My JSP is:
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
caller
<tags:part/>

But when I run it, I get:
1 error(s) found in /granteeHome2.jsp
(1) taglib directive missing uri attribute

The above error turns up zilch in Google (which is alarming), so I've got no idea what to do next. AFAIK, the attribute "tagdir" is correct, and I don't need the uri attribute.

Suggestions?

Thanks,
Jamie

[ January 25, 2005: Message edited by: Jamie Jackson ]
[ January 25, 2005: Message edited by: Jamie Jackson ]
 
Jamie Jackson
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems JRun 4 does not have JSP 2.

However, I just found out that it implements a "proto" tag file construct called JRun Server Tags (JST).

I'm not sure if it's prudent to use this, though. On one hand, it is very similar to "tag files," so would be trivial to convert later. On the other, JST would mean vendor lock-in, to some degree.

Sigh.

Thanks,
Jamie
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I sometimes forget how spoiled we Tomcat users are.

If you're not otherwise locked into JRun, Bear's taglet approach sounds like the way to go. If you're committed to using it anyway, use what you're payin for.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!