FireFox Gives Error With POST Request (JSP / AJAX)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ak121234
    New Member
    • Dec 2007
    • 2

    FireFox Gives Error With POST Request (JSP / AJAX)

    Hello,

    We have written a page which views correctly in Internet Explorer. As well, the page views ok for some of the other programmers on their machines in FireFox. The other programmers are running either Windows 2000 or Windows 2003.

    Yesterday, I downloaded FireFox on my machine which is running XP Home.

    Whenever I try to browse the site it's giving me the following error. Can any one point me in the right direction. Thanks in advance
    --------------------------------------------------------------------------------------------------------------------



    ERROR
    The requested URL could not be retrieved

    While trying to process the request:

    POST /Most_Recent.jsp ?ListingType=3& CategoryID=-1&SubCategoryID =-1&Regionkey=ABC 124&pageValue=0 &sid=0.77429144 25963124 HTTP/1.1
    Host: www.bridgeid.co m
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,ima ge/png,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    ---------------: ------------
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://www.bridgeid.co m/
    Cookie: JSESSIONID=7165 1E1F4F4BD551787 0E262B2FE56D1
    Pragma: no-cache
    Cache-Control: no-cache


    The following error was encountered:

    * Invalid Request

    Some aspect of the HTTP Request is invalid. Possible problems:

    * Missing or unknown request method
    * Missing URL
    * Missing HTTP Identifier (HTTP/1.0)
    * Request is too large
    * Content-Length missing for POST or PUT requests
    * Illegal character in hostname; underscores are not allowed

    Your cache administrator is webmaster.
    Generated Wed, 06 Feb 2008 07:26:12 GMT by sigurd (squid/2.6.STABLE13)
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Are you experiencing this error for any other sites or just yours?

    Comment

    • keyan
      New Member
      • Mar 2008
      • 2

      #3
      While accessing the site im also getting the same error

      Comment

      • pronerd
        Recognized Expert Contributor
        • Nov 2006
        • 392

        #4
        You need to read the post at the top of this form page with the subject "Read First Before Posting". This forum is for JavaScript topics. JavaScript and JSP are completely different technologies. On top of which it looks like this is a systems issue not a programing one.


        Originally posted by ak121234
        Your cache administrator is webmaster.
        Generated Wed, 06 Feb 2008 07:26:12 GMT by sigurd (squid/2.6.STABLE13)
        It looks like something is caching the page requests since you actually got this response from Squid and not a JSP/Servlet app server. This is almost always a bad idea for dynamic pages. i.e. ( JSP, JSF, ASP, PHP, etc. ) I would talk to your sys admins to see if they can disable caching for your pages.

        Comment

        • keyan
          New Member
          • Mar 2008
          • 2

          #5
          Originally posted by pronerd
          You need to read the post at the top of this form page with the subject "Read First Before Posting". This forum is for JavaScript topics. JavaScript and JSP are completely different technologies. On top of which it looks like this is a systems issue not a programing one.




          It looks like something is caching the page requests since you actually got this response from Squid and not a JSP/Servlet app server. This is almost always a bad idea for dynamic pages. i.e. ( JSP, JSF, ASP, PHP, etc. ) I would talk to your sys admins to see if they can disable caching for your pages.

          can u tell me where should i enable the cache in squid ............

          Comment

          Working...