aspose file tools*
The moose likes Other Java Products and Servers and the fly likes How to set Home page in Glass Fish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "How to set Home page in Glass Fish" Watch "How to set Home page in Glass Fish" New topic
Author

How to set Home page in Glass Fish

Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi All,

i am new to EJB. i dont have any idea about EJB.

i tried the stateless session bean example in netBeans with glassfish, in that the home page is getting displayed in the URL mentioned below.

http://localhost:9595/ServletStateless-war/servlet

but the context root is /ServletStateless-war, i dont know how this particular page is getting displayed when i say run from netBeans.

where to configure to display this particular URL.

i searched web.xml, sun-web.xml, sun-resources.xml, persistence.xml

i am not able to find that.

please help me.

Thanks In Advance,
Bennet Xavier.X.
[ December 10, 2008: Message edited by: Bennet Xavier ]

Thanks And Regards

Bennet Xavier. X
Bhavik patel
Ranch Hand

Joined: Feb 20, 2007
Posts: 49
hi

Right click on project --> select properties ---> select run --> edit relative-url text box according to your need


Bhavik Patel
Glassfish Consultancy service At http://www.jmatrix.in
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set Home page in Glass Fish