Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Formatting of jsp file that contains Javascript
Formatting of jsp file that contains Javascript [message #210225] Tue, 11 March 2008 23:24
Eclipse User
Originally posted by: srikrishnan.indigotx.com

Hi,
I would greatly appreciate if anyone can help me format a jsp file
containing <script> tags. I need to format both jsp code as well as the
code within <script> tags.

Ctrl+Shift+F on a jsp file (placed under a web project ) only formats
the snippets of code within html tags and jsp tags (that is, code within
<% and %>). My jsp file has a bunch of <script> tags. The code within
the <script> tags also needs to be formatted (probably using the
Javascript formatter).

If anyone has already figured out a way to do this, please let me know.

Thanks
Sri
Previous Topic:Generating WS Client from WSDL gives faulty code
Next Topic:CompletionProposal offset
Goto Forum:
  


Current Time: Wed May 22 06:17:21 EDT 2013

Powered by FUDForum. Page generated in 0.01332 seconds