Using Sun Java Studio Creator with SVG (Page 1 of 4 )
The buzz phrase on the Internet is Rich Internet Client Applications, with the client, not the web server, in the driver's seat. The client will take on much of the presentation, data processing and state management roles similar to the way the client applications take over in a client/server architecture. This makes servers happier with less to perform.
Using Sun Java Studio Creator IDE for embedding SVG files
Sun Java Studio Creator did not support SVG files in its earlier version; most browsers did not even support SVG at that time. Things have changed and some browsers natively support SVG. Even in the present version, Sun Java Studio Creator does not easily support adding files with the SVG extension. However, it is possible to use the IDE to bring in an SVG file and embed it in an HTML file or a JSP file. This tutorial shows how you can bring an SVG file into the IDE and properly reference the embedded file.
Creating a web application project
The first step is to create a web application project. File-->New Project will give access to the window shown next, where you would create a JSF web application. Highlight Web in the categories area and click the Next button.
Clicking the Next button in the above window will open the following window, where you provide a name for the project. Here it is named DisplaySvg. The project file and folder location are added by default, but you can place them at another location of your choice.
You open a window where you can create a new JSF web application project. In this tutorial a project called DisplaySvg was created.
When you click Finish a complete project with all the necessary files, folders, and so on will be created for you, except for the JSP or HTML pages you will be creating.