Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

How to set Home page in Glass Fish

 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi

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

 
reply
    Bookmark Topic Watch Topic
  • New Topic