You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Warren Sweetman <wa...@legalservices.gov.uk> on 2003/04/03 15:09:23 UTC

not serving jsps without query string

runing tomcat 4.1.18

isapi_redirector2.dll

IIS 5.x

(IP address is only visible locally)


when at the server the following will serve the JSP

http://127.0.0.1/index.jsp 
http://localhost/index.jsp 

this url works from any location (internally)
http://10.20.2.190/index.jsp? 


but when requesting

http://10.20.2.190/index.jsp 


url, IIS tries to download the file.  No entries for this request appear in the jk log file

if requesting

http://10.20.2.190/ 

url, IIS serves the code (this is set in IIS console).  The default behaviour configured should be to load the index.jsp page.  The jk log shows that the filter is checking the '/' uri to see if there is a mapping

Any views on behaviour and methods to resolve so that all the url list will serve the appropriate jsp page?

kind regards,

Warren Sweetman
Principal Web Developer
Web Development
ISD
Legal Services Commission
tel. 020 77590122
ext no 2122
tag no 011370


Ajp restart or reset connection message

Posted by Boon Seong <nb...@singnet.com.sg>.
Hi,

I am using Apache with Tomcat with AJP connector. But at the Tomcat side, it
keeps on displaying
the below messages once there are connections. It is normal ?

Apr 4, 2003 9:11:30 AM org.apache.jk.common.ChannelSocket processConnection
INFO: server has been restarted or reset this connection


Thanks.

----- Original Message -----
From: "Warren Sweetman" <wa...@legalservices.gov.uk>
To: "<" <to...@jakarta.apache.org>
Sent: Thursday, April 03, 2003 4:09 PM
Subject: not serving jsps without query string


runing tomcat 4.1.18

isapi_redirector2.dll

IIS 5.x

(IP address is only visible locally)


when at the server the following will serve the JSP

http://127.0.0.1/index.jsp
http://localhost/index.jsp

this url works from any location (internally)
http://10.20.2.190/index.jsp?


but when requesting

http://10.20.2.190/index.jsp


url, IIS tries to download the file.  No entries for this request appear in
the jk log file

if requesting

http://10.20.2.190/

url, IIS serves the code (this is set in IIS console).  The default
behaviour configured should be to load the index.jsp page.  The jk log shows
that the filter is checking the '/' uri to see if there is a mapping

Any views on behaviour and methods to resolve so that all the url list will
serve the appropriate jsp page?

kind regards,

Warren Sweetman
Principal Web Developer
Web Development
ISD
Legal Services Commission
tel. 020 77590122
ext no 2122
tag no 011370




----------------------------------------------------------------------------
----


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


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


Re: not serving jsps without query string

Posted by Reinhard Moosauer <rm...@moosauer.de>.
Hi,

looks like a cache problem.
Try "delete temp internet files" and insert
resonse.setHeader("expires",0);
in all your JSPs
Also check setting of IE for caching (should be "automatic")

regards
Reinhard

Am Donnerstag, 3. April 2003 15:09 schrieb Warren Sweetman:
> runing tomcat 4.1.18
>
> isapi_redirector2.dll
>
> IIS 5.x
>
> (IP address is only visible locally)
>
>
> when at the server the following will serve the JSP
>
> http://127.0.0.1/index.jsp
> http://localhost/index.jsp
>
> this url works from any location (internally)
> http://10.20.2.190/index.jsp?
>
>
> but when requesting
>
> http://10.20.2.190/index.jsp
>
>
> url, IIS tries to download the file.  No entries for this request appear in
> the jk log file
>
> if requesting
>
> http://10.20.2.190/
>
> url, IIS serves the code (this is set in IIS console).  The default
> behaviour configured should be to load the index.jsp page.  The jk log
> shows that the filter is checking the '/' uri to see if there is a mapping
>
> Any views on behaviour and methods to resolve so that all the url list will
> serve the appropriate jsp page?
>
> kind regards,
>
> Warren Sweetman
> Principal Web Developer
> Web Development
> ISD
> Legal Services Commission
> tel. 020 77590122
> ext no 2122
> tag no 011370


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