Any particular reason you're using a proxy instead of Tomcats built in
HTTPS support? (it came with 3.2 so you need to get that version if
you're not already using it).
Regards, Stefan.
-Original Message-
From: Geoff Lane [mailto:[EMAIL PROTECTED]]
Sent: 29. janar 2001 23:31
To: [EMAIL
Hi,
The trivial solution is to write a servlet which takes the html page
locations as parameter and reads the files, which should be located ot of
your web space, and prints the file content to the screen.
Since html files are not accessible by default the only possibility is to
use your
Hi,
is there any way to load own classes as permission objects and other
stuff of my application when Tomcat starts up?
Greetings,
Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL
Take a look at JDO and Castor JDO.
It is a JSR that is currently in development.
http://castor.exolab.org/
Christophe
"Shahed Ali"
I'm hosting the webserver myself, on an ADSL connection with fixed IP
address.
Anyway, the site is up and running now, including the servlets. The problem
was that port 8007 was disabled on my connection, now that it is enabled
everything is working fine.
Regards,
Wim Praet.
-Original
You must compile mod_jk.so from sources in your system.
The binaries from the Jakarta Project doesn't redirect jsp files to
Tomcat correctly.
Mark Balster escribi:
Any known issues with mod_jk and the Mandrake 7.2 distribution?
I have not been successful in getting Apache and Tomcat
Hi guys,
Does tomcat caches the content displayed on the site or provision is to be
made for cahcing to happen.
Tarun
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
Hi when processing a request in a tag extension class I get a "null"
returned when I call HttpServletRequest.getQueryString() after a POST
when I change the form to use GET, I
get the QueryString as expected. my code fragment looks like:
public int doStartTag( )
throws JspTagException
Hello,
I've got the same problem as yesterday. My servlet's (a jar-file)
directory is /webapps/intramail/WEB-INF/lib/
Everything works fine when I call
http://localhost:8080/intramail/servlet/IntraMail, but
I'd like to call http://localhost:8080/intramail/IntraMail.
I tried mapping,
Just try
servlet-mapping
servlet-name
IntraMail
/servlet-name
url-pattern
/IntraMail
/url-pattern
/servlet-mapping
normally http://localhost:8080/intramail/Intramail will work now because the
url pattern is relative to your
Title: RE: mod_jk load balancing error mechanisms during tomcat failure
Hi,
Running Apache 1.3.14, Win 2k pro, and tomcat 3.2.1, with mod_jk, and with pretty much the same setup, only with 2 tomcats, it did reconnect to the failed server after about 1 minute.
jk_lb_worker.c says that:
Take a
look at the bottom of the default server.xml. I shall include it here for
you:
!-- Virtual host example -
In
"127.0.0.1" virtual host we'll reverse "/" and
"/examples"
(XXX need a better example
)
(use "http://127.0.0.1/examples"
) Host name="127.0.0.1"
Context
path=""
servlet
servlet-nameIntraMail/servlet-name
servlet-classyour.package.IntraMail/servlet-class
/servlet
servlet-mapping
servlet-nameIntraMail/servlet-name
url-pattern/IntraMail/url-pattern
/servlet-mapping
your servlet can now be accessed as you want it to.
Can anyone please help me on how to setup contexts
for ex: http://localhost:8080/tcp
and please also kindly me know the username and password for the
http://localhost:8080/admin page or is there any alternative for the
above.
Raj.
The query string is ONLY the parameters passed on the URL after the ?,
these can appear on both a GET and a POST (though for POST it would have
to be in the action URL itself, not a form parameter).
If you want the list of parameters from form fields on a POST, you can get
them via
Hellow,
I've got a problem with Tomcat IIS HowTo. The problem is that I can't
load the jakarta filter after restarting IIS.
My configuration is IIS 4.0 - SP6, Tomcat 31.
Yours Dusan Radeka.
It's fixed in CVS for 3.2.2.. and 3.3, i dont remember if for 4.0 if
it's done,if not it will be ..
Tomcat will start with or without DB server..., It will try to access DB
the first time a user it's authenticated , not at tomcat start..
Saludos ,
Ignacio J. Ortega
-Mensaje
GOOD CODE. I am going through it and will get back to you very soon.can I
reply to you offlist??
RKJHA, ELECTRONICS ENGINEER
At 10:41 30/01/01 +0100, you wrote:
I wrote a pair applet-servlet to do a server-based circuit simulation from an
applet located in some client computer. Here are the
Ok if I am following this right you want to do SSL via Apache and Tomcat
using ( I am guessing mod_jk ). Correct me if I am wrong but Apache handles
SSL via mod_jk and you don't need to make any changes to your server.xml
file - those changes are for Tomcat to use SSL standalone.
-- Pete --
-
I'm trying to use mod_jserv+Apache for load-balancing with tomcat running on
different machines.
Works great so far.
Now - how do I use the status-interface of jserv to graceful shutdown
specific tomcat-processes
so they are not included in the balance process but still get the old
requests.
All,
We're using Tomcat and struts for development and have installed the IIS
redirector without a hitch on 3 machines. When I went to install on another
machine, I couldn't get it to work. Symptom is tomcat getting called for the
/jakarta/isapi_redirect.dll.
Since I have a working system, I
Hi,
I'm installing "Tomcat 3.2.1" on a Linux RedHat 7
system running a 2.2.16 kernel and the "jdk1.3"
Java version.
Tomcat in stand-alone mode produces the following
error:
(I try to connect to
"http://localhost:8007", the default settings)
HANDLER THREAD PROBLEM:
As discussed on this list before, yes this is a know bug. The two
work arounds are:
1. Don't use pathes with spaces
2. Use the 8 character name for the path (i.e. Program~1). I
believe that some people have reported that this option didn't work for
them.
Randy
Hi
can someone help please
I've just installed tomcat onto a windows 2000 server, its running fine and
went on really easily, the examples all work but I've run into a problem I
don't know how to solve.
I have a second web server running on d:\studentwork with each sub dir being
a
Hi all,
Thanks a lot in advance. I have a grave problem with tomcat. To run my
servlet i have place all my .class file in the
D:\jakarta-tomcat\webapps\examples\WEB-INF\classes Directory. To see
them working from my browser i have to call
http://localhost:8080/examples/servlet/CookieExample from
I am trying to port my application from Tomcat v3.1.x to the latest release
v.3.2.1 and I get this exception:
java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
at netdb.Prenota.setCity(Prenota.java, Compiled Code)
at
Carlos - I'm curious, how are you sending the data from the applet
to the servlet? Why do you think the applet is setup to use the "POST"
method?
You could always call your doPost() method in your servlet from
the doGet() method.
--- Carlos R Armas [EMAIL PROTECTED] wrote:
I am trying to
Nope...I want Tomcat to do SSL directly. I have it working just
fine with Apache+mod_jk+Tomcat, but I don't need Apache because everything being
served is jsp or servlet, so Apache is unneeded overhead and an extra thing to
maintain. [EMAIL PROTECTED] 01/29/01 06:43PM
Ok if I am following
Try Forwarding the request intstead... if the origional request was a
POST then the forwarded one will be as well.
Matt Goss
David Wall wrote:
Is there a way to setup a sendRedirect() URL to result in a POST to that
URL? I know I can set the contentType to
What are you doing in setCity that might cause an NullPointer?
Randy
-Original Message-
From: Marino Vittorio [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 9:20 AM
To: 'Tomcat-User (E-mail)
Subject: Porting apps from v3.1.x to v3.2.1
I am trying to port
Hi,
have you tried to enclose the whole path with double quotes, quotes or
something in the style ??
wrapper.tomcat_home="C:\Program Files\Application Name\tomcat"
Justa thought, I never tried to use it that way.
Cheers
--
Vctor A. Rodrguez ( http://www.bit-man.com.ar)
Telefnica de
Hi List,
I created an object that tracks the amount of sessions and can refer to any
of them if needed be. It uses a weak reference to make it possible that
Tomcat can still drop a session if a user leaves the server. The trouble is
Tomcat doesn't drop any sessions! It can't be because I have a
Here is one:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.html
-Original Message-From: Betty Chang
[mailto:[EMAIL PROTECTED]]Sent: Friday, January 26, 2001
10:13 PMTo: [EMAIL PROTECTED]Subject: where
does one find instructions on configuring IIS
Hi everybody,
I want to use JDBC Realms with TOmcat for
authentication. Can some body point me in the right direction? Is there any
documentation on how to implement one using Tomcat? Or has anybody done it
so that they can provide me with first hand knowledge about how to
Ivo Limmen typed the following on 03:58 PM 1/30/2001 +0100
I created an object that tracks the amount of sessions and can refer to any
of them if needed be. It uses a weak reference to make it possible that
Tomcat can still drop a session if a user leaves the server. The trouble is
Tomcat doesn't
Hi,
Have a look the the JDBCRealm-HowTo located in the Tomcat docs folder in
the distribution.
It is fairly simple to implement however there is only support for Basic
authentication in Tomcat 3.x.
Regards,
Raimee
Hi everybody,
I want to use JDBC Realms with
And FORM authentication too not only BASIC..
In addition Tomcat 3.X standalone supports SSL as well as connected to
Apache Server, it's easy to do a SSL secured BASIC authentication in
Tomcat 3." and up..
Tomcat 4.0 has CLIENT_CERT ( please teake ti easy i do not have the spec
in the wall now )
Hi... Anyone have any idea what this means? I have no idea what is being
configured wrong or where it is being configured. Very odd.
javax.xml.parsers.FactoryConfigurationError:
com.sun.xml.parser.SAXParserFactoryImpl
at java.lang.Throwable.init(Compiled Code)
at
I've done this
with tomcat 3.2.1
with JSSE (loaded at sun)
I've added jsse jars in the classpach,;
changed few properties about security providers,
in the server.xml I've activated the SSL
connector that is commented out...
it works perfectly with that
section in server.xml
Connector
Hi!
As a newbie, I try to integrate Tomcat 3.2 with Apache
3.12 under RedHat 7.0. So I need the mod_jk.so shared
library.
But I don't find the mod_jk library in the build
directory of Tomcat 3.1 or 3.2 (under 3.1 there is a
mod_jserv.so, but i such the mod_jk !!!).
nb: I don't want to dowload
Check it out...
http://www.ccl.net/cca/software/UNIX/apache/
There is a link to compiled mod_jk.so there...
Jan
On Tue, 30 Jan 2001, [iso-8859-1] Joel Cordonnier wrote:
Hi!
As a newbie, I try to integrate Tomcat 3.2 with Apache
3.12 under RedHat 7.0. So I need the mod_jk.so shared
Joel Cordonnier wrote:
Hi!
As a newbie, I try to integrate Tomcat 3.2 with Apache
3.12 under RedHat 7.0. So I need the mod_jk.so shared
library.
But I don't find the mod_jk library in the build
directory of Tomcat 3.1 or 3.2 (under 3.1 there is a
mod_jserv.so, but i such the mod_jk
I'd like to use the Apache web server with Tomcat. I haven't managed to
locate any documentation in this regard. Can someone point me to the URL?
Thank you,
Paul Asarak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Check it out...
http://www.ccl.net/cca/software/UNIX/apache/
On Tue, 30 Jan 2001 [EMAIL PROTECTED] wrote:
I'd like to use the Apache web server with Tomcat. I haven't managed to
locate any documentation in this regard. Can someone point me to the URL?
Thank you,
Paul Asarak
Hi,
I have NT4 and Tomcat on IIS4.
All works fine.
All servlet samples runs very well.
I want to create a new context like
http://127.0.0.1/newcontext/servlet/HelloWorldExample
Is someone can give me a step by step ?
Thank you
Try
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-apache-howto.
html
Gilles
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 11:17 AM
To: [EMAIL PROTECTED]
Subject: Tomcat and Apache integration
I'd like to
Can anyone help with this please?
really need to be able to let students write their own jsp/servlets and have
them work without having to make huge alterations to the server.
thanks Matthew
-Original Message-
From: Matthew Birkin
Sent: 30 January 2001 13:38
To: [EMAIL PROTECTED]
I've got tomcat running with apache, and everything's working fine,
but when I invoke the first servlet from a browser, I get a 60-80
second delay. Everything after that is fast -- it's just that first
servlet that's showing the delay. It doesn't matter which servlet
I use, or whether I
I'll provide one ASAP...
On ne peut rsoudre les problmes les plus graves avec le mme esprit qui
les a cres.
-- Albert Einstein
-Original Message-
From: Joel Cordonnier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 4:47 PM
To: [EMAIL PROTECTED]
Subject: Apache/Tomcat
Because it allows us to have multiple machines serving one URL without
having multiple SSL certificates. It also offloads SSL encryption to
dedicated hardware. Those are the main reasons.
Stefn F. Stefnsson wrote:
Any particular reason you're using a proxy instead of Tomcats built in
HTTPS
Hi,
on Tomcat 3.2.1 (Linux 2.2, IBM JDK 1.3), I experience the problem
that removing an application through the administrative webapp breaks
database connections for JDBCRealms (which are not subsequently
reestablished, unfortunately).
Is this a bug or am I doing something wrong and this
I'm not sure, but I've heard on the list that there is an expensive random
number seeding process that occurs on the first access to the server. This
could be what you are seeing. To make this less obtrusive, you could create
a load-on-startup servlet which makes a request to your server so that
I'm trying to get my head around trying to make tomcat as secure as possible.
Basically I'm unable to get any other ports open in our firewall bar 80.
What I'm trying to do is when a user sends a request to our site (first hes
reversed proxied just to knock out any bizarre strings) then the
Hi,
I am looking for a "How to" document about that subject, does anyone
know of a good article?
thanks,
David.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
this is a known limitation, you can't use spaces in the wrapper path.
d.
Reply Separator
Subject:RE: Problem with installing tomcat as NT service - spaces in
Author: [EMAIL PROTECTED]
Date: 30/01/2001 3:54 PM
Hi,
have you tried to enclose
This is right. The process is firewal - Apache - mod_jk -
Tomcat, and then the reverse. The client receives the request on port 80
and never even knows that Tomcat was involved. The downside to this is that
you can't shutdown Tomcat from outside the network (probably no a problem,
Can anyone help me on how to create a context like /tcp or /exams in the
server.xml file. And also please let me know the password and username to
enter into the /admin pages.
Rajshekhar.
-
To unsubscribe, e-mail: [EMAIL
Try adding:
uc.setRequestMethod("POST");
Before you get the output stream.
Also, a word of caution. I have found that if the response from
the web server takes longer that the keep-alive timeout value set
for your web sever, your applet will not be notified (no exception
Will the old c:\progra~1\applic~1\tomcat method work ?
Damian
-Original Message-
From: DIEGO RODRIGO [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 9:14 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re:RE: Problem with installing tomcat as NT service - spaces
David Treves wrote:
Hi,
I am looking for a "How to" document about that subject, does anyone
know of a good article?
thanks,
David.
The http://javaranch.com/common.jsp
collection of methods
--
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Hi Paul,
in your answer toRachel you mention a "load-on-startup servlet". Do you
have/know an example how to write and implement such a servlet?
Greetings,
Andreas
Paul FitzPatrick wrote:
I'm not sure, but I've heard on the list that there is an expensive random
number seeding process that
this is a known limitation, you can't use spaces in the wrapper path.
wrapper.tomcat_home="C:\Program Files\Application Name\tomcat"
You can always use the following:
wrapper.tomcat_home=C:\Progra~1\Applic~1\tomcat
(Check the real 8.3 names in your system)
There is no difference from a standard servlet in terms of writing it,
except for one addition - you have to write an init procedure. Then to make
it load on startup, you need to modify your web.xml file to have the
container do this process. The prototypes for the functions and the
additions to
It's not hard. Just add the following code to your web.xml (the one inside your
webapp/WEB-INF, since conf/web.xml isn't used at all):
web-app
servlet
servlet-name
InitServlet
/servlet-name
servlet-class
InitServlet
/servlet-class
Will give that a shot. Although it will require a minor modification. I remember
that rather than using URLConnection, I should use HttpURLConnection (not sure,
but I think the latter is derived from URLConnection).
armas
(*) Will not know the results til tomorrow... machine is at home!!
Check out a recent thread in the Tomcat message archive...search for
"Session creation speed" to find the thread...
From one msg in that thread...
-Dtomcat.sessionid.randomclass=java.util.Random
used to change to use a non-secure Random nbr generator. OK for
development, suggest switching
Rachel Gollub wrote:
I've got tomcat running with apache, and everything's working fine,
but when I invoke the first servlet from a browser, I get a 60-80
second delay. Everything after that is fast -- it's just that first
servlet that's showing the delay. It doesn't matter which servlet
I
1) Setting up a Context
server.xml
Context path="/tcp"
docBase="C:/SomePath/to/tcpRoot"
crossContext="false"
debug="0"
reloadable="true"
/Context
C:/SomePath/to/tcpFolderRoot then has the following directory structure
C:/SomePath/to/tcpRoot/Web-inf - web.xml goes here if you
I've seen the same. And I know the load-on-startup IS working. I added:
lynx -dump http://localhost/YOUR_URI_HERE 2 /dev/null
To tomcat.sh ... it's not the cure but it masks the symptom.
-Original Message-
From: Rachel Gollub [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January
Whenever I build mod_jk.so with apxs i get this problem! Can someone
please help!
Thank-you
Phil
[root@Fileserver apache1.3]# apxs -o mod_jk.so -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c *.c ../jk/*.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
Be careful with case. The directory name shoul dbe WEB-INF not Web-inf. Even
though Windows ignores case, it still preserves case, and tomcat enforces
the rules on case sensitivity despite windows.
Also, the WEB-INF directory is protected, so no files will be served from
there.
Regards,
Paul
Try Linux :-)
DIEGO RODRIGO wrote:
this is a known limitation, you can't use spaces in the wrapper path.
d.
Reply Separator
Subject:RE: Problem with installing tomcat as NT service - spaces in
Author: [EMAIL PROTECTED]
Date: 30/01/2001
Hi!
I'm developing JSP Taglibs for a research project at our university. While
doing so I had some trouble with the setters of the Tags:
java.lang.NullPointerException
at
org.apache.jasper.compiler.TagBeginGenerator.generateSetters(TagBeginGenerat
or.java:196)
at
I'd like to use the Apache web server with Tomcat 3.2.1. I haven't managed
to find the connector for them. Can someone point me to the appropriate
URL?
Thanks,
Paul Asarak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Two hours ago, I provided you with the pointer where you can find the
mod_jk.so connector:
http://www.ccl.net/cca/software/UNIX/apache/index.shtml
The RPMS were also mentioned:
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/rpms/
In the Instructions for Linux RH7.0
(e.g.:
For Win32 ---
http://jakarta.apache.org/builds/tomcat/release/v3.2.1/bin/win32/i386/
For Linux ---
http://jakarta.apache.org/builds/tomcat/release/v3.1.1/bin/linux/i386/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001
Hi
I try to build mod_jk.so and system replies No match.
My configurations is:
Solaris 8
Forte developer 6 (C++ compiler)
Tomcat 3.2.1
Apache 1.3.14
Both Tomcat and Apache work fine by itself.
The online command is:
/usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk
-I/usr/java/include
Hello
I'm having trouble trying to run a webapp requiring castor (exolab.org) in
tomcat 4.
Problems seems to be due to castor requiring xerces, which itself conflict
with crimson. I may be completely wrong on this... anyway, I tried to strip
unneeded xerces classes while keeping only the
It is known that compiling apache under non-GNU C compiler is a problem...
On the other hand, under gcc it compiles like charm...
Jan
[EMAIL PROTECTED]
Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168
Ohio Supercomputer Center|Internet: [EMAIL PROTECTED]
1224
All
My apologies for asking this, which I guess is in some documentation/archive
somewhere --- I just can't find it.
I have Tomcat 3.2.1 and I want it to listen on given IP address (on a host
with many) and a given port. I've looked in manuals in server.xml and see
some hope -- the virtual
Has anyone seen this error on startup in 3.2.1?
Exception in thread "main" java.lang.ExceptionInInitializerError:
java.util.MissingResourceException : Can't find bundle for base name
org.apache.tomcat.resources.LocalStrings, locale en_US
at
Oh, woah. I just came in the middle of this
discussion. I'm looking for something that would
let me have server push through HTTP, and this
looks like it could work. How does this look
on the client side? Do you simply use a
URLConnection and read from the InputStream
like it was a
Dear List,
I am trying to run tomcat stand alone on an NT platform. I am trying to run
the server on a different ip from that of the host i.e we need to be able to
run tomcat not from the localhost address but from an allocated ip address.
What cahnges do i need to make this work as I keep
Hi there.
Wondering if you can help me get this to work. When i try to run the jsp examples I
get the following errors:
in the file ex010130.log which was in my System32\LogFiles\W3SVC1 directory -
#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2001-01-30
You're haveing the same problem I am. If you go run $TOMCAT_HOME\bin\tomcat
run it will run the server in the same window so when it quits you'll be
able to see why. I'll bet dollars to dounuts you'll see this:
Exception in thread "main" java.lang.ExceptionInInitializerError:
What will server push do?
-Original Message-
From: Gerard Monsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 1:12 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: getting server push to work
Oh, woah. I just came in the middle of this
discussion. I'm
I think the problem is that tomcat is buffering data from the servlet, and
only sends when the servlet finishes. I've tried the nightly 3.3 builds from
01/29 on NT, with no luck. There should be a way to turn off this buffering
but it's been elusive so far.
If you figure this out let me know.
sushil wrote:
Dear List,
I am trying to run tomcat stand alone on an NT platform. I am trying to run
the server on a different ip from that of the host i.e we need to be able to
run tomcat not from the localhost address but from an allocated ip address.
What cahnges do i need to make
Hi
Trying to install Tomcat. The user guide says binaries are already available
for linux. But I don't see thje mod_jk.so file on the download page.
I tried to compile but apxs is giving me an error
apxs:Error: @sbindir@/httpd not found or not executable
who can help this poor newbie
thanks!
On Win32
"$TOMCAT_HOME\bin\startup.bat" or "$TOMCAT_HOME\bin\tomcat start" -- will
start Tomcat in a different window
"$TOMCAT_HOME\bin\tomcat run" -- will start Tomcat in the current MS-DOS
prompt window
The latter is great to begug a problematic server start since you can
actually see the
Since no one responded, does that mean there's nothing wrong with the xml
below?
It's still not working. Any suggestions would be welcome.
--Michael
-Original Message-
From: Michael Molloy [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 7:41 PM
To: Tomcat
Subject: How to
Is it possible to run tomcat with windows 98 ?
I can't do it, the window's command crash before the end of
initialisation
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
The main benefit I've read of using apache with tomcat instead of just
tomcat standalone is that apache is faster for serving static pages. If
I am starting a new development effort that will only be using servlets,
is there any reason to use apache, or should I just stick with tomcat in
I have done this by placing the *.tld files under WEB-INF directory because I
had problems when I kept those files in WEB-INF/lib.
Then in my web.xml file I refer to this as:
taglib
taglib-uri/WEB-INF/some.tld/taglib-uri
taglib-location/WEB-INF/some.tld/taglib-location
When i try to run tomcat i have this message :
D:\Apache Group\jakarta-tomcat-3.2.1\bintomcat run
Including all jars in ..\lib in your CLASSPATH.
Using CLASSPATH:
..\classes;..\lib\ANT.JAR;..\lib\JAXP.JAR;..\lib\SERVLET.JAR;..
You may want to try setting the url pattern relative to the root i.e.
url-pattern/dir1/subdir1/selectroster.jsp/url-pattern
Bob
-Original Message-
From: Michael Molloy [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 7:41 PM
To: Tomcat
Subject: How to prevent a .jsp
You may also want to try setting the url pattern relative to the root going
only down to the directory in which it exist to see if that atleast works,
rather than specifying the coplete path to the file.
i.e.
url-pattern/dir1/subdir1/*/url-pattern
Bob
-Original
I don't change my web.xml at all.
In my JSP-page I have the following:
%@ taglib uri="/WEB-INF/some.tld" prefix="whatever" %
where the uri gives the path to the tld-file relative to the webapp you are
working on.
Then you need no taglib... in your web.xml. it's the easiest way I think.
Hope
If you are in a development cycle where you only use servlets, then I would suggest
that you
utilize Tomcat in standalone mode, as you will not gain anything by throwing Apache
into the mix.
In fact,
However, since you will ultimately deploy to a production environment where you will
most
I've tried several variations, from your suggestion below to including the
entire url (www. . . .).
I'll take another look at it.
Thanks
--Michael
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 4:29 PM
To: [EMAIL PROTECTED]
1 - 100 of 137 matches
Mail list logo