• Post Reply Bookmark Topic Watch Topic
  • New Topic

<script> tag issue - double submission of form in FF

 
Ragini Karimidla
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Yesterday, I ran into a strange issue regarding script tag in a JSP.
Here is the issue

I had multiple script tags connecting to external source js files in the JSP and one of which is empty source

like

<script type="text/javascript" src="file.js"></script>
<script type="text/javascript" src="file1.js"></script>
<script type="text/javascript" src="file2.js"></script>
<script type="text/javascript" src="file3.js"></script>
<script type="text/javascript" src=" "></script>
<script type="text/javascript" src="file4.js"></script>

Because of this empty src script tag, whenever the that JSP is submitted, it submits two times in FF, one with post request and other with get request. I didnt quite get it why it is submitted twice. Any experts please advise.

Thanks,
RK

 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!