Showing posts with label Java Application. Show all posts
Showing posts with label Java Application. Show all posts

Saturday, February 12, 2011

How To Create And Run JSP For WebSphere Application Server v6.0 at Localhost IBM RAD

In this Post we are Learning how we can Create and Run a simple JSP at Localhost for WebSphere Application Server v6.0 in IBM RAD.

Prerequisite:

                                 1. IBM RAD 7.5  installed in your machine.

                                 2. WebSphere Application Server should be Created.

                                 3. Server should be in Started mode

                                 4. Web Dynamic Project should be Created.

 

Step1: Open IBM RAD 7.5

                 Go to File->New->Others… 

 

create-run-jsp-rad-webshpere-localhost

 

 Step2: One New wizard will Open, Select JSP from the list as shown in the screen shot below:

create-run-jsp-rad-webshpere-localhost1

 Step3: Create the JSP folder under your webProject/WebContent

               Name the Jsp file Name and Click Finish as shown in the screen shot below:

create-run-jsp-rad-webshpere-localhost2

 Step4: One new Window will open having list of JSP Template ,Select a template as initial content in the JSP page.

               For JSP with html markup template select New JSP File(html) as shown in the list below and Click Finish:

create-run-jsp-rad-webshpere-localhost3

 

 Step5: Create your JSP as per your requirement , JSP will be under webProject/WebContent/JSP as folder structure shown below for Home.jsp:

create-run-jsp-rad-webshpere-localhost4

 Step6: Start WebSphere Application Server v6.1 and Check the Console one can find the default port bound to the webproject  you had created.

create-run-jsp-rad-webshpere-localhost5

 Step7: Type  URL-http://localhost:9080/path of your JSP page ,You will get your JSP page as Shown below in the screen shot:

create-run-jsp-rad-webshpere-localhost6

 Step8: Fill the Credential as User Id and Password ,Click Login

create-run-jsp-rad-webshpere-localhost7

 Step9: You Get Another JSP page Submit.jsp as Response of Clocking Login at the Home.jsp. As Shown in the Screen Shot below:

create-run-jsp-rad-webshpere-localhost8

 

The Creation and Running of JSP in a Web Dynamic Project (WAR) for WebSphere Application Server v6.0 at Localhost is same as mentioned above in IBM RAD 6.0, RAD 7.0 and RAD 8.0.

Saturday, November 6, 2010

How to Create Java Package for WebSphere Application Server v6.1 @localhost in IBM RAD 7.5

 

 What is Package in JAVA?

A package is a namespace technique for organizing a set of related classes and interfaces.  You might keep HTML pages in one folder, images in another, and scripts or applications in yet another. Java packages can be stored in compressed files called JAR files

In this post we are going to learn about Creating Java Package for an J2EE Application in WebSphere Application Server v6.1 @localhost in IBM RAD 7.5,

Prerequisite :

                  1. One should have already installed IBM RAD 7.5 in his/her machine.

                  2. Web Dynamic Project (WAR module) should be created.

 

Let us check how to Create Package in WebSphere Application Server v6.1 @localhost in IBM RAD 7.5.

 

 

Step1: Right click on the Project (Web Dynamic Project (WAR module) )  as shown in the screenshot below:

                               

                          New->Package.

              

 

create-package-rad

 

   Step2:  One window should be Pop-Up. As shown in the screen shot below:

                    Enter the Soure folder .

                   Enter the Name of the Package as per Sun Naming Convention for Java Package.

create-package-rad-IBM

 

 Step3: You able to create your Java Package com.Netra.test  as shown in the screen shot below:

create-package-rad-IBM-web

You can Create Package in WebSphere Application Server v6.1 @ localhost with the help of same steps in all the other versions of IBM RAD i.e. RAD 6.0,RAD 7.0 and RAD 8.0.