%@ include % files and Jasper/Ant

2004-07-08 Thread Robert Hunt
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

Re: %@ include % files and Jasper/Ant

2004-07-08 Thread Filip Hanik - Dev
: 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

Re: %@ include % files and Jasper/Ant

2004-07-08 Thread Robert Hunt
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

RE: %@ include % files and Jasper/Ant

2004-07-08 Thread Berry, Layton
. 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

Re: %@ include % files and Jasper/Ant

2004-07-08 Thread Robert Hunt
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

Re: %@ include % files and Jasper/Ant

2004-07-08 Thread simon colston
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

can iframe include files in web-inf folder?

2004-04-09 Thread bjyang_dream
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

Re: can iframe include files in web-inf folder?

2004-04-09 Thread Matt Woodings
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

RE: can iframe include files in web-inf folder?

2004-04-09 Thread Shapira, Yoav
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-

Re: RE: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
-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

Re: Re: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
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

Re: RE: can iframe include files in web-inf folder?

2004-04-09 Thread Parsons Technical Services
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

RE: RE: can iframe include files in web-inf folder?

2004-04-09 Thread Shapira, Yoav
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

Re: Re: RE: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
. 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

Re: RE: RE: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
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

Re: include files

2004-02-12 Thread Ankur Shah
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

include files

2004-02-10 Thread Chris Daly
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

Re: include files

2004-02-10 Thread De Toffoli Garry
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

RE: include files

2004-02-10 Thread Yiannis Mavroukakis
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

RE: include files

2004-02-10 Thread Chris Daly
. -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

Re: include files

2004-02-10 Thread De Toffoli Garry
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

Re: include files

2004-02-10 Thread Chris Daly
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

Re: include files

2004-02-10 Thread Milt Epstein
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

Re: include files

2004-02-10 Thread De Toffoli Garry
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

RE: include files

2004-02-10 Thread Yiannis Mavroukakis
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

Re: include files

2004-02-10 Thread Milt Epstein
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

Re: include files

2004-02-10 Thread Chris Daly
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

Include Files

2003-12-03 Thread Duncan
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

Re: Include Files

2003-12-03 Thread Tim Funk
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

Re: Include Files

2003-12-03 Thread Duncan
. -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

Re: Include Files

2003-12-03 Thread Tim Funk
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

Re: Include Files

2003-12-03 Thread Duncan
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

Re: include files in server.xml?

2003-01-08 Thread paul miller
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

RE: include files in server.xml?

2003-01-08 Thread Turner, John
: 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

RE: include files in server.xml?

2003-01-08 Thread Turner, John
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

include files in server.xml?

2003-01-07 Thread Matthew Boeckman
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

Re: include files in server.xml?

2003-01-07 Thread Bill Barker
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?

JspC/Jasper won't ignore include files?

2002-10-08 Thread Simpson, Mike W
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

Include files in Tomcat

2001-07-12 Thread Gadde, Padma
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

Re: Include files in Tomcat

2001-07-12 Thread Dmitri Colebatch
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

Re: Include files in Tomcat

2001-07-12 Thread Boris Niyazov
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

Re: Include files in Tomcat

2001-07-12 Thread Ravishankar.S
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

RE: altering include files

2001-06-26 Thread Jann VanOver
] 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

altering include files

2001-06-25 Thread teh j
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

RE: Include files in Tomcat and Apache

2001-03-09 Thread Rodriguez Victor A.
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 :

RE: Include files in Tomcat and Apache

2001-03-09 Thread Marc Saegesser
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

Include files in Tomcat and Apache

2001-03-07 Thread Abdullah
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