Java
  Home arrow Java arrow JSP Basics with Java Studio Creator 2 for ...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVA

JSP Basics with Java Studio Creator 2 for VB Programmers
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2006-09-25

    Table of Contents:
  • JSP Basics with Java Studio Creator 2 for VB Programmers
  • The Palette window and more
  • Creating a simple JSP page
  • Adding basic components to the page
  • Test the page

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    JSP Basics with Java Studio Creator 2 for VB Programmers


    (Page 1 of 5 )

    If you have been looking for a place to start with Java Server Pages, you've found it here. This article will give you some hands-on experience in using the Java Studio Creator 2 IDE to create Java Server Pages.

    Introduction

    Active Server Pages by Microsoft was a great success because developers were looking for a server side processing program that was better than CGI scripts, the only way programs were processed on servers at that time. Java Server Pages was Sun Microsystems' answer to ASP based on the Java Programming Language. This is part of the history and today both of them find their place in web space.

    Both are script based and provide similar functionality. They do have commonalities in syntax and objects. JSP supports tags that abstract functionality that can be dropped onto a page, making separation of content and code a lot easier and cleaner. Tags are easier to handle than spaghetti code. Of course ASP is platform-specific, being a Microsoft product, and JSPs work with lot more platforms.

    The object of this tutorial is however to use the Java Studio Creator 2 IDE to get a basic understanding of how to create Java Server Pages and get hands-on experience in using this tool. The tutorial also shows how to add images and links using JavaScript.

    Overview of the main windows of the IDE

    It is essential to move around easily in the IDE, to find things for the effective use of any user interface. This section describes the basic features.

    Click on the Sun Java Studio Creator 2 desktop shortcut created when the program was installed. This opens up the following window.

    The Welcome window is where you can open your listed, recent projects or open an existing project by browsing in the directory C:/My Documents/Creator/Projects. Of course you may also create a new project from here. More on this will be discussed later in the tutorial. While on this central page, scroll down and you will see links to tutorials and samples on the web.

    The Projects window shows all the projects, the same ones you see in the Welcome window, but here you may look at the sub directories and files. As shown, the project Test has been expanded to show the typical structure of a project. For example the Test project has three Java server pages, TestDup.jsp, TestHello.jsp, and Verify.jsp. The one that has the green arrowhead is the page that comes up when the project is run. If you right click any other page, you can make it the start page for the project as shown. The structure of the project gives you all the ability required in an enterprise-quality application, from page creation to delivery and documentation.

    More Java Articles
    More By Jayaram Krishnaswamy


       · Days of proficiency with just one software are gone. Employers expect a lot these...
     

    JAVA ARTICLES

    - Deploying Multiple Java Applets as One
    - Deploying Java Applets
    - Understanding Deployment Frameworks
    - Database Programming in Java Using JDBC
    - Extension Interfaces and SAX
    - Entities, Handlers and SAX
    - Advanced SAX
    - Conversions and Java Print Streams
    - Formatters and Java Print Streams
    - Java Print Streams
    - Wildcards, Arrays, and Generics in Java
    - Wildcards and Generic Methods in Java
    - Finishing the Project: Java Web Development ...
    - Generics and Limitations in Java
    - Getting Started with Java Web Development in...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT