RE: help: mod_jserv compilation problems
instead of compiling ...you can directly copy(download) the mod_jserv.so and place in APACHE-ROOT/libexec directory -- From: Olaf Grewe[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Wednesday, January 24, 2001 4:54 PM To: [EMAIL PROTECTED] Subject: help: mod_jserv compilation problems Hi, I installed (well, the package manager did) Apache 1.3.9 on a debian-powerpc system. Now I'm trying to compile mod_jserv form Tomcat 3.2.1 but failed miserably. gcc: 2.95.2 make: 3.79.1 I followed the instructions under "Obtaining the Jserv Module" in the Tomcat User's Guide and did: apxs -c -o mod_jserv.so *.c Which produced a lot of .o-files and then reported: gcc -shared -o mod_jserv.so mod_jserv.o (lots of other .o) -lc -lm -lcrypt -ldb /usr/bin/ld: cannot find -ldb collect2: ld returned 1 exit status apxs:Break: Command failed with rc=65536 Any idea? Es grt Olaf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Locale
Its simply the problem with Classpath or Environment variables Make sure you set 1) JAVA_HOME=jdk-installdir 2) TOMCAT_HOME=tomcatinstall 3) ANT_HOME=tomcatinstall CLASSPATH=jdk/lib and other jars and export all these variables I guess It would work then -- From: Jayesh[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Wednesday, January 24, 2001 12:11 PM To: [EMAIL PROTECTED] Subject: Locale I compiled tomcat 3.2.1 on Redhat Linux 7.0. I use JDK1.3 when I start tomcat, I get the message below. Anyone knows how to fix? Jayesh $ ./startup.sh Using classpath: /http/apps/tomcat3.2/classes:/http/apps/tomcat3.2/lib/ant.jar:/ http/apps/tomcat3.2/lib/servlet.jar:/http/apps/tomcat3.2/lib/test:/http/ap ps /jdk 1.3/lib/tools.jar:/http/apps/build/ant/lib/ant.jar:/http/apps/jakarta/dist /s ervl etapi/lib/servlet.jar:/http/apps/jakarta/jcert.jar:/http/apps/jakarta/jnet .j ar:/ http/apps/jakarta/jsse.jar:/http/apps/jakarta/jakarta-ant/lib/jaxp.jar:/ht tp /app s/jakarta/jakarta-ant/lib/parser.jar:. [ devonshire /http/apps/tomcat3.2/bin ] $ Exception in thread "main" java.lang.ExceptionInInitializerError: java.util.Mi ssingResourceException: Can't find bundle for base name org.apache.tomcat.resour ces.LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle .java:707) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:679) at java.util.ResourceBundle.getBundle(ResourceBundle.java:546) at org.apache.tomcat.util.StringManager.init(StringManager.java:112) at org.apache.tomcat.util.StringManager.getManager(StringManager.java:26 3) at org.apache.tomcat.startup.Tomcat.clinit(Tomcat.java:24) _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Ironical Sun's Servlet API
hi JSP/Java gurus, It seems ironical that sun's api doesn't have a method to retrieve Multipart-form data or am I wrong??? I want to retrieve from a HTML-form..multipart data...that is name,age,particulars etc..along with a Photo(thru file upload). For Photo,I need to retrieve file contents and store in a file. Earlier,I had developed a similar soln in Perl...in which retrieving the FileType(using $f=$query-filname;) directly gives a file pointer(to Remote File) which can be used for reading File Content(just like a local file) and write to another file. Does servlet API have any such methods?? Or atleast IS THERE ANYWAY OF DOING THIS--retrieving both File and Form data from Single HTML form?? Can anybody pls throw light on this, Regards Deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
File Deletion----not working
hi, I am trying to delete a file under filesystem in a bean using: File f=new File(path-to-file); f.delete(); But the File isnt getting deleted...Can anybody help?? thanx Deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
handling File upload in JSP??
Hi , Can anybody pls tell.. How to handle File upload(binary) in JSP/beans?? what should be the Property Type in Bean to hold a Photograph...is it File? regards Deepak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
help pls
hi, 1)how to restrict users from accessing html files directly(without authentication) in tomcat-apache?? 2) how to prevent directory listing for directories under Tomcat context? pls help thanx, deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
please Help --session check
hi people, As a part of authentication check, I am checking for a session attribute to validate user login across pages. eg: if (session.getAttr("user")==null){ sendRedirect(loginpage); } But now, I am keeping these lines in all my jsp files(cut and paste)..If I have to change somethg with that I need to change in all jsp pages.. Is there any better way than this?? like keeping session -checking code in seperate file and including in all pages?? pls help. Thanx in adv, Deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Sorry--Out of topic question For Html Gurus
hi , Does anybody know how to develop Navigation Interface like ones On microsoft.com home page,Jspinsider.com etc...?? i.e. On moving mouse cursor over a heading ,a drop down of options is displayed and on mouse Out, the dropdown is removed. Ive seen the sites View/source but not much I could infer from them... So,if anybody knows ,please send a template of how to do it.. your suggestions are welcome. Thanx very much, Deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Password encryption in Java
Hi, Can anybody tell about" How we can encrypt Passwords in Java??"say like Perl's or Unix Crypt function?? i mean, Is there any Java equivalent of unix crypt() func?? thanx in advance, Deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
How to create .war files??
hi all, can anybody tell "how to create web application archives(WAR) ...that is .war files??"eg. like examples.war in Tomcat. Im using tomcat3.2.1 on linux. thanx, deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
tomcat3.2.1 linux ArrayIndexException
Hi, Ive started tomcat3.2.1 but each time I make a request say..http://host:8080/examples/jsp/index.html(wich i created) Im getting following error --- 2001-01-04 04:29:00 - ContextManager: Error reading request , ignored - java.lang.ArrayIndexOutOfBoundsException: at java.io.BufferedInputStream.read(BufferedInputStream.java:118) at java.io.BufferedInputStream.read(BufferedInputStream.java:69) at org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestA dapter.java:115) at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServ letInputStream.java:106) at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServle tInputStream.java:128) at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138 ) at org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Htt pRequestAdapter.java:129) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:195) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :498) at java.lang.Thread.run(Thread.java: - Does anybody know what(ere) the problem is?? thanx, deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Jserv
if you integrating it withapache place mod_jserv.so in $APACHEHOMEDIR/libexec and add a line to httpd.conf as Include "path to tomcat-apache.conf" -- From: Andrew Burrows[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Friday, January 05, 2001 9:28 AM To: [EMAIL PROTECTED] Subject: Jserv Hi Tomcat People. I have down loaded the mod_jserv.so file but can find information on where to install it, any suggestions? Andrew Andrew Burrows National IT Manager Flexstor.net Australia 5 Roundhay Court Berwick VIC 3806 Mobile: 0402300400 Phone: 613 97073008 Fax: 613 99236069 E-mail: [EMAIL PROTECTED] cc E-mail: [EMAIL PROTECTED] www.flexstornet.com.au * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
tomcat install config error linux!!
Hi, Ive just installed tomcat3.2.1 on linux and trying to run it standalone. while starting the server,Im getting FATAL:java.io.IOException: Address already in usecat-3.2.1/./webapps/examples"/t est context static) that# java.io.IOException: Address already in use at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:42) at java.net.ServerSocket.init(ServerSocket.java:53) at java.net.ServerSocket.init(ServerSocket.java:30) at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default ServerSocketFactory.java:97) at org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi nt.java:239) at org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav a:188) at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) If I change the default ports 8080 8007 to different Port values,Tomcat starts but After starting the server, If any request is made . Im getting ContextManager: Erro r reading request, ignored - java.lang.ArrayIndexOutOfBoundsException: at java.io.BufferedInputStream.read(BufferedInputStream.java:118) at java.io.BufferedInputStream.read(BufferedInputStream.java:69) at org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestA dapter.java:115) at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServ letInputStream.java:106) at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServle tInputStream.java:128) at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138 ) at org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Htt pRequestAdapter.java:129) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:195) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :498) at java.lang.Thread.run(Thread.java:314) while shutting down, Im getting "java.net.UnknownHostException: Unknown host: localhost " hence shutdown is incomplete and I cannot reuse the same PORTS without rebooting the m/c else I get Addressalreadyin use exception. Can anybody please help?? thanx in adv, Deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
bean Constructor
Hi , Im using a Bean with scope="session" as follows. jsp:useBean id="test" scope="session" class="MyPack.Mybean"/ I am using the same bean in many JSP pages. The Bean has a constructor which I expect to be called Only once for a session created. But the Constructor is getting called for each JSP page I access.Im also using same 'id' value (in useBean tag) in all jsp pages. Im using tomcat3.2.1. Can anybody clarify ..where the Problem is?? thanx in adv, deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
How to exit from JSP page
Hi, Can anybody tell "how to exit from a JSP page? I want to check for a condition at beginning of a JSP page and based on result I want to skip processing rest of the JSP pagewithout using bigIf-else block I mean I need a Perl equivalent of "exit;" command in JSP. thanx in advance, Deeps
RE: How to exit from JSP page
thanx Boaz and Clemente Dani -- From: Boaz Shaham[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Tuesday, December 26, 2000 3:02 PM To: '[EMAIL PROTECTED]' Subject: RE: How to exit from JSP page in a java section at the beginning of the page: % ... if (your_condition) return; ... % - Boaz -Original Message- From: Deepak C S [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 26, 2000 11:31 To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: How to exit from JSP page Hi, Can anybody tell "how to exit from a JSP page? I want to check for a condition at beginning of a JSP page and based on result I want to skip processing rest of the JSP pagewithout using bigIf-else block I mean I need a Perl equivalent of "exit;" command in JSP. thanx in advance, Deeps
RE: Tomcat and PostgreSQL
do u have JDBC driver for postgres?if yes put the Jar file in Classpath. The jdbc driver for postgres, which I have is called "jdbc-6.5-1.2.jar" and its under "/usr/lib/pgsql/jdbc-6.5-1.2.jar" and ive included in my classpath CLASSPATH= "/usr/lib/pgsql/jdbc-6.5-1.2.jar" and its working fine. eg: CP=/path/to/jdbcdriverforpostgres/jdbc.jar hope this helps Deeps Thanks and Regards, Deepak C. S. Planetasia Ltd, A Microland Group Company, Bangalore,India Contact: 5522252 54 57 58 58 Extn 544 Email: [EMAIL PROTECTED] -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Monday, December 25, 2000 1:48 PM To: [EMAIL PROTECTED] Subject: Tomcat and PostgreSQL It seems that Tomcat cannot find jdbc Driver,or postgresql.jar.When "http://127.0.0.1:8080/jdbc_servlet/servlet/postgresql_servlet" is accessed, an error message is shown of "java.lang.ClassNotFoundException;org.postgresql.Driver". What do I need to do in order to let Tomcat know the position of postgresql.jar? Please help me out. I have not found any clues for two weeks. Thanks in advance. Hiroshi Kasamatsu
RE: compiling mod_jserv.so fails due to apxs:Break: Command failed with rc=16777215
hi, Have you downloaded the tomcat source distribution?? If not jsut dowanload it and untar it and follow these instructions 1) Change to dir tomcat source dir i.e. jakarta-tomcat/src/native/apache/jserv 2) run the cmd apxs -c -o mod_jserv.so *.c This would build mod_jserv..It worked for me..wish u goodluck cheers, Deeps Thanks and Regards, Deepak C. S. Planetasia Ltd, A Microland Group Company, Bangalore,India Contact: 5522252 54 57 58 58 Extn 544 Email: [EMAIL PROTECTED] -- From: Wayne F Davis[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Monday, December 25, 2000 10:04 AM To: [EMAIL PROTECTED] Subject: compiling mod_jserv.so fails due to apxs:Break: Command failed with rc=16777215 I'm trying to compile mod_jserv but I'm having some difficulties. I did some searches and noticed people had some similar problems, but the only solutions I noticed had to do with the order of switches. I'd appreciate any help. Thanks! /usr/local/apache/bin/apxs -o mod_jserv.so -c *.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c autochange.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_ajpv11.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_ajpv12.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_balance.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_image.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_mmap.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_protocols.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_status.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_utils.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_watchdog.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_wrapper.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_wrapper_unix.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_wrapper_win.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c mod_jserv.c -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o autochange.o apxs:Break: Command failed with rc=16777215 Wayne Davis - [EMAIL PROTECTED] - PGP: finger -l [EMAIL PROTECTED]
how to include querystring in JSP
Hi, I want to include a querystring within an HTML anchor tag eg: a href="/examples/test.jsp?name=hello world" click /a but tomcat is giving JSP parse error as: 1)test.jsp(0,4) invalid argument I even tried encoding the href as response.encodeURL("/examples/test.jsp?name=hello world") eventhough everythgs written properly to html page,tomcat complains with (0,4) error..invalid declaration. can anybody let me know how to include querystring in links in JSPs?? thanx advance, deeps
RE: how to include querystring in JSP
thanx all who replied for my quest...It worked regards deeps -- From: Ted Husted[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Monday, December 25, 2000 7:04 PM To: Tomcat User List Subject: Re: how to include querystring in JSP a href="/examples/test.jsp?name=hello world" click /a As a rule, anchor tags should be URL encoded, so you might try a href="/examples/test.jsp?name=hello+world" click /a If you need to pass additional parameters later, you should also use HTML character entities where appropriate. a href="/examples/test.jsp?name=hello+worldamp;time=morning" click /a -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 425-0252; Fax 716 223-2506. -- http://www.husted.com/
tomcatt doesnt recognize when I change my Beans source...Please HELP
hi friends, I have Linux-apache-tomcat3.2.1. Ive have created a context "intranet" under tomcat-install/webapps/intranet and I have manually created Directories WEB-INF/classes under it. Is this a right way to do?? Please suggest. In classes dir,I have placed my JavaBeans arranged into packages.But,each time I make changes to my Beans,Ive to restart the tomcat to recognize the changes else its using old Beans (though it is "Page" only scope). Ive even configured server.xml by adding the context tag with Reloadable="true". Can anybody suggest If indeed tomcat3.2.1 supports automatic reloading of Class files??? Thanx in Advance, Deeps
RE: Includes
hi Friends, 1) Can anybody suggest How to create a Web Application structure i.e root/WEB-INF/web.xml root/WEB-INF/classes root/lib .. Is there a tool to develop this structure Or shd I do everything manually i.e creating all directories?? 2) Problems in Tomcat-apache.conf How to change the default parameters that are created when tomcat starts? eg: the Paths ApJServMount /examples/servlet /examples is added by default. But what if I want to change above line ApJServMount /examples /examples without modifying directly in tomcat-apache.conf. 3) Where to put Java Beans and how does Tomcat manage Life cycle of bean?? How do I call Destroy() methods say for eg. to Release a Database Connection handle which was created in a constructor?? Thanx in Advance, Deepu Thanks and Regards, Deepak C. S. Planetasia Ltd, A Microland Group Company, Bangalore,India Contact: 5522252 54 57 58 58 Extn 544 Email: [EMAIL PROTECTED] -- From: Kitching Simon[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Monday, December 18, 2000 7:33 PM To: '[EMAIL PROTECTED]' Subject: RE: Includes Hmm..seems like it should work fine. I do this sort of stuff right now, and there are no problems. One note: I set path to an *empty string*, not to "/"..don't know if this makes a difference or not. server.xml: Context path="" docBase="/home/ola3dev/webserver/docroot" debug="0" reloadable="false" /Context directory "/home/ola3dev/webserver/docroot" is layed out like: WEB-INF directory1 file1.jsp file2.jsp directory2 file3.jsp file4.jsp and files in one directory can include files in another directory without problem. One question: what happens if you put plain html files directly into the docBase directory. Can you access them from tomcat?? -Original Message- From: Bruce Cota [SMTP:[EMAIL PROTECTED]] Sent: Monday, December 18, 2000 2:46 PM To: [EMAIL PROTECTED] Subject:Re: Includes Thanks for the reply The problem I have is that I cannot get a context with the path "/" to work -- I just get 404's. The site I'm trying to work on (which already exists) uses url's like "www.company.com/app1/index.jsp" and "www.company.com/app2/index.jsp", where both index1.jsp and index.2.jsp include urls like "/include/setup.jsp". I can't seem to make this work in tomcat 3.2. In tomcat 3.1 I did it by setting up a Context with path="/" and a docBase set to the parent directory which includes "app1", "app2", and "include". But in 3.2 when I do this I get 404's. Kitching Simon wrote: Hi Bruce, I'm not entirely sure what your problem is. I'm almost certain you cannot include files "across contexts" using jsp:include (ie run-time include). That would involve invoking a servlet in one context from a servlet in another context. I'm almost certain that %@ include url (ie compile-time include) would not work across contexts either. The JSP specification (I used jsp1.2b1) states that the url *must* be a relative URL. It also states that the included page is "subject to access control", ie only files accessable from the webapp are includable; this seems to rule out including any file that is not under the webapp-specific document root, ie nothing stored in another webapp(context) can be included. Why can't you have all your files in a single context?? And what is the relevance of the context path? Including of files should work regardless of what prefix the webapp(context) has been given. Regards, Simon -Original Message- From: Bruce Cota [SMTP:[EMAIL PROTECTED]] Sent: Monday, December 18, 2000 9:23 AM To: [EMAIL PROTECTED] Subject: Includes Hi, I'm a newcomer to Tomcat and recently upgraded from 3.1 to 3.2. I have been working on a site in which one directory holds files included in several sibling directories. With 3.1, I was able to use a Context with path="/", but with 3.2 this does not seem to work -- I get 404's from tomcat in 3.2. I tried breaking up my directories into different contexts, but I can't seem to get includes to work across contexts -- I get "Bad file argument to include" when I try to include a jsp from the "include context" in a file in one of the other contexts. For that matter, I seem to have the same problem when I use anything but a relative url in an include. Am I doing something wrong? Is there a way to use a path="/" in a 3.2 context, or can I include files across contexts? Thanks for any advice, -Bruce