Hosting static web pages in GlassFish

In 4 easy steps you can host your static web pages up and running in GlassFish. At times, we only need static web pages in application servers. GlassFish makes this feature easy for you. So you can share your photos, media or information to others in an easy way.

Are you ready to explore GlassFish? Here you go...

Step1: Download and Install GlassFish
Get the instructions from here.

Step2: Copy your web pages into GlassFish
cp myworld [GlassFish]\\domains\\domain1\\docroot\\myworld

Step3: Start the GlassFish
[GlassFish]/bin/asadmin start-domain domain1

step4: Access your web pages... boom boom boom!
http://localhost:8080/myworld/index.htm

my world

Got GlassFish?
Comments:

Post a Comment:
Comments are closed for this entry.
About

Me, Myself & Bharath

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today