• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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
 
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic