Solved

jsp display issue...

Posted on 2012-03-27
4
235 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
  • 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
servlet filter example 37 72
runtime exception 2 42
Delete Android all or certain applications data programmatically 9 76
jsp error 6 26
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

827 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