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 Elasticsearch in Action this week in the Big Data 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: 62127

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
rocket mass heater kickstarter
subject: xhtml valid javascript in struts