-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 30 May 2000, Joseph B. Ottinger wrote:
> On Tue, 30 May 2000, Christian Sell wrote:
>
> > I have repeated my test with a static html file and a simple servlet- the
> > call always goes to doGet(). Here are my html, java and web.xml files in
> > case you want to verify (please do):
>
> <snip>
>
> Okay. When you used the url-mapping form, it does indeed seem to route to
> doGet() only. The testservice.jsp that I set up
> (http://cupid.suninternet.com/testservice.jsp) has been modified to use
> the servlet mapping form and the direct invocation; the url mapping with
Okay, as usual, orion support is so crappy that I got a response and a
correction within about ten minutes. :)
The solution is simple: in the form that failed, the action was
"testSrv" where that servlet name was mapped. The problem was that when
you have a URI like this, it gets a browser redirection, which causes the
GET. The fix is simple: use "testSrv/" instead of "testSrv", which doesn't
require a redirection. Basically, the particular form of the uri mapping
for the servlet name was causing the problem.
- -----------------------------------------------------------
Joseph B. Ottinger [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo HOMES.COM Developer
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1i
iQA/AwUBOTQS7whcVZKknQwGEQKheACeI7uAJPG5uaNrQwbKdoN3Y8tyIEMAoMsf
Bi3q04TcRTEdmylI+cm1010Y
=4X2D
-----END PGP SIGNATURE-----