My Account Log In Walkthrough IDE Integrations Contact  
Polystyle
Point And Click Source Code
Formatter & Obfuscator

Click Here To Download A Free Trial!
Home Features Documentation Buy Formatter Buy Obfuscator Download  

 



  • PHP Obfuscator

  • C# Obfuscator

  • Perl Obfuscator

  • Java Obfuscator

  • Javascript Obfuscator

  • JSP Obfuscator

  • Actionscript Obfuscator

  • C/C++ Formatter

  • Perl Formatter

  • Pascal/Delphi Formatter

  • C# Formatter

  • CSS Formatter

  • CMAC Formatter

  • Java Formatter

  • Javascript Formatter

  • PHP Formatter

  • JSP Formatter

  • HTML/XML Formatter

  • Python Formatter

  • ASP Formatter

  • Visual Basic Formatter

  • Actionscript Formatter

  • Step 1: Unformatted JSP Source

  • Overall JSP Features
  • Step 1: Unformatted Source
  • Step 2: Example Source
  • Step 3: Formatted Source

    Let's start with a real life source file which is not well formatted:


    <HTML>
    <!--  
      Copyright (c) 1999 The Apache Software Foundation.  All rights 
      reserved.
    -->
    <HEAD><TITLE> 	Calendar: A JSP APPLICATION
    </TITLE></HEAD><BODY BGCOLOR="white">
    <%@ page language="java" import="cal.*" %>
    <jsp:useBean id="table" scope="session" class="cal.TableBean" /> <%
    	table.processRequest(request);
    	if (table.getProcessError() == false) {%>
    
    <!-- html table goes here --><CENTER>
    <TABLE WIDTH=60% BGCOLOR=yellow CELLPADDING=15>
    <TR><TD ALIGN=CENTER> <A HREF=cal1.jsp?date=prev> prev </A>
    <TD ALIGN=CENTER> Calendar: <%= table.getDate() %> </TD>
    <TD ALIGN=CENTER> <A HREF=cal1.jsp?date=next> next </A> </TR>
    </TABLE>
    
    <!-- the main table -->
    <TABLE WIDTH=60% BGCOLOR=lightblue BORDER=1 CELLPADDING=10>
    <TR><TH> Time </TH>
    <TH> Appointment </TH> </TR>
    <FORM METHOD=POST ACTION=cal1.jsp><%
    	for(int i=0; i<table.getEntries().getRows(); i++) 
    	{
    	   cal.Entry entr = table.getEntries().getEntry(i);	
    %>	<TR>
    	<TD> 
    <A HREF=cal2.jsp?time=<%= entr.getHour() %>>
    		<%= entr.getHour() %> </A>
    	</TD>	<TD BGCOLOR=<%= entr.getColor() %>>
    	<%= entr.getDescription() %>
    	</TD>	</TR>
    <%	}%>
    </FORM></TABLE><BR>
    
    <!-- footer --> <TABLE WIDTH=60% BGCOLOR=yellow CELLPADDING=15>
    <TR> <TD ALIGN=CENTER>  <%= table.getName() %> : 
    		     <%= table.getEmail() %> </TD> </TR> </TABLE>
    </CENTER>
    <%	} else {%>
    <font size=5>	You must enter your name and email address correctly.
    </font> <%
    	}
    %></BODY>
    </HTML>

    Next, in Step 2 we'll look at our example source which defines our style.

  • Home Features Documentation Buy Polystyle Buy Obfuscator Download  

    Click Here To Download A Free Trial!

    Copyright © Flashbulb Studios. All rights reserved.