File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes xhtml valid javascript in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "xhtml valid javascript in struts" Watch "xhtml valid javascript in struts" New topic

xhtml valid javascript in struts

Ted Drake

Joined: Sep 23, 2004
Posts: 2
in the struts tag set, we can use scriptLanguage to drop in the attribute language="javascript1.1" into the tag. However, this is turned off if you use the <html:xhtml/> tag on the jsp. We are running a valid xhtml 1.0 transitional web site and want to maintain the status. Yet, we also want our javascripts to be valid. Has anyone figured out a way to use the scriptLanguage attribute with the xhtml tag?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60783

Moving to the Web Application Frameworks forum where the Struts-savvy hang out.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
subject: xhtml valid javascript in struts
Similar Threads
jsf tag not working in xhtml(facelet)
HTML (strict or xhtml) validation failure on Struts output
Adding additional element attributes
Struts input tags and xhtml
xhtml valid javascript in struts