File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set Home page in Glass Fish

 
Bennet Xavier
Ranch Hand
Posts: 162
  • 0
  • Mark post as helpful
  • send pies
  • 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 ]
 
Bhavik patel
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

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

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic