Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Sun Java System Application Server Platform Edition 8.0

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
    • 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
     
    To avoid criticism do nothing, say nothing, be nothing. -Elbert Hubbard. Please critique this tiny ad:
    Thread Boost feature
    https://coderanch.com/t/674455/Thread-Boost-feature
      Bookmark Topic Watch Topic
    • New Topic