• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

j2ee ,index html , not accessible when server running

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have j2eesdk1.2.1 and the server starts and Iam able to deploy my ejb.....but when I try to access the index.html from a IE browser by giving http://localhost:8080/index.html iam unable to get the index html page, which should not happen if my server is running.Please help.
Umer
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!
try http://localhost:8000/
it will automatically load the home page.you need not type index.html.
the port number is 8000 not 8080.
you may start the server with the following command so that you know at which port server is running
j2ee -verbose
 
Mohammed Umer
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a ton, it works.
My ejb has 5 programs ,a html, a servlet, a remote interface, a home interface & a bean.
The html takes some values and passes them to the servlet, as per
some course material iam following iam giving an alias name for the servlet in the deployment with j2ee and this alias is mentioned in the action command of the html, but when I click the submit button in the html file I get the message that the file "......alias" not found!! where am I going wrong? please help, thanks again for ur reply.
umer
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic