Hi,
Have you implemented the doPost() method in your servlet or the doGet()?
It needs to be doPost if you're posting from a form.
-Original Message-
From: Gary Fix [mailto:[EMAIL PROTECTED]]
Sent: 20 November 2001 16:34
To: '[EMAIL PROTECTED]'
Subject: Error 405: HTTP method POST
AM
To: 'Tomcat Users List'
Subject: RE: Error 405: HTTP method POST is not supported by this URL
Prob On NT?
Hi!
Yes, I forgot to add that I implemented the doPost() method
in my servlet...
thanks for checking...
-Original Message-
From: Paul Foxton [mailto:[EMAIL PROTECTED
change the method in your form tag:
FORM ACTION=/servlet/SnoopServlet METHOD=get
-Original Message-
From: Sam [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2001 11:04
To: [EMAIL PROTECTED]
Subject: -- http 405, can not execute servlet
Hi everybody
I can execute Servlet
it.
-Original Message-
From: Paul Foxton [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2001 10:44
To: '[EMAIL PROTECTED]'
Subject: RE: -- http 405, can not execute servlet
change the method in your form tag:
FORM ACTION=/servlet/SnoopServlet METHOD=get
-Original Message
hi,
You need to post your error message.
cheers,
Paul
-Original Message-
From: Ruben [mailto:[EMAIL PROTECTED]]
Sent: 20 September 2001 15:17
To: [EMAIL PROTECTED]
Subject: Re: Changing the Servlets Directory
Has Anybody know how to compile a servlet?
i tried with javac -g
try this:
context path=/gundam
docbase=/webapps/gundam
crossContext=false
debug=0
reloadable=true
/context
this assumes your gundam web app directory is under webapps, not ROOT - the
usual way to do it.
you would then access this app through the URL
doesn't work
now it points to index.html in ROOT
I've moved my gundam dir at the same level of root in webapps
Bye,
Ste
Paul Foxton
to file: pic08205.pcx)http://nameofmyserver
Paul Foxton
Paul Foxton
paul@network- To:
'[EMAIL PROTECTED
are you restarting tomcat when you change server.xml?
other than this I can't think what it could be.
you're using version 4 right? I'm using 3.2 but I can't see there being a
difference in the set up contexts in server.xml.
sorry.
Anyone else..?
-Original Message-
From:
Yes, I've found the same thing in konqueror - it seems to have an odd way of
dealing with cookies, flaky at best, but I havn't looked into it in any
detail. I also find that when I redirect back to page showing the results of
a db update I need to refresh the page before I can see the updates,
you're probably missing a ';' a few lines further up in your code, something
like that.
Check you code again or post the rest.
cheers,
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 06 August 2001 10:12
To: [EMAIL PROTECTED]
Subject: jasper
?!?
--
Externe MailPaul Foxton [EMAIL PROTECTED]
06.08.2001
10:57
--
An: '[EMAIL PROTECTED]'
[EMAIL PROTECTED]
cc:
Thema:RE
did you import the class explicitly in your servlet?
eg: (without a package)
import MyClass;
public class MyServlet extends HttpServlet throws ServletEsception
IOException
{
MyClass instanceOfMyClass;
instanceOfMyClass = new MyClass();
etc.
to import the class in the package:
forgot to say - when you compiled the class to put in the package did you do
it as follows -
javac -d path_to_my_package MyClass.java
hope none of this is too obvious, just checking ;¬)
cheers,
Paul
-Original Message-
From: Paul Foxton [mailto:[EMAIL PROTECTED]]
Sent: 06 August
simply importing the class MyClass, and
not creating it as a package. Nevertheless I get the
Cannot Resolve Symbol error.
Both the MyClass and the MyServlet class files are in
the same directory. In my servlet
--- Paul Foxton [EMAIL PROTECTED] wrote:
did you import the class explicitly
actually, this is getting a bit off topic (ie not specifically tomcat
related) so email me your class and you're servlet with the error message
and I'll have a look : )
cheers,
Paul
-Original Message-
From: Paul Foxton [mailto:[EMAIL PROTECTED]]
Sent: 06 August 2001 16:51
response)
throws ServletException, java.io.IOException {
processRequest(request, response);
}
/** Returns a short description of the servlet.
*/
public String getServletInfo() {
return Short description;
}
}
--- Paul Foxton
Hi,
I've just had an odd problem I thought I'd see if anyone else had come
accross:
Running tomcat 3.2.2, apache 1.3.19 on RH linux 7.1, I got a
ClassCastException for a bean (called DbUtilities) I use in a JSP page.
The code from the compiled servlet of the jsp is as follows:
DbUtilities db
make sure your variables do indeed have session scope - what platform are
you running on?
I had this happen when I accessed my app through a browser on the linux box
it is running on.
When I access the app from another machine it doesn't happen. I assumed it
must be something to do with the way
AFAIK tomcat doesn't support automatic reloading of classes. You do have to
restart.
Paul
-Original Message-
From: John Baker [mailto:[EMAIL PROTECTED]]
Sent: 19 July 2001 11:36
To: [EMAIL PROTECTED]
Subject: Class reloading
Hello.
If I write a class and use it in a jsp
,
Paul
-Original Message-
From: Endre Stølsvik [mailto:[EMAIL PROTECTED]]
Sent: 19 July 2001 15:10
To: '[EMAIL PROTECTED]'
Subject: Re: Class reloading
On Thu, 19 Jul 2001, Paul Foxton wrote:
| AFAIK tomcat doesn't support automatic reloading of
classes. You do have
AFAIK mod_jserv is the old version for use with jserv, you will need the new
one: mod_jk. Yes, you do need to download it seperately.
Get it from http://jakarta.apache.org. You'll find it in the subdirectory
for your platform on the binaries page.
You can find instructions for setting it up in
well there's already [EMAIL PROTECTED] and
[EMAIL PROTECTED]
there's also [EMAIL PROTECTED]
perhaps ppl with more development specific questions should use these?
-Original Message-
From: Sam Newman [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2001 11:24
To: [EMAIL PROTECTED]
Subject:
24 matches
Mail list logo