jQuery in Action, 2nd edition*
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 Android Security Essentials Live Lessons this week in the Android 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 specification.so some tags won't work.
Peter Guillebaud
Ranch Hand

Joined: Jul 11, 2001
Posts: 57
thanks - it works using this instead:
<!--#include virtual="header.inc" -->
I agree. Here's the link: http://aspose.com/file-tools
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