Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

jsp display issue...

Posted on 2012-03-27
4
Medium Priority
?
242 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

618 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