File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Struts and Mozilla Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Struts and Mozilla" Watch "Struts and Mozilla" New topic

Struts and Mozilla

Jerome Smith

Joined: Nov 10, 2004
Posts: 1

I've been using this forum as a major source of my solutions and I reckon everyone in here rocks. But now I have a problem that I need help with. I have a problem with using Mozilla and Struts. My application uses Struts 1.0 and my Mozilla browser is version 1.5. I have a form on a jsp and when I click submit the Action associated with that jsp is executed twice. Since I am writing the details to a file, I get two entries in the file for one submit. This does not happen to IE or Netscape 7.

Any ideas?

Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Very strange. Have you put an HTTP sniffer on your client to see if the post is really different? I used a trial version of one called HttpLook and saved a ton of debug time. I'd be suspicious of the code in the browser first ... any JavaScript in the submit process?

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Struts and Mozilla
It's not a secret anymore!