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
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
Tassie Online Book Store
Requested Resource is not available
Can you invoke a servlet on the context path page?
Inject a local bean @EJB
Problem in WAS 40 Deployment
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013