I have found the solution:
JkOptions +FlushPackets
Zsolt
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 01, 2005 1:51 PM
To: Tomcat Users List
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28
From: Zsolt [mailto:[EMAIL
consequences thereof.
-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 02 September 2005 08:43
To: 'Tomcat Users List'
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28
I have found the solution:
JkOptions +FlushPackets
Zsolt
-Original Message
Hi
I want to be taken off this mailing list. Can somebody PLEASE help.
as i told in a previous email (that you likely did not read) there is a
message explaining how to unsuscribe from the mailing list in the footer of
*every* message sent on the list
have you tried it ?
,
tampering or viruses or any consequences thereof.
-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 02 September 2005 08:43
To: 'Tomcat Users List'
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28
I have found the solution:
JkOptions +FlushPackets
Zsolt
Arup Vidyerthy wrote:
Hey dude, stop moaning and read the bottom of the email!! Come on - little
bit of proactive intuitiveness is all that required here!!
Hildegard Bronkhorst
Senior Facilities Manager
Kagiso Integrated Services (Pty) Ltd.
Tel: +27 11 844 2015
Fax: +27 11 844 2130
Mobile: +27
From: Zsolt [mailto:[EMAIL PROTECTED]
When I start a long running servlet I want to give the user
some feedback
about the progress, thus I just print some characters to the
browser from
the servlet. It works fine when I go directly tomcat but when
I go through
apache and tomcat
Check out http://www.unix.org.ua/orelly/java-ent/servlet/ch06_03.htm
Best regards
Robert
-Original Message-
From: Zsolt [mailto:[EMAIL PROTECTED]
Sent: 30 August 2005 15:46
To: Tomcat Users List
Subject: Servlet lush problems via JK-1.2.14 and TC_5.0.28
Hi,
When I start a long
Thank you Robert, but I have to support also IE.
zsolt
-Original Message-
From: Longson, Robert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30, 2005 4:51 PM
To: Tomcat Users List
Subject: RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28
Check out http://www.unix.org.ua/orelly
flower [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
Let's consider situation like this:
We have got some servlets responsible for genereting galery page. We want
group galery pages by use common part in uri (/galery/):
http://x.com/galery/galery_id/firstpage.html
Bill Barker wrote:
flower [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
Let's consider situation like this:
We have got some servlets responsible for genereting galery page. We want
group galery pages by use common part in uri (/galery/):
to a welcome file unless it shows up in the
directory. But once you map the servlet to the same URL, the servlet
will intercept the request.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 02, 2005 9:25 AM
To: Tomcat Users List
Subject: Re: servlet
in the
directory. But once you map the servlet to the same URL, the servlet
will intercept the request.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 02, 2005 9:25 AM
To: Tomcat Users List
Subject: Re: servlet mapping and url
Hi,
I don't think there is any
you can configure your web.xml file and make index.jsp
file as an welcome file using,
welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
now, create index.jsp file which will simply forward
the request to your servlet!
Rgds,
Hardik
--- s s [EMAIL PROTECTED]
Hi,
I don't think there is any restriction to mapping a servlet to a welcome
page:
servlet
servlet-nameMyServlet/servlet-name
servlet-classcom.company.app.MyServlet/servlet-class
/servlet
servlet-mapping
servlet-nameMyServlet/servlet-name
url-pattern/myServlet/url-pattern
/servlet-mapping
response.sendRedirect(url_to_AOPServlet?country=xxx)
--- Carlos Bracho [EMAIL PROTECTED] wrote:
Hello everybody.
I have a problem, I am a new user of servlet and
this kind of thing.
I have a servlet, AOPServlet, which uses a parameter
(country), but I want
to forwards to AOPServlet
From: nitin dubey [mailto:[EMAIL PROTECTED]
Subject: Servlet threading Issue. Unexpected behaviour.
Only after the response of either of the first two
requests is complete then it shows me doGet() and
then doPost() msg.
As has been discussed before on this list, you're probably
Thanks Chuck. It is working. I was using Firefox and
now tried with Internet Explorer.
I will try to see an option for this setting in
Firefox. If not, probably I will put up a request to
Mozilla to have this option configurable.
Nitin
--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 07, 2005 1:15 PM
To: Tomcat Users List
Subject: RE: Servlet Concurrency Issues
From: Michael Pasko [mailto:[EMAIL PROTECTED]
Subject: Servlet Concurrency Issues
I started allowing other users on it, I stumbled on some problems.
Basically what
[mailto:[EMAIL PROTECTED]
Sent: 08 June 2005 13:33
To: 'Tomcat Users List'
Subject: RE: Servlet Concurrency Issues
Thanks Chuck, that was exactly the problem. I was under the very poor
assumption that a new thread and newly instantiated servlet object was
created every time a request was made
From: Michael Pasko [mailto:[EMAIL PROTECTED]
To mimic the desired behavior I've fixed
the problem by adding this (implements SingleThreadModel)...
public class ServletName implements SingleThreadModel
Note that SingleThreadModel isn't supported in more recent versions of
Tomcat. This may
On 6/8/05, Peter Crowther [EMAIL PROTECTED] wrote:
Note that SingleThreadModel isn't supported in more recent versions of
Tomcat. This may or may not worry you depending on whether you want to
move to a more recent version :-).
I've posted already about that: if you don't know about
From: Remy Maucherat [mailto:[EMAIL PROTECTED]
Your statement is completely wrong, STM is fully supported in Tomcat
5.5, with instance pooling for good performance.
Sorry, Remy - I should have checked rather than relying on memory.
- Peter
On 6/8/05, Peter Crowther [EMAIL PROTECTED] wrote:
From: Remy Maucherat [mailto:[EMAIL PROTECTED]
Your statement is completely wrong, STM is fully supported in Tomcat
5.5, with instance pooling for good performance.
Sorry, Remy - I should have checked rather than relying on memory.
No
, what is the most common method of
writing thread safe code?
Thank you very much for your help.
-Mike
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 07, 2005 1:15 PM
To: Tomcat Users List
Subject: RE: Servlet Concurrency Issues
On 6/8/05, Dakota Jack [EMAIL PROTECTED] wrote:
Your best bet for understanding multithreading issues is to get a good
understanding of the JVM.
Can you recommend one ?
--
rgds
Anto Paul
-
To unsubscribe, e-mail: [EMAIL
hihi all,
does Tomcat 5.5.x handle this instance pooling transparently for
objects implementing STM?
do i need to configure Tomcat to turn on this feature?
tia,
woodchuck
--- Remy Maucherat [EMAIL PROTECTED] wrote:
Your statement is completely wrong, STM is fully supported in Tomcat
5.5,
From: Michael Pasko [mailto:[EMAIL PROTECTED]
Subject: Servlet Concurrency Issues
I started allowing other users on it, I stumbled on some problems.
Basically what happens, when user A submits the form, and then 2
seconds later user B submits the same form. User A stops getting
You're probably using instance properties on the servlet object.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Michael Pasko [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 07, 2005 12:09 PM
To:
Ross
-Original Message-
From: J. Alejandro Zepeda Cortés [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 02, 2005 11:10 AM
To: Tomcat Users List
Subject: Re: servlet request time out ?!
Maybe the setting in your web.xml is not enough for your request?
session-config
session
On 6/3/05, Angelov, Rossen [EMAIL PROTECTED] wrote:
I tried adding it to my .../WEB-INF/web.xml
web-app
session-config
session-timeout45/session-timeout
/session-config
...
/web-app
but I started getting errors when tomcat is deploying the context:
Jun 3, 2005
the session-config option?
Ross
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Friday, June 03, 2005 11:12 AM
To: Tomcat Users List
Subject: Re: servlet request time out ?!
On 6/3/05, Angelov, Rossen [EMAIL PROTECTED] wrote:
I tried adding it to my .../WEB-INF
I would like to bring that issue up again as I haven't resolved it yet and
haven't found what's causing it.
Any help and ideas are welcome!
Thanks,
Ross
-Original Message-
From: Angelov, Rossen
Sent: Thursday, May 26, 2005 1:33 PM
To: 'Tomcat Users List'
Subject: servlet request time
@jakarta.apache.org
Sent: Thursday, June 02, 2005 11:34 AM
Subject: RE: servlet request time out ?!
I would like to bring that issue up again as I haven't resolved it yet and
haven't found what's causing it.
Any help and ideas are welcome!
Thanks,
Ross
-Original Message-
From: Angelov, Rossen
Hi Angelov,
I am new to Tomcat (Just started using Tomcat5.0 yesterday), but the
problem you mentioned sounds like a typical connnection timout.
Have you tried to setting the connectionTimeout value to 0 in the
server.xml?
Here is to location in server.xml. Where there is currently a
time between a connection (socket) being opened by the client,
and the client sending a request url to TC.
-Original Message-
From: Mike Baliel [mailto:[EMAIL PROTECTED]
Sent: Thursday 26 May 2005 19:49
To: Tomcat Users List
Subject: Re: servlet request time out ?!
Hi Angelov
the doPost
method is finished.
I can still give it try with connectionTimeout=0, but don't expect it to
help.
Ross
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 3:09 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: servlet request time out
: RE: servlet request time out ?!
That's exactly how I understood it too. The request will be
dropped if after
certain number of milliseconds the request's URI hasn't been received.
In my case the URI comes directly with the request and based
on my log I can
see the request is being
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: servlet request time out ?!
I haven't tested this myself, so I'm only going on what the docs say (5.5):
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html
If I've understood correctly, this doc seems to say
and by default it's set to false, so hopefully this works.
Any suggestions are welcome if anybody else knows other timeouts for the
request.
Thanks,
Ross
-Original Message-
From: Mike Baliel [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 3:37 PM
To: Tomcat Users List
Subject: Re: servlet
On 5/6/05, Gastón Simone [EMAIL PROTECTED] wrote:
Hi!
Does anybody know how to solve this problem?
Please excuse me if the cuestion is too stupid. I am really newbie. :)
root cause
java.lang.NoClassDefFoundError
at
On 5/6/05, Gastón Simone [EMAIL PROTECTED] wrote:
Hi!
Does anybody know how to solve this problem?
Please excuse me if the cuestion is too stupid. I am really newbie. :)
root cause
java.lang.NoClassDefFoundError
at com.genexus.webpanels.GXWebObjectStub.callExecute(Unknown
Does your servlet do anything like modify tomcat properties etc??
Seems liek an unusual problem to me - one that I have not encoutered!!
-Anoop
On 5/3/05, Ferrari Laura [EMAIL PROTECTED] wrote:
I am working with Tomcat 5.0
In a working webapp \ondemand (with only jsp) I added a
On 5/3/05, Ferrari Laura [EMAIL PROTECTED] wrote:
I am working with Tomcat 5.0
In a working webapp \ondemand (with only jsp) I added a servlet.
The servlet work correctly but the jsp is not able to find the
lib/engine.jar (where the its classes are defined).
NoClassDefFoundError means
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment
Read section carefully. The warning at the end of the section describes your
symptoms.
Doug
--snip--
When i deploy the war file to tomcat the application works fine. the
context.xml file lists
Thankx
The connector is not loading my servlets?
I am writing down my httpd.conf and workers.properties
Httpd.conf
LoadModule jk_module modules/mod_jk.so
ifModule mod_jk.c
JkWorkersFile /usr/local/jakarta-tomcat-5.5.4/conf/workers.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevel info
Hello,
I think I have found something very interesting to solve my problem. I
tried to put the Jini jar-files (jini-core.jar, jini-ext.jar and
sun-util.jar) in $CATALINA_HOME/common/lib, or
$CATALINA_BASE/shared/lib, or anywhere if I set correctly the classpath
in setclasspath.sh (instead of
Hi
I have made one servlet for JINI/RIO for
http://compiere-mfgscm.sourceforge.net/
It works and it is license apache v2.
It is not already online because it is part of a lot of softs, I am
currently testings.
I will publish during may probably.
If you need I can send you elements.
Contact me on
From: brian [mailto:[EMAIL PROTECTED]
Say Netscape server or IIS server also have their own
specific api's as well where one could write server side
code. But the servlet api is so popular and wide spread and
one could argue that java sdk is free but then companies buy
the third party
I have customers running my software on
WebSphere
WebLogic
Orion/Oracle 9iAS
Tomcat
Resin
Jrun
With no specific modifications for any specific product. If you want to sell
into an enterprise market, the ability to run on various enterprise servers
is a winner.
George Sexton
MH Software, Inc.
Some of the reasons I know as a programmer is
Servlet API ( its an extension of j2SDK and part of of J2EE)
1) It take care of many hidden programming implementations like
connection to database, connection to remote hosts... Can be done with
one method calls,
While if u use SERVER API , then
What is your content type set to?
Doug
- Original Message -
From: Nick Wolters [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Thursday, March 17, 2005 9:51 AM
Subject: Servlet pops up as download
Hello,
Having some issues with an ensim tomcat 4 installation.
Whenever I surf
List
Subject: Re: Servlet pops up as download
What is your content type set to?
Doug
- Original Message -
From: Nick Wolters [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Thursday, March 17, 2005 9:51 AM
Subject: Servlet pops up as download
Hello,
Having some issues
-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: donderdag 17 maart 2005 15:59
To: Tomcat Users List
Subject: Re: Servlet pops up as download
What is your content type set to?
Doug
- Original Message -
From: Nick Wolters [EMAIL PROTECTED]
To: tomcat-user
myself though.
Nick
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: donderdag 17 maart 2005 15:59
To: Tomcat Users List
Subject: Re: Servlet pops up as download
What is your content type set to?
Doug
- Original Message
-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: donderdag 17 maart 2005 15:59
To: Tomcat Users List
Subject: Re: Servlet pops up as download
What is your content type set to?
Doug
- Original Message -
From: Nick Wolters [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: donderdag 17 maart 2005 15:59
To: Tomcat Users List
Subject: Re: Servlet pops up as download
What is your content type set to?
Doug
- Original Message -
From: Nick Wolters [EMAIL PROTECTED]
To: tomcat-user
/vnd.wap.wml/mime-type
/mime-mapping
Didn't write the servlet myself though.
Nick
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: donderdag 17 maart 2005 15:59
To: Tomcat Users List
Subject: Re: Servlet pops up as download
Thanks.
I think the client lied when he told me it did show a while ago :)
With a WML enabled browser everything is ok.
Nick
-Original Message-
From: Lionel Farbos [mailto:[EMAIL PROTECTED]
Sent: donderdag 17 maart 2005 17:23
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re
What happens in FireFox if you do this:
response.setHeader(Content-Disposition, attachment;
filename=\ + theFile.getName() + \);
The relevant spec is here:
http://www.ietf.org/rfc/rfc2183.txt
And for the definition of 'value' it references:
http://www.ietf.org/rfc/rfc2045.txt
The filename
Servlet Streaming file to client: Can't override
file name
123049 by: Mark Leone
Its an HTTP header you are looking for, try this:
response.setHeader(Content-Disposition, attachment;
filename= + theFile.getName());
Chris
Thanks. That's exactly what I needed, and it did the trick. Firefox browser just
grabs the first non-whitespace part of the name, but in IE the entire name shows
up. Thanks again.
-Mark
Chris Hyzer wrote:
Servlet Streaming file to client: Can't override
file name
123049 by: Mark Leone
Hi,
I've got an application which runs fine for me, but which won't run on my
hosting
company's server which is running Tomcat 5.5.4 on Solaris.
I've got a jsp page which has a link to a servlet. When I click the link, I get
a 404
error. Tomcat doesn't attempt to load and run the servlet, it
Post your web.xml and context.xml
What is the name of your class?
Doug
PS Your hosting company is running 5.0.
- Original Message -
From: Michael Davis [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Thursday, February 03, 2005 3:30 PM
Subject: Re: Servlet won't load
Hi,
I've
On Mon, Jan 17, 2005 at 04:08:15PM -0600, Jonathan Wilson wrote:
: I'm setting a servlets private static variable from within itself via
: the contextInitialized(SCE) method but it's not accessible from the
: init() method once that get's called...I would have thought the static
: part would
Thanks for responding. I modified the init() method of the servlet to
redo everything that was being done in the contextInitialized() method
to workaround the problem. The Listener was getting fired. A while after
that NetBeans 'ran out of memory' so I restarted it. Now, after
commenting out
On Mon, Jan 17, 2005 at 05:41:48PM -0600, Jonathan Wilson wrote:
: Thanks for responding.
Not a problem. You're quite welcome.
: (Note to self: weird behaviour == restart IDE)
You've stumbled onto the primary reason I'm not a fan of IDE/container
integration. =) Too much weirdness. I
13, 2005 11:42 AM
To: Tomcat Users List
Subject: RE: servlet help
I am using jk2, apache2, and tomcat5.5
-Original Message-
From: Edmon Begoli [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 6:42 PM
To: Tomcat Users List
Subject: Re: servlet help
Claudia
I am using jk2, apache2, and tomcat5.5
-Original Message-
From: Edmon Begoli [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 6:42 PM
To: Tomcat Users List
Subject: Re: servlet help
Claudia,
Are you using mod_jk with Apache and Tomcat?
You should be able to configure
Oki doki,
I got my servlets to work from tomcat using port 8080
(http://myserver:8080/~myacct/servlet/myservlet), but I still do not
know how to make apache recognize my servlets and send them to tomcat. I
want to access (http://myserver/~myacct/servlet/myservlet)
I tried to add these lines to
Configurando Apache + Jakarta-TOMCAT + Connector MOD_JKConfigurando
Apache + Jakarta-TOMCAT + Connector MOD_JKHi... follow down the
mini-howto (Unfortunely I write in portuguese so I have to make a
translation...) I will work on it to translante and correct some
issues... perhaps even in
Thanks for your support David. Unfortunately, the configuration for jk2 is a
bit different, but I really appreciate it.
-Original Message-
From: David da Guia Carvalho [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 1:52 PM
To: Tomcat Users List
Subject: RE: servlet help
tomcat-user@jakarta.apache.org
Sent: Wednesday, January 12, 2005 3:16 PM
Subject: RE: servlet help
Oki doki,
I got my servlets to work from tomcat using port 8080
(http://myserver:8080/~myacct/servlet/myservlet), but I still do not
know how to make apache recognize my servlets and send them
, 2005 2:08 PM
To: Tomcat Users List
Subject: RE: SERVLET CONTEXT [ START/STOP BY CODE]
inside tomcat manager.. redeploy your web app...
http://localhost:8080/manager/html
_
From: Karthik N S [mailto:[EMAIL PROTECTED]
Sent: Monday, January 10, 2005 4:08 PM
To: TOMCAT_USERS
Subject
inside tomcat manager.. redeploy your web app...
http://localhost:8080/manager/html
_
From: Karthik N S [mailto:[EMAIL PROTECTED]
Sent: Monday, January 10, 2005 4:08 PM
To: TOMCAT_USERS
Subject: SERVLET CONTEXT [ START/STOP BY CODE]
Hi Guys
Apologies.
Am a New
the same.
Thx in advance
Karthik
-Original Message-
From: Aris Javier [mailto:[EMAIL PROTECTED]
Sent: Monday, January 10, 2005 2:08 PM
To: Tomcat Users List
Subject: RE: SERVLET CONTEXT [ START/STOP BY CODE]
inside tomcat manager.. redeploy your web app...
http://localhost:8080/manager
Since your context is called '/servlet', the correct URL is
http://www.example.com/servlet/servlet/HelloServlet (without a
servlet-mapping) or http://www.example.com/servlet/servlet/helloservlet
(with a servlet-mapping). You probably want to change your servlet-mapping
to have:
can we see the form action value? it should be action=/studio-search
Allistair
-Original Message-
From: Richard Lewis [mailto:[EMAIL PROTECTED]
Sent: 24 November 2004 11:21
To: [EMAIL PROTECTED]
Subject: Servlet class not found
Hello,
This is probably quite a simple
It seems that the package is not properly declared in it. Check it.
-Original Message-
From: Richard Lewis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 4:51 PM
To: [EMAIL PROTECTED]
Subject: Servlet class not found
Hello,
This is probably quite a simple question but I
On Wednesday 24 November 2004 13:21, Richard Lewis wrote:
Hello,
Hi,
This is probably quite a simple question but I couldn't find an answer
in the archives:
Did you compile the class file and declare its package?
package za.co.vippayroll.intsys.training.database;
This line should appear
On Wed, 24 Nov 2004 17:05:23 +0530, Joseph Samuel [EMAIL PROTECTED]
said:
It seems that the package is not properly declared in it. Check it.
Oh, yes. Of course, its now in a proper directory structure.
Thanks very much,
Richard
--
Richard Lewis
[EMAIL PROTECTED]
On Wed, 2004-11-24 at 01:25, Satish Plakote wrote:
Hi
I am have a web application that does a lot of processing. I have a load on
startup servlet that will get init information for me.
when 2 users submit the form.. i noticed that one instance of the servlet is
running and the other request
Hi,
I am have a web application that does a lot of processing. I have a
load on
startup servlet that will get init information for me.
when 2 users submit the form.. i noticed that one instance of the
servlet
is running and the other request waits for some time for
processor and just dies off..
, 2004 5:36 AM
Subject: Re: Servlet mapping problem.
Hi,
I'm not using struts.
Stefan
www.killersites.com
- Original Message -
From: sven morales [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 12:25 AM
Subject: Re: Servlet mapping
Hi,
message /loginResponse.do
description The requested resource (/loginResponse.do) is not
available.
It seems the context_name part of your form element is blank, missing,
or wrong, since the page is asking for /loginResponse.do and not
/whatever/loginResponse.do. Accordingly, how do you
mapping?
Stefan
www.killersites.com
- Original Message -
From: Andoni [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 7:39 AM
Subject: Re: Servlet mapping problem.
If you are not using Struts why did you call the login JSP,
loginResponse.do
List
Subject: Re: Servlet mapping problem.
Hi,
This is my web.xml for the web app:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web
Application
2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
welcome-file-listindex.jsp/welcome-file-list
filter
22, 2004 9:03 AM
Subject: RE: Servlet mapping problem.
Hi,
message /loginResponse.do
description The requested resource (/loginResponse.do) is not
available.
It seems the context_name part of your form element is blank, missing,
or wrong, since the page is asking for /loginResponse.do
www.killersites.com
- Original Message -
From: Stefan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, November 21, 2004 10:31 PM
Subject: Re: Servlet mapping problem.
Hi,
I am actually using a form to post to the target servlet:
form action=/context_name
Hi,
form action=/the_context/loginResponse.do method=post
name: input type=text name=adminPassword
input type=submit
/form
I meant the server-side code, not the HTML output.
Q. Accordingly, how do you generate this form element?
A. I'm not sure what you mean, it's just a hard-coded HTML
, November 21, 2004 10:31 PM
Subject: Re: Servlet mapping problem.
Hi,
I am actually using a form to post to the target servlet:
form action=/context_name/loginResponse.do method=post
name: input type=text name=adminPassword
input type=submit
/form
The form itself
, November 22, 2004 10:12 AM
Subject: RE: Servlet mapping problem.
Hi,
form action=/the_context/loginResponse.do method=post
name: input type=text name=adminPassword
input type=submit
/form
I meant the server-side code, not the HTML output.
Q. Accordingly, how do you generate this form
, November 22, 2004 10:19 AM
Subject: Re: Servlet mapping problem.
Why don't you just use a relative link?:
form action=loginResponse.do method=post
On Mon, 2004-11-22 at 10:13, Stefan wrote:
Hi,
Just out of curiousity I changed the forms' action attribute to include
the
full path
List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 10:19 AM
Subject: Re: Servlet mapping problem.
Why don't you just use a relative link?:
form action=loginResponse.do method=post
On Mon, 2004-11-22 at 10:13, Stefan wrote:
Hi,
Just out of curiousity I changed the forms
at this
point I'm not too impressed the Tomcat.
Thanks Ben.
Stefan
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 10:40 AM
Subject: Re: Servlet mapping problem.
In your context tag, your specifying: path
Hi,
I actually put the context reference in the context tag ... just
something
I
omitted in the email. But alas, it still does not work ...
/snip
I'm actually going to see if I can get the client to use Resin (for
some
reason, everything works fine is Resin ... out of the box), frankly at
this
Subject: Re: Servlet mapping problem.
In your context tag, your specifying: path=
but in your url you're using:
http://127.0.0.1/the_context/loginResponse.do;
^^^
Either put: path=/the_context in your context tag or
don't specify it in your url
...
Thanks for your help.
Stefan
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 11:34 AM
Subject: RE: Servlet mapping problem.
Hi,
I actually put the context reference in the context tag ... just
Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 11:41 AM
Subject: Re: Servlet mapping problem.
If you're interested, I've got some simple apps all WARed up on my site.
http://simple.souther.us.
Try dropping one of those wars
Shapira http://www.yoavshapira.com
-Original Message-
From: Stefan [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 11:54 AM
To: Tomcat Users List
Subject: Re: Servlet mapping problem.
Thanks Ben - I'll give it a go .. the client may insist still on
Tomcat,
anyway it bugs me
?
Thanks,
Stefan
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 11:41 AM
Subject: Re: Servlet mapping problem.
If you're interested, I've got some simple apps all WARed up on my site.
http
1 - 100 of 1117 matches
Mail list logo