Solved

jsp display issue...

Posted on 2012-03-27
4
238 Views
Last Modified: 2012-06-21
I have made a simple jsp file (CarBean_1.jsp). Codes inside is commented out for now.

I want make sure it is displaked using: http://localhost:8080/test/CarBean_1.jsp

It doesn't. Please see the attached images for what is displaying nstead and the folder for Tomcat I have:

Question: What folder I need to put test\CarBean_1.jsp

Maybe in root\test\CarBean_1.jsp


THank you
0
Comment
Question by:Mike Eghtebas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 47

Expert Comment

by:for_yan
ID: 37773320
Normally you would create web application - say called MyApp
and in webapps folder there will be folder MyApps and your .jsp
should be in that folder

Tomcat comes with very good application called "examples"

Find such folder in webbapps folder of Tomcat and use that one to study the general structure of how web applications should be organaized
0
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 37773329
One of the simplese ways is to use IDE for J2EE development - say Eclipse for J2ee
this IDE will create the MyApp.WAR file.
If you put this MyApp.WAR file in the webapps folder of your tomact and restart tomact then tomact will unzip the .WAR file and crete the MyApp folder and necessary structure within it for your web application
0
 
LVL 34

Author Comment

by:Mike Eghtebas
ID: 37773331
thanks
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37773353
You are always welcome.

Look at examples - it always helps me
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question