I'm trying to use Ant (in stand-alone fashion) to build a set of JSPs. The
JSPs compile, execute and serve up HTML fine when compiled under Tomcat
5.0.25; only the root JSPs generate .java files. Eg. FileA.jsp contains a
%@ include=FileB.jsp % directive. When requested through the Tomcat web
: Thursday, July 08, 2004 2:27 PM
Subject: %@ include % files and Jasper/Ant
I'm trying to use Ant (in stand-alone fashion) to build a set of JSPs. The
JSPs compile, execute and serve up HTML fine when compiled under Tomcat
5.0.25; only the root JSPs generate .java files. Eg. FileA.jsp contains
Thanks for the reply Filip, but no, that doesn't answer the question nor
does it solve the issue; the emitted dependent files still trigger
compilation problems.
However, I *do* like how your tomcat-precompile-jsp.xml handily precompiles
JSPs as Tomcat would. Very nice.
So, the question
. Try giving FileB.jsp a different
extension.
Layton
-Original Message-
From: Robert Hunt [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 11:28 AM
To: [EMAIL PROTECTED]
Subject: %@ include % files and Jasper/Ant
Importance: High
I'm trying to use Ant (in stand-alone fashion) to build
Thanks Layton. Makes sense.
Looking back now, when I read the Jasper How-to page
(http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html) the
implication (at least, how I comprehended it) was that Jasper would produce
the same output including the seemingly prescient ability of
Filip Hanik - Dev wrote:
This is an ant script I wrote to precompile JSPs for tomcat,
http://cvs.apache.org/~fhanik/precompile.html
I have an ant script very similar to this but it does not report JSP
errors in the same way as when compiled under tomcat. Is there any way
to get jasper to
1.in my jsp page information.jsp I do this:
iframe width=100% height=400 frameborder=1 scrolling=Auto
src=/web-inf/test.jsp
but when the Tomcat 5.0 just tell me that such page is not available.
2.Then i try another way.
i created another page called import page,in this page:
c:import
include files in web-inf folder?
1.in my jsp page information.jsp I do this:
iframe width=100% height=400 frameborder=1 scrolling=Auto
src=/web-inf/test.jsp
but when the Tomcat 5.0 just tell me that such page is not available.
2.Then i try another way.
i created another page called import
using your own code, or in this case your Struts code.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: bjyang_dream [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 10:21 AM
To: tomcat-user
Subject: can iframe include files in web-
-Original Message-
From: bjyang_dream [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 10:21 AM
To: tomcat-user
Subject: can iframe include files in web-inf folder?
1.in my jsp page information.jsp I do this:
iframe width=100 height=400 frameborder=1 scrolling=Auto
src=/web-inf/test.jsp
this.
Matt
- Original Message -
From: bjyang_dream [EMAIL PROTECTED]
To: tomcat-user [EMAIL PROTECTED]
Sent: Friday, April 09, 2004 9:20 AM
Subject: can iframe include files in web-inf folder?
1.in my jsp page information.jsp I do this:
iframe width=100 height=400 frameborder=1 scrolling=Auto
it back to the
client.
As for code I have none at this point, but a little googling should turn up
something.
Doug
- Original Message -
From: bjyang [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 12:00 AM
Subject: Re: RE: can iframe include files
Hi,
streaming the content yourself using your own code, or in this case
your
Struts code.
Couled more detials please?
a href=WEB-INF/someFile.txtClick Here!/a would lead to a 404 if
the user clicks on it as I previously explained.
Now imagine a servlet:
public class BadServlet extends
.
Doug
- Original Message -
From: bjyang [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 12:00 AM
Subject: Re: RE: can iframe include files in web-inf folder?
streaming the content yourself using your own code, or in this case your
Struts code
haha,May be i have to persuade my boss the point you've illustrated
enoughly
Hi,
streaming the content yourself using your own code, or in this case
your
Struts code.
Couled more detials please?
a href=WEB-INF/someFile.txtClick Here!/a would lead to a 404 if
the user clicks on it as I
Subject: Re: include files
thanks.
do i delete the name of the app under tomcat, for example
work/Standalone/localhost/Website ? and all the $... files and the two
directories - Help and WEB-INF under this directory ?
what is the touch cmd ? i cant find it in my wrox tomcat book ?
cheers
hi
i've tested a new version of my jsp include file (a header which is
referenced by about 40 pages) on one jsp page, and its wokred ok. i've
changed the coding of the include page though none of the other jsp pages
have picked up the new include and are still looking to teh old one ? i've
Chris Daly ha scritto:
hi
i've tested a new version of my jsp include file (a header which is
referenced by about 40 pages) on one jsp page, and its wokred ok.
i've changed the coding of the include page though none of the other
jsp pages have picked up the new include and are still looking
If you think everything else is working ok, stop tomcat delete everything
under the work directory and start again.
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: 10 February 2004 09:19
To: [EMAIL PROTECTED]
Subject: include files
hi
i've tested a new version of my
.
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: 10 February 2004 09:19
To: [EMAIL PROTECTED]
Subject: include files
hi
i've tested a new version of my jsp include file (a header which is
referenced by about 40 pages) on one jsp page, and its wokred ok. i've
changed
directory and start again.
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: 10 February 2004 09:19
To: [EMAIL PROTECTED]
Subject: include files
hi
i've tested a new version of my jsp include file (a header which is
referenced by about 40 pages) on one jsp page, and its wokred
thanks.
do i delete the name of the app under tomcat, for example
work/Standalone/localhost/Website ? and all the $... files and the two
directories - Help and WEB-INF under this directory ?
what is the touch cmd ? i cant find it in my wrox tomcat book ?
cheers
chris
You would delete
On Tue, 10 Feb 2004, Chris Daly wrote:
hi
i've tested a new version of my jsp include file (a header which is
referenced by about 40 pages) on one jsp page, and its wokred ok.
i've changed the coding of the include page though none of the other
jsp pages have picked up the new include and
You would delete only the file under the work directory; WEB-INF exist
on the directory of your web site, and not under work;
if you have installed tomcat in /usr/tomcat, the work directory is:
/usr/tomcat/work;
with your example: /usr/tomcat/Standalone/localhost/Website
the touch cmd is a
directory, hence
doing a reload.
If I got the Tomcat bit wrong, shoot at the bright red target on my
forehead :)
Yiannis.
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: 10 February 2004 14:50
To: Tomcat Users List
Subject: Re: include files
thanks.
do i delete
On Tue, 10 Feb 2004, Chris Daly wrote:
thanks.
do i delete the name of the app under tomcat, for example
work/Standalone/localhost/Website ? and all the $... files and the two
directories - Help and WEB-INF under this directory ?
I don't think there should be a WEB-INF under there. Are
thanks to all.
At 09:06 10.02.2004 -0600, you wrote:
On Tue, 10 Feb 2004, Chris Daly wrote:
thanks.
do i delete the name of the app under tomcat, for example
work/Standalone/localhost/Website ? and all the $... files and the two
directories - Help and WEB-INF under this directory ?
I
When using Tomcat 4.0, I was able to include files in a directory above
my public web directory, but with tomcat 4.1, when I try to run the same
jsp, I get the error:
org.apache.jasper.JasperException: /main.jsp(3,0) File
../Private/NormalTemplate.inc not found
All casing etc is correct
I would think this is a security fix. (Or a bug fix) I am surprised this was
allowed in 4.0.
-Tim
Duncan wrote:
When using Tomcat 4.0, I was able to include files in a directory above
my public web directory, but with tomcat 4.1, when I try to run the same
jsp, I get the error
.
-Tim
Duncan wrote:
When using Tomcat 4.0, I was able to include files in a directory above
my public web directory, but with tomcat 4.1, when I try to run the same
jsp, I get the error:
org.apache.jasper.JasperException: /main.jsp(3,0) File
../Private/NormalTemplate.inc not found
All
this is a security fix. (Or a bug fix) I am surprised this was
allowed in 4.0.
-Tim
Duncan wrote:
When using Tomcat 4.0, I was able to include files in a directory above
my public web directory, but with tomcat 4.1, when I try to run the same
jsp, I get the error:
org.apache.jasper.JasperException: /main.jsp
for these?
Any suggestions?
- Duncan
Tim Funk wrote:
I would think this is a security fix. (Or a bug fix) I am surprised this was
allowed in 4.0.
-Tim
Duncan wrote:
When using Tomcat 4.0, I was able to include files in a directory above
my public web directory, but with tomcat
supports include files, similair to
apache in the server.xml file?
I have to support dozens of virtual hosts, and wanted to break each's
config out into their own include.
--
Matthew Boeckman (816) 777-2160
Manager - Systems Integration Saepio Technologies
--
To unsubscribe
: include files in server.xml?
Can some one post an example on how to do this.
I would love it if my app's web.xml could include another xml file
This is what I have tried with no luck
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http
That thread should be DTD for server.xml??
John
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 12:29 PM
To: 'Tomcat Users List'
Subject: RE: include files in server.xml?
Not sure about web.xml, but check today's thread
I'm wondering if tomcat-4.1.12 supports include files, similair to
apache in the server.xml file?
I have to support dozens of virtual hosts, and wanted to break each's
config out into their own include.
--
Matthew Boeckman (816) 777-2160
Manager - Systems Integration Saepio Technologies
You can use XML Entities to do it. There isn't a specific tag to include a
file.
Matthew Boeckman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm wondering if tomcat-4.1.12 supports include files, similair to
apache in the server.xml file?
I'm having problems with my pre-compilation script. Basically, we have lots
of jsp files that are only used as included files inside others jsps. I
have them all named .jspi instead of .jsp. Jasper wants to compile them
when they're found, but they can't be compiled alone because they don't
Hi
i am working with XML and I have my JSPs in the tomcat (version 3.2.2) . I
am trying to import org.apache.xpath and import javax.sql and i get the
following errors.
Can any one help me?
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
where are the jars containing those packages? they should be in
$TOMCAT_HOME/lib or $WEB-INF/lib.
cheers
dim
On Fri, 13 Jul 2001 03:03, Gadde, Padma wrote:
Hi
i am working with XML and I have my JSPs in the tomcat (version 3.2.2) . I
am trying to import org.apache.xpath and import
The error indicates that tomcat doesn't know where the packages are located.
Make sure you have JAVA_HOME is set and all jars needed are in $TOMCAT_HOME/lib.
- Boris
Hi
i am working with XML and I have my JSPs in the tomcat (version 3.2.2) . I
am
hi padma,
chek if in the lib dir u have
servlet.jar,webserver.jar.jaxp.jar jasper.jar.of course java_home should be
C:\jdk1.3(assuming that is where u have it).edit the bat file startup.bat
and insert some echo statements and when u start, see the tomcat window and
see if the echo
]
Subject: altering include files
Hi there
I am currently using Tomcat v3.2.1 and am using
include files in my .jsp files a fair bit
Im finding though that if I make a change to my
include file, it does not appear in the JSP that is
using the include file UNLESS I delete the include
file, reload
Hi there
I am currently using Tomcat v3.2.1 and am using
include files in my .jsp files a fair bit
Im finding though that if I make a change to my
include file, it does not appear in the JSP that is
using the include file UNLESS I delete the include
file, reload the hosting JSP, put back
tomcat-3.2.1/webapps/Oilgrains/jsp/
login.jsp(9,0) Bad file
argument to include
You only can include files trough the local filesystem :
%@ include file="/usr/local/html_files/static/msFoot1.html" %
If you need to include files via a URL, you can use the next code snippet :
Read the JSP spec. The include directive requires a relativeURLspec. You
can only include files from the current webapp so there is no need to fully
qualify the URL.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Abdullah
Sent: Wednesday, March 07
hi ,
I have apache 1.3.14 ( with Jserv) and Tomcat 3.2.1 running in the same machne
on linux.
All the html and images are in apache,
All the Jsp and Servlets are in tomcat
Here i have one problem .
I have a jsp called login.jsp which has an include statement like
%@ include
47 matches
Mail list logo