Pretty Printing / Code formatting for JSPs

C

Christian Ashby

Does anyone know of a jsp code formatter that can follow sun coding
conventions (see below for eg) in a similar format to jalopy?

I've tried SourceFormatX (which seems to break for me), and Polystyle that
can't format (for example) brace styles in if( ) statements.

Thanks,

Christian Ashby.
Spiralinks, Inc.

The code I'd like to see at the end of it all is like this:

<html>
<head>
<script>
</head>
<body>
<% code;
if( true == true ) {
more code;
} else {
else code;
} %>

<%= something %>
</body>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top