• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ajax and staticJavascript

 
auvrm papu
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In .jsp files, where there is an AJAX code, sometimes this below specified code is added. is there any reason for that? or what is the purpose of this staticJavascript being true?


<html:javascript formName="multiplePopupForm" staticJavascript="true"/>
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65667
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As that's a Struts tag, I've moved this to the appropriate forum for discussion.
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That code is used for Struts client-side validation. See this link for more info: http://struts.apache.org/1.1/userGuide/struts-html.html#javascript

- Brent
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!