• 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
Pie
Posts: 65126
92
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic