aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Problem with form not posting when using Internet Explorer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem with form not posting when using Internet Explorer" Watch "Problem with form not posting when using Internet Explorer" New topic
Author

Problem with form not posting when using Internet Explorer

Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

I'm stumped by a problem. I have a form in a web application that works fine in Firefox and Chrome. In IE when I access the web application through the site URL the form does not post back the filled in information, but when I access the web application using the server name instead of the URL on our network the form works.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

You're not giving us much to go on.

My SWAG would be that you're using a page-relative URL that's being interpreted differently across browsers, but that's as good a guess as I can give given the lack of details.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

Some additional information:
Using Struts2 and the Struts2-jQuery plugin. The submit button is a Struts2-jQuery submit tag.

Another odd thing about the problem is that sometimes, maybe 10% of the time, the form will post.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

I'd like to see the URLs you are posting to.
Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

This is a private web site so I cannot give you the URL.

I was able to fix the problem by redeploying the site. In the end it looks like the problem may have been caused by the Waffle framework. I was seeing always seeing a "Authorization: Negotiate" in the request header. Now I only see the "Authorization: Negotiate" in the request header when I first go to the web site and not when the form is being posted back.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with form not posting when using Internet Explorer