Hi,
Can anyone help me with a problem please.
I am using the
<%@xxxxxxxxxxx include file ="/include/amt_header .jsp" %> code to include
a header into a
JSP and it works
fine if the file which uses the include statement is in the same
folder that
contains the include folder.
The problem is when a file wishes to use the "/include/amt_header.jsp" file
from a different folder.
So for example if my main file is in a folder "cart" and I want to access
the header file contained in the folder "include" then I can not.
I have tried the following but it won't work
<%@xxxxxxxxxxx include
file="../include/amt_header.jsp" %>.
I am sure there is a siimple
solution to this problem but what.
Thanks in Anticipation.
Kevin
wrote in message:
Hi,
Can anyone help me with a problem please.
I am using the <%@xxxxxxxxxxx include file="/include/amt_header.jsp" %> code to include
a header into a JSP and it works
Please don't multipost. It fragments the thread, making it harder to follow,
and causing people potentially to
repeat information someone else has already
provided. It becomes a time-waster for the very people you most want to help you.
--
Lew
Blogs related to jsp include
RE: tomahawk tabbed pane problem
I am using the following myfaces jars myfaces-api-1.1.6-SNAPSHOT.jar myfaces-impl-1.1.6-SNAPSHOT.jar tomahawk-1.1.5-SNAPSHOT.jar I am attaching the
jsp in which the tabbed pane is being used and defaultStyles.css which the tabbed pane
...
Re: Please suggest how to use the different analyse to accomodate ...
<%@ page import = "
java.util.*"%> > <%@ page import = "
java.sql.*"%> > <%@ page import = "
java.io.*"%> > <%@
include file="pe_declarations.
jsp"%> > <%! > public String escapeHTML(String s) { > s = s.replaceAll("&", "&"); > s = s.
...
How can I randomly display blocks of text in a .jsp file?
How do I output random blocks of text in a
JSP include? I am not in any way a
java/
jsp programmer. I have an application that uses
JSP includes to display advertising (Google AdSense) to visitors. Currently, the ads are fairly static in
...
jsp include
I am using the <%%@
include file="/
include/amt_header.
jsp" %%> code to
include a header into a
JSP and it works fine if the file which uses the
include statement is in the same folder that contains the
include folder.
...
RE: Running MyFaces 1.1.3 on Tomcat 4.1.18
StartupServletContextListener.contextInitial > ized(StartupServletContextListener.
java:49) > > All I've done is add the myfaces jars to my web-inf/lib. I have not > configured anything. My plan is to use facelets, not
jsp because of
...
Re: Running MyFaces 1.1.3 on Tomcat 4.1.18
My plan is to use facelets, not
jsp because of > > the version of the servlet spec supported by Tomcat 4. > > > > Why do I still need to
include the jar that contains the ELException > > class (I believe it's
jsp-api.jar)?
...