Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sun Java System Application Server Platform Edition 8.0

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can ask a question regarding Sun Java System Application Server Platform Edition 8.0 here or is there another forum for it? Please reply as the solution required is urgent!!
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes we do. (I'm moving this thread over there)
 
Ketan KC Chachad
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Lasse for moving my thread.... now here is the problem...

I was referring to a book of Professional Java Server Programming J2EE 1.3 Edition and tried executing a Servlet example... So as per the example i've got
  • index.html file,
  • GreetingServlet.class file
  • all of these are present in a WAR file which gets successfully deployed on to the server. Also, I have set the context root of the application EAR file to greeting.

    The flow of the example is that when the values are submitted through the index.html file, the servlet class processes the values and displays the result in html format.

    But when I try accessing the index.html file by giving the path http://localhost:4848/greeting/index.html the HTTP 404: File not Found error is displayed in the browser. The example given in the book is of a previous Java Application Server Platform version and the screen shots given in the book are not the ones I see on my machine.

    Can anyone tell me what are the exact steps one has to undertake for deploying such an application?
     
    Ranch Hand
    Posts: 149
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    http://localhost:4848/greeting/index.html

    4848 is admin http listener port, default is 8080

    try

    http://localhost:8080/greeting/index.html
     
    No thanks. We have all the government we need. This tiny ad would like you to leave now:
    We need your help - Coderanch server fundraiser
    https://coderanch.com/t/782867/Coderanch-server-fundraiser
    reply
      Bookmark Topic Watch Topic
    • New Topic