my dog learned polymorphism*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60791
    
  65

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: 60791
    
  65

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
 
Similar Threads
Redirect to the requested page failed using form-based authentication
IIS Integrated Authentication + Tomcat Form-based (or basic) Authentication
http request sending garbage response when request is sent on SSL port.
Problem with JDBCRealm configuration
Can not access Glassfish from machine's IP