Jsp file not running

Hi,

I am new in jsp.

I am using Tomcat 5.5 and jdk1.5

My jsp file is

<html>

<head>

<title> Money Bank </title>

</head>

<body>

<%@ page import = "java.util.*" %>

Welcome User

</body>

</html>

I save the file

in the besslow path

C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT

but its giving an error

The requested resource (/moneybank/index.jsp) is not available.

please tell me how can I run my jsp file

[591 byte] By [suvra_jyotia] at [2007-11-27 7:36:45]
# 1

You store your file in the ROOT webapp. This is the default webapp and you can invoke your jsp like this:

http://localhost:8080/index.jsp

If you want to have a seperate directory for your project you need to create that. Create a directory

C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\moneybank

and story your JSP in that directory. Then it should work.

gimbal2a at 2007-7-12 19:17:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...