白鹏 wrote: > *The returned html file contains:* > > <script type="text/javascript" > src="/LearnDataProject/struts/xhtml/validation.js"></script> > <script type="text/javascript" > src="/LearnDataProject/struts/utils.js"></script> > > but *There isn't the folder 'struts' in my App /LearnDataProject .* > ** > *Why this happens??? *
Client-side validation requires JavaScript. Struts 2 serves these JavaScript files from the struts2-core library. If you look inside the struts2-core library file you will see them. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org