File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Other Java Products and Servers
How to set Home page in Glass Fish
Joined: Jun 19, 2008
Dec 10, 2008 22:20:00
i am new to
. 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.
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,
[ December 10, 2008: Message edited by: Bennet Xavier ]
Thanks And Regards
Bennet Xavier. X
Joined: Feb 20, 2007
Nov 25, 2009 06:12:09
Right click on project --> select properties ---> select run --> edit relative-url text box according to your need
Glassfish Consultancy service At
I agree. Here's the link:
subject: How to set Home page in Glass Fish
Inject a local bean @EJB
Requested Resource is not available
Tassie Online Book Store
Problem in WAS 40 Deployment
Can you invoke a servlet on the context path page?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015