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

tomcat localhost:8080 is not working but JSF working fine

 
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many i know when i deploy JSF application in tomcat server it is working fine only if i use URL name @ web browser. But the problem is that http://localhost:8080/index.jsp is not working... may i know why it is happening so.

2/ may i know different types of errors which comes at web application like 401,404..etc and why and when they come.

many thanks in advance.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. are you sure that index.jsp exists? Did it work before you started experimenting with JSF?
2. Response errors are listed in the JavaDocs for javax.servlet.http.HttpServletResponse
You really should get familiar with those JavaDocs if you are going to be working with servlets.

Bill
 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

William Brogden wrote:1. are you sure that index.jsp exists? Did it work before you started experimenting with JSF?
2. Response errors are listed in the JavaDocs for javax.servlet.http.HttpServletResponse
You really should get familiar with those JavaDocs if you are going to be working with servlets.

Bill




may i know how to get familiar with javadocs
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Rauhl Roy wrote:
... may i know how to get familiar with javadocs



Click on the link that Wiliam provided.
It will bring you to the API docs page for HttpServletResponse.

On that page, near the top, there is link named "Frames".
Click that and you will see the entire JEE API in a set of frames with links to the packages and specific classes on the left.
You'll probably want to put a link to that page right in the bookmarks toolbar of your browser so you can get to it quickly.
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic