Developing Web Applications using Java Studio Creator
This is the first article in a series focusing on developing web applications using Sun Java Studio Creator. This is mainly aimed at the beginners who are very new to web application development using “Sun Java Studio Creator IDE” and “Sun Java System Application Server.”
Developing Web Applications using Java Studio Creator - Creating a Web Application using Sun Java Studio Creator: designing the web page (Page 3 of 5 )
Once you have completed all the steps in the previous section, it is time to design the web page. Go through the following steps to achieve the same:
Using the "palette" tool window, drag a "label" from "basic" components onto the page.
Once "label1" is selected, you will see all of its attributes/characteristics in the "properties" tool window. Using the "properties" window modify the following properties with the respective values given:
Id: modify the existing id "label1" to "lblMsg"
Text: remove all information here
Style: you can hit the "ellipsis" button (a button with three dots) and modify the appearance of the label
Again using the "palette" tool window, drag a "button" from "basic" components onto the page
Once "button1" is selected, change its "text" property to "Show" and "ID" property to "btnShow." You can also adjust the width and height of the button visually.
At this point, when you switch to "JSP" mode, you should be able to see all the JSF (Java Server Faces) related tags as follows:
You can observe that we are not simply developing the traditional JSP applications. Instead, we are now working with advanced JSP controls together with JSP using Sun Java Studio Creator!