facebook

jsp-generated javascript file

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #247370 Reply

    edanuff
    Member

    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:

    <script src="dynamicscript.jsp"></script>

    My question is if there is a way that I can have dynamicscript.jsp be understood in MyEclipse as being both a javascript and jsp file and providing the appropriate editing capabilities in the appropriate sections of the file. If I make the file end in .js, then the editor sees it as javascript, but the java sections are ignored, and if it ends in .jsp then the reverse is true.

    #247385

    Riyad Kalla
    Member

    Ahh, no, MyEclipse won’t support something like that. It would be expensive to real-time evaluate the JSP pages like that to fully consider what they output, but it’s not out of the question for a future release.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: jsp-generated javascript file

You must be logged in to post in the forum log in