tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: "/" getting added to action path
Date Thu, 07 Jun 2012 16:53:47 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dharamshila,

On 6/7/12 9:58 AM, Dharamshila Khandelwal wrote:
> I added AccessLogValve in server.xml and was able to find the exact
> problem. The problem is not with "/", the problem is following:
> 
> 1. When I load the screen initially, it loads fine, its able to
> find all the components. 2. When I click on save, it calls
> following servlet 10.16.10.90 - - [06/Jun/2012:13:41:55 -0400]
> "POST /uom/servlet/uom.update HTTP/1.1" 302 - 3. After save loads
> again (it displays the saved data after clicking on save in the
> same JSP), it calls components like this: 10.16.10.90 - -
> [06/Jun/2012:13:41:55 -0400] "GET /uom/*action*/images/hsnlogo.gif 
> HTTP/1.1" 400 1109 10.16.10.90 - - [06/Jun/2012:13:41:55 -0400]
> "GET /uom/*action*/images/logout.gif HTTP/1.1" 400 1106 10.16.10.90
> - - [06/Jun/2012:13:41:56 -0400] "GET 
> /uom/*action*/images/pixel_trans.gif HTTP/1.1" 400 1121
> 
> It is adding 'action' in the URL and I have no clue where it is
> coming from.

It seems clear to me that you are not fully-qualifying your URLs in
your web pages. How are you generating your URLs?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/Q3JsACgkQ9CaO5/Lv0PAYEACgm38nfQhCvZ000eFRJmWfYYS+
LeQAoMNvt1V7m5WFDceo0HZD6qxrKDja
=vbq8
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message