Title: RE: Is it possible to include via a directive snippets into the server.xml file
Thanks Andrew,
is there a naming convention that must be followed or do you know where I can get further info on this.
Cheers
Rob
-Original Message-
From: Andrew [mailto:[EMAIL PROTECTED
://localhost/roller/ and I see the webapp html no
problem, but I get the exception below whenever it tries to hit mysql.
thanks in advance for any help on this (chunks of httpd.conf/server.xml
versions at the bottom if they can aid diagnosis)
rob.
Catalina.start: LifecycleException: Exception opening
--
--
Thanks,
Rob Reed
Isomedia.com
425-869-5411 ext.139
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
,
Rob
_ _ _ _ __ _ _ _ _
/\_\_\_\_\/\_\ /\_\_\_\_\_\
/\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __/\/_//\/_/ PROFUNDUM VIDITUR
Hello,
I am trying to run 64-bit Java 1.4 w/ Tomcat, and I get a sig 11 everytime
I start up with -d64, -server or both.
-client works, without -d64 works.
Any known issues with this configuration? Is there any helpful debugging
I can do or data that I can provide?
TIA,
Rob Helmer
At a high level, here's what you should do:
1. Download and install the JDK (latest=1.4.0_01); I
would install it to the /usr/local directory. Unless
you have provided yourself with the appropriate
permissions, you will have to log in as root to do
this. Once the JDK is install, set a
Is there a way to test a non-visual bean which I
intend to use for JSP, Servlets, etc.? Do I have to
use the BeanBox? Can I use something like JUnit? I
want to make sure my bean works correctly before
trying to call it from JSP.
Thanks,
Rob
I haven't tried this with Tomcat (I've just used
Tomcat as a stand-alone). However, I know that JRun
integrates easily with IIS (we do so at my org. for an
extranet site which supports ~2K users.
--- Mauricio Tia Ni Gong Lin [EMAIL PROTECTED] wrote:
I am a web developer and I'll have to
I have a number of threads that I would like to launch when tomcat
loads. until recently I was just using the first request to launch them
but I would prefer that they just started automatically when tomcat starts.
Is there any way to start new threads when tomcat is launched?
Thanks
Rob
it would help if you specified the exception you got, and maybe the output
of getMessage()
Hi All.
Please help me get mail/Session value from tomcat configuration file.
My servlet need to send an eMail and I need smtp server specific for
each server where servlet is running.
I tryed:
the lookup string wrong.
Hope this helps
Hello, Rob!
You wrote to [EMAIL PROTECTED] on Thu, 18 Apr 2002
15:44:45 +0200 (CEST):
Please help me get mail/Session value from tomcat configuration
file.
My servlet need to send an eMail and I need smtp server specific for
each server where
try in rc.local
JAVA_HOME=/usr/local/java /usr/local/jakarta-tomcat/bin/startup.sh
Or wherever your ${tomcat.home} and $JAVA_HOME may be.
Rob
Danilo Luiz Rheinheimer wrote:
At 21:49 17/4/2002 -0700, you wrote:
i have put the entry path-to-tomcat\startup.sh in the rc.local file
starts if I could get the pids from the
native java and this happened I could write a script that just
kill -KILL pid as it is now I have to do a ps to check which
and kill it by hand.
Anyone else having this problem or have a solution for it?
Thanks
Rob
--
To unsubscribe: mailto:[EMAIL
When tomcat displays error messages after an exception in the underlying
application typically does some formatting on the error produced (ie
adding styles).
I use mod_jk to run my application where the jsp/servlets function fine
over the connector to tomcat. However if an error occurs
version of the connectors have too
many build scripts and dependencies that fry when you try to build them.
Rob
Diego, Emil wrote:
Here is what I want to do. I need to know if it is possible.
I am currently running apache 1.3 on redhat linux 7.2. I want to know if it
is possilbe to get
improvements don't be shy.
Rob
Cheng Yan wrote:
According to an article Tomcat-Apache HOWTO on
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html :
QUOT.
==
When Tomcat starts up it will automatically generate a configuration file
for Apache in TOMCAT_HOME/conf/jserv
I believe that's correct how are you using the 'request' reference?
At 03:53 PM 4/12/2002 -0400, you wrote:
According to what I've read, there should be a
javax.servlet.http.HttpServletRequest instance by the name of request
available to me in my JSP at compile time without my having to do
This is related to struts yes. Struts applications expect that there is a servlet
mapping
for *.do or do/* in web.xml for classes that extend org.apache.struts.action.Action (I
believe). A visit
to the struts home might be helpful.
Rob
There has to be a servlet mapping for *.do
I would like to use the FileLogger to report errors from my application.
I've setup the FileLogger attributes under my Context in the
server.xml but how do I get a reference to the logger from within the
application
in order to call log()?
Thanks
Rob
--
To unsubscribe: mailto:[EMAIL
During development I find it useful for stderr to be dumped to the terminal from which
tomcat was started. With tomcat 4.0.3 standard error by default goes to catalina.out
where can I change this so that it goes to my terminal instead?
Thanks
Rob
--
To unsubscribe: mailto:[EMAIL PROTECTED
is where or what package are
these headers from so that I can make it available to the build environment.
Thanks.
Rob
[so]
/usr/work/mod-webapp/jakarta-tomcat-connectors-4.0.2-01-src/jk/native2/jni/j
k_jni_aprImpl.c:65: apr.h: No such file or directory
/usr/work/mod-webapp/jakarta-tomcat
You should also review the web.xml file that is there.
Without it you wont go very far
-Original Message-
From: Daniel Hinojosa [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 16, 2002 11:26 PM
To: Tomcat Users List
Subject: Re: Where do I have to put classes?
Ryuji Yokoyama wrote:
How would you do that if you are using Form authentication
and the web.xml file directs them to a loginpage before they
access the index.jsp
Have the same problem and found that If they accept session cookies
then all is ok
Your help would be greatly appreciated.
-Original Message-
is incompatible with TC 4?
Rob,
I'm not sure I understand what you want, but regarding session cookies,
IE5/Mac and SSL, I think that the problem is that TC 4 does not seem to
automatically support persistant TCP-connections which both gives bad
performance, and confuses at least one browser to the extent
not be the answer you are looking for, but if you implement the
login form yourself, you can log failed login attempts however you want
to...
-
Scott
-Original Message-
From: Rob Cartier [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 10:36 PM
To: 'Tomcat Users List'
Subject: help
log it and keep track of the failures to lock
the account.
everything else is available from the cgi variable
getRequest..etc... methods.
Posted this a few times but nobody as responded
is this even available
Rob Cartier
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands
I got my login working with SSL and for now the use of the
tomcat-users.xml file
I would like to log all login attempts both success and failure.
What is the best way to capture the information
I only need the username from the j_username attempt
I am able to get the rest that I want from
I got my login working with SSL and for now the use of the
tomcat-users.xml file
I would like to log all login failed attempts .
What is the best way to capture the information
I only need the username from the j_username failed attempts
succesful logins are loaded into the cgi variables
I need to copy this whole structure? Do I need a directory called
servlet?
Thanks for any assistance!
Rob
:-)
;-
:-]
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
request. (Which in some cases requires the opening of 10-30 files (in
sequence of course) just to get information to fufil the request.
Thanks
Rob
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
to get working with apache 1.3.x and tomcat 4?
Thanks
Rob
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
/config/context.html
But I don't see how this allows us to keep applet and servlet files together
with other java files in the one directory.
Can you tell me more?
Rob
:-)
;-
:-]
-Original Message-
From: Matt Egyhazy [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 3 February 2002 1:28 PM
be helpful.
Thanks
rob
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
I tried the following
request.setHeader(Content-Disposition, attachment; filename=mypdf.pdf);
and it seemed to work, is this the correct way or is there a more
appropriate way to do this?
Thanks
- Original Message -
From: rob [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED
of
the system can access the files and other classes needed.
How can we solve this problem? Is it a matter of setting up aliases in a
config file or something similar?
Thanks!
Rob
:-)
;-
:-]
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles
In order to provide more secure access to my .jsp pages
I have moved them above the WEB-INF directory and
am using a servlet to forward requests to them.
However a problem arises when I try to do this with
regard to compiling of the .jsp pages they can't seem to
properly locate my custom tag
accessible because they
aren't in the same package.
You can either add imports to all your JSP pages or
put your tags into a package and update your TLD.
Cheers,
Larry
-Original Message-
From: rob [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 9:53 AM
To: [EMAIL
!)
I would be very greatful for any light that could be cast on the problem
Rob Turtle
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
Thanks a lot - seems to work fine
bye
Rob
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
downloaded binaries.
I'm having some problems with tomcat 4.0.1 Manager, but overall the installation
is running well.
What has been your difficulty with building mod_webapp?
- rob macfarlane
Information Systems Services
Berkeley National Laboratory
[EMAIL PROTECTED] wrote:
I
You can set it in web.xml or server.xml:
session-timeout50/session-timeout
- rob
Catalin wrote:
Hi!
In wich file is setted the time witch the session remains valid
without any operations made in my web-app.
In my case, if I login to my application and I stay logged in without
doing
to restart IIS you
have to
do it from the Services control panel applet, not the Microsoft Management
Console.
Regards,
Rob Griffin
Quest Software
E-mail: [EMAIL PROTECTED]
Web site: http://www.quest.com
-Original Message-
From: Robert Keddie [mailto:[EMAIL PROTECTED]]
Sent
perfectly.
Rob Griffin
Quest Software
E-mail: [EMAIL PROTECTED]
Web site: http://www.quest.com
-Original Message-
From: Rob Griffin [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 10:50 AM
To: [EMAIL PROTECTED]
Subject: Can't get Tomcat 3.2.3 and IIS to work together
.
Rob
--
_
Rob W. van Swol
National Aerospace Laboratory NLR Tel. +31 527 248252
P.O. Box 153Fax +31 527 248210
8300 AD Emmeloord E-Mail [EMAIL PROTECTED]
The Netherlands
an .htaccess file. I googled htaccess apache password
protect and got this... http://www.xav.com/scripts/help/passwd.html
On Thu, Oct 04, 2001 at 09:10:21PM -0700, Rob Smyth scribbled:
I'm putting all my admin content management pages into a directory inside
root. Is there anyway I can
.shtml'
does not make a difference. How to solve this?
Regards,
Rob
--
_
Rob W. van Swol
National Aerospace Laboratory NLR Tel. +31 527 248252
P.O. Box 153Fax +31 527 248210
8300 AD Emmeloord
.
(Tested with Apache 1.3.11 both on Linux and SGI Irix).
Rob
Rodrigo Reis wrote:
Hello William,
If your platform is Linux you can find a binary of mod_webapp in this URL:
http://www.apache.org/dist/jakarta/jakarta-tomcat-4.0/release/v4.0/bin/
I'm using it and it seems OK
cocoon.properties) from the
cocoon.jar and place them somewhere you want and then change your
cocoon.properties and point to these files with an absolute path
(instead of the resource:// references.)
Rob
--
_
Rob W. van Swol
National Aerospace
AuthName Protected Area
AuthType Basic
Limit GET POST
require valid-user
/Limit
Any ideas ??
Rob
subdirectory.
Craig McClanahan
Can't find them
Please help. I need them for RH 7.1 and tomcat 4.0 with Apache 1.3
Rob
Again demonstrating that performance is completely dependant upon the OS, JDK, type of
web application, etc. Blanket statements like, Tomcat is faster/slower than some
other container are *pretty much* (not completely) useless nowadays.
How hard is it to install JDKs and test? Change the
On Fri, 24 Aug 2001 14:43:50 +0200 [EMAIL PROTECTED] wrote:
i had the best results with the sun jdk 1.3.1 on windows and with ibm jdk
1.3.0 for linux. on some linux machines the sun jdk wouldn't work at all...
Not to defend it or anything =) but I've run it on suse, redhat, debian, and
Understand I am an idiot... but oh well... just a suggestion then for
people like me that read... in Developing Applications with Tomcat, in 4.1
Directory Structure... in the lib/ portions, just put a note... 'JAR's only
(No zips)'... I know it says 'JAR files' but I thought zips and jars
Oh man, i'd eat up some Tomcat shirts. I wonder if I we'd be able to use the TC logo
the Pier made?
You can get Java stuff from http://java.sun.com/. I think it's under java wear and
books.
- r
On Fri, 24 Aug 2001 09:55:47 -0400 [EMAIL PROTECTED] wrote:
Hi, I recently saw someone with a
I've added 2 .war files to the $TOMCAT_HOME/webapps dir as per install
notes but restarting tomcat doesn't affect them and I can't find (yet) any
other info on what I have to do to extract them (they are archives right?).
Restarting Tomcat should have expanded them into their
Ok, I give up, what am I doing wrong?
I dunno, what happens in the browser and what's output in the log?
- r
Someone correct me if I'm wrong plz =) but I believe the web.xml in $TOMCAT_HOME/conf
is applied to all web apps. I think I read on the dev list (from Larry) that this
feature was removed in 3.x to increase app portability === that relying on a default
web.xml reduces the portability of an
Can you please explain to me how to use RequestDispatcher.forward()?
Yikes... you're better off searching Google or picking up a book on servlets. Or
heck, you could read the servlet api javadoc comments =)
- r
See the Context tag in server.xml, esp the docBase attribute.
- r
On Fri, 24 Aug 2001 17:53:26 +0200 [EMAIL PROTECTED] wrote:
Hello!
I am trying to set up Tomcat to work in the environment where we have been
developing another application. In this environment we do not have a
webapps
I'd be glad to run the same test here. What version of Mozilla, Tomcat, setup, source
code, etc.?
- r
On Thu, 23 Aug 2001 14:28:55 +0100 [EMAIL PROTECTED] wrote:
So readers, can I assume noone has anything useful to add to why Tomcat
produces: htmlbody/body/html
for no apparent reason?
grep $CATALINA_HOME/* for sealing, and search the mailing list archives as well.
I'm pretty sure the list has gone over this before =)
- r
On Thu, 23 Aug 2001 15:49:26 +0200 [EMAIL PROTECTED] wrote:
Hi all,
need some help here..
This is what i get as soon as a want to start Tomcat
Guys, not to be short-tempered here or anything, but open your eyes!
These class loading issues have been a hot topic on the list for the last week, while
all of you are writing/reading your own messages.
1) Search or browse the list the archives.
2) See classloader.html that describes
That doesn't prevent you from searching the archives at least ;)
- r
On Thu, 23 Aug 2001 16:21:53 +0200 [EMAIL PROTECTED] wrote:
I'm not using Catalina
When I request localhost/examples/, Mozilla actually DISPLAYS
htmlbody/body/html
in the browser window, whereas every other browser gets a directory listing. Why
doesn't it just render a blank page? Before you submit a bug report, I'd crank up
Catalina logging and see if it's even making
Hi Amanda,
Have a read through the Application Developer's Guide in the 4.0 experimental docs
at http://jakarta.apache.org/tomcat/index.html. It explains where to place .jar files
during web app development.
GL!
- r
On Thu, 23 Aug 2001 12:52:06 -0400 [EMAIL PROTECTED] wrote:
To Whom It
From the servlet specification:
Section 7: Session Scope
HttpSession objects must be scoped at the application / servlet context level. The
underlying mechanism, such as the cookie used to establish the session, can be shared
between contexts, but the object exposed, and more importantly the
Once I got rid of 0.9.3 and reinstalled 0.9.2 life was good again.
I've since upgraded to Tomcat 4.0b7 and am staying with Mozilla 0.9.2
and life is still good.
Cool, some corroboration that 0.9.3 has some issues remaining to be worked out =)
- r
If you read and understand the JSP and Servlet specs, you'll do fine. Work
experience is invaluable, especially when asking nitpicky questions on
method names and whatnot. My biggest weakness was the web.xml-based
questions. Haven't taken the web exam yet... finished Programmer, doing
Has anywone know where can i download and burn Microsoft Office XP.
Thanks.
There's a hidden link somewhere on http://www.microsoft.com/ in their Office
XP site. You'll have to read an understand the source code behind a
Microsoft web page. With the time it takes to do that, you may as well
See the servlet specification. Start by looking into the error-page
attribute in web.xml
- r
-Original Message-
From: Darrell Porter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 9:05 PM
To: '[EMAIL PROTECTED]'
Subject: 500 Error Handling
Is it possible for Tomcat
Simple... instruct Apache not to serve any directory with WEB-INF in the
path. See the Apache docs at http://httpd.apache.org/.
Good luck! =)
- r
-Original Message-
From: HeoGwangNam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 9:43 PM
To: [EMAIL PROTECTED]
Subject:
+ It's WEB-INF not WEB-INFO (just to be clear).
+ Use a 'make' file or equivalent (see Jakarta's Ant build tool) so you
don't have to worry about doing things manually w.r.t. building.
So I
really need a way to define CLASSPATH in application level
instead of copy tons of variable classes
module for use
with tomcat 3.2.3 and apache 1.3.19-5 (RH 7.1 distribution)
Rob
docs for apache:
http://httpd.apache.org/
docs for tomcat:
http://jakarta.apache.org/tomcat/index.html
Let us know what specific problem you're having and we'd be glad to help...
- r
-Original Message-
From: Dave Lopez [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001
Hi Josef,
I can't say I've ever seen that error message before =)
Do you have the TCP/IP protocol installed? (Right-click on network
neighbourhood, then on properties).
- r
-Original Message-
From: Josef Oberckal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 3:20 AM
Apache serves documents plain and simple. You request a file from the
server and it gives it back to you. Of course, there are lots of modules
written for Apache that enable it to do extra things, this is just an
extreeemely high level description =)
Tomcat is a servlet container (an
Probabaly better off on the JBuilder forums/newsgroup. Not that you might
not get an answer back there, but @ there message boards, you're guaranteed
everyone's running JB =)
- r
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001
just a path say /images/code.gif should do right,
Quick suggestion: Try dropping the first '/'.
Then again, I'm not sure what you mean by your servlet not being able to show images,
so that could be completely wrong =)
- r
but this doesn't work. Please help me.
Thanks alot,
Mary
Did you scroll down and look at the root cause?
Trying to convert oracle to a number?
- Root Cause -
java.lang.NumberFormatException: oracle
at java.lang.Integer.parseInt(Integer.java:414)
- r
You have PWS and Tomcat setup? I'm confused...
- r
On Tue, 21 Aug 2001 16:07:31 -0400 [EMAIL PROTECTED] wrote:
Yes. I have a personal web server set up so that I can use an http
path, but no luck getting the jsp to work:(
-Original Message-
From: Mills, Theo [mailto:[EMAIL
Hi Jim,
JSPs have no context outside of a web application and as such, cannot just
execute from anywhere. I imagine your question is how to change where a web
app resides on the HD.
This is using the docBase attribute of the Context element in server.xml.
- r
-Original Message-
Ok, sorry for the bad terminology. You are correct, I just want
to be able to specify a location other than under the tomcat dir
structure.
No worries. In retrospect, i sounded a little harse. Sorry about that ;)
Can you point me toward and example of this element?
sho' nuff... in the
Am I the only one getting these messages?
- r
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 8:48 PM
To: [EMAIL PROTECTED]
Subject: Transient Delivery Failure
KHEOPS - Network departement
@Jakarta. Apache. Org
Subject: Re: FW: Transient Delivery Failure
nup (o: so its not just me then?
On Tue, 21 Aug 2001, Rob S. wrote:
Am I the only one getting these messages?
- r
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21
http://jakarta.apache.org/tomcat/index.html
Navigate to download the binary for v4 and it'll be in the same dir on the
server.
- r
-Original Message-
From: Pierre Carette [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 9:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Possible
Try the documentation links on the tomcat home page:
http://jakarta.apache.org/tomcat/index.html
- r
-Original Message-
From: Dave Lopez [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 3:20 AM
To: [EMAIL PROTECTED]
Subject: HELP newbie tomcat...
how do you setup
The Unix command line allows for stderr redirection. I'm sure there's a
command-line HOWTO somewhere that dishes out the details since I've since
forgotten =/
- r
-Original Message-
From: Kenny Ma [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 19, 2001 11:49 PM
To: [EMAIL
Sweet almighty mother... your first step should be to upgrade to the latest
production release of Tomcat, 3.2.3 =)
Install that, get it working from DOS, then try to get it working from JB4.
Btw, JB5 is out and it comes with a version of 3.2 I believe ;)
- r
-Original Message-
From:
Hi,
I tried to access the JSP by using the fullpath
(localhost/examples/jsp/colors/colrs.jsp) but then the log file reports
[Mon Aug 20 10:24:22 2001] [error] [client 127.0.0.1] File does
not exist: /var/www/html/examples/jsp/colors/colrs.jsp
I'm afraid that I made some other change also
Hi
I am using tomcat in a win 98 environment.
I registered my db as an ODBC data source.
I have tried to go to the tomcat conf file looking for server.xml
To enable the jdbc realm to be loaded but
Tomcat is not connecting to jdbc.
Please help... I have checkd with friends with same
I've then trying to start tomcat as described, but it fails. I have the
message Exception in thread main java.lang.NoClassDefFoundError:
org/apache/catalina/startup/Bootstrap in the catalina.out file.
not very close to java, what's not found?
Since it's Java, you don't *have* to build it,
On Mon, 20 Aug 2001 19:52:14 +0800 [EMAIL PROTECTED] wrote:
I have a question about JDBC and Oracle.
In my Jsp I make a connection pool bean to connect with Oracle. And I
found when I access the Oracle it will build a new session every time.
So at last I can't connect with Oracle when it
If you want to send data, you need to POST.
- r
On Mon, 20 Aug 2001 14:47:39 +0200 [EMAIL PROTECTED] wrote:
hi,
I'm trying to send data to a servlet through a TCP connection. I create my
socket, then send a GET /myapp HTTP/1.1 ... But I need to define the
content-length for apache to
I'm not really sure I understand any of this... You're using JServ? Man, upgrade to
Tomcat for crying out loud =) With the emulators (Nokia, etc.) you can request any
URL. Install Tomcat locally, and you can just request your stuff from your own
localhost.
I have a feeling I'm opening a
Eeek, I'm not sure where to start =)
I have to set some init-param parameters in web.xml
that are used in one of the examples init() method.
Unfortunately the initialisation is not working
properly and i get a 'null' when I print out the
variable.
Are you aware that web.xml only applies to
They are using IIS. That just about sums up the collective IQ.
I hear what you're saying, but banging our heads against the wall for something they
should arguably be providing... grumble =)
I'm still keen to know how to get the servlet context path for a web
application.. ie how to get
http://localhost:8080/hellouser/hellouser.jsp
is how you would request your servlet. I have NO idea how Tomcat deals with servlets
named like JSP files. A servlet spec guru might be required to answer that one =)
Err, just found it, section 10.
You're better off naming it something like
I have written a couple of example servlets which I
placed in the \webapps\ROOT\WEB-INF\classes folder,
and these work ok
Good =)
Since I was using the \webapps\ROOT\WEB-INF\classes
folder for my servlets, I altered the web.xml in
/ROOT/WEB-INF.
Good so far...
hmm, why is this?
Can
I have given something like this within my server.xml file
Context path=/health
docBase=/jakarta-tomcat-3.2.1/webapps/com/health/wls/servlets
crossContext=true debug=0 reloadable=true/Context
The docBase is the root of your web application, where there will be a WEB-INF
subdirectory.
-
but if the prefix is given as just / then when url ~localhost:8080/health
is given it gives me a error saying page not found. Why is that.
Buddy, I dunno what browser you're using, but ~localhost:8080 doesn't work for me on
Opera, Netscape, or IE.
- r
201 - 300 of 442 matches
Mail list logo