This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes include directive with jrun 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 » Java » Servlets
Bookmark "include directive with jrun" Watch "include directive with jrun" New topic

include directive with jrun

Peter Guillebaud
Ranch Hand

Joined: Jul 11, 2001
Posts: 57
Does anyone know if there is a problem using the Include Directive with JRun v.2.3.3. Code used is:
<%@ include file="header.htm" %>
It's giving error message:
JSP Parse Error
JSP Directive fileis not recognized.
Same code works ok on Tomcat.
Thanks in advance,
Preethi Suryam
Ranch Hand

Joined: Nov 17, 2000
Posts: 92
JRun2.3.3 is not compliant with the latest JSP some tags won't work.
Peter Guillebaud
Ranch Hand

Joined: Jul 11, 2001
Posts: 57
thanks - it works using this instead:
<!--#include virtual="" -->
It is sorta covered in the JavaRanch Style Guide.
subject: include directive with jrun
Similar Threads
JSP include vs include directive
about jsp:include
first whack at JSP not working
Include file problem
dynamically including JSP's