jsp-generated javascript file
I have a jsp file that outputs javascript which is included into an html page via a script tag. It ends up looking something like this in the html file:
]]>
My question is if there is a way that I can have dynamicscript.jsp be understood in IDEA as being both a javascript and jsp file and providing the appropriate editing capabilities. Right now, it sees it as a jsp page in the editor, although some of the javascript syntax seems to trip it up in places.
请先登录再写评论。