loading JSP pages gives error

I have created a JSP extension file and tried to run it in browser but receive error !!!

HTTP Status 500 -

description The server encountered an internal error () that prevented it from fulfilling this request.

this error message was shown when Tomcat was running.

and

HTTP Status 404 -

description The requested resource () is not available.

when tried after starting J2EE server.

in both cases I used URL : http://localhost:8080/test1.jsp

Any suggestions to resolve this problem?

Please make it as simple as possible because I am new to Java.

Thank you.

[646 byte] By [fresh@javaa] at [2007-11-26 20:19:00]
# 1
Use proper directory structure to avoid this problem
hotjavagreena at 2007-7-10 0:42:35 > top of Java-index,Java Essentials,Training...
# 2
There mostly seems to be some syntax error in your code somewhere.If the jsp file was not locatable by the server then it would have given404 error and not 500.
PMJaina at 2007-7-10 0:42:35 > top of Java-index,Java Essentials,Training...
# 3

Text for the file is as follows:

<%@ taglib prefix=攖ags?tagdir=?WEB-INF/tags?%>

<html>

<head>

<title>JSP 2.0 Hello World</title>

</head>

<body>

<tags:helloWorld/>

</body>

</html>

The URL I have tried was :: http://127.0.0.1:8080/test1.jsp

Is there any specific directory, wherein I need to save this file.......

Thank you.

Message was edited by:

fresh@java

fresh@javaa at 2007-7-10 0:42:35 > top of Java-index,Java Essentials,Training...