| Author |
error in deploying jsp
|
uma baratam
Greenhorn
Joined: Oct 09, 2006
Posts: 5
|
|
hi all, I am new to jsp. I just wrote a simple jsp file <html> <body> <%= 45 %> </body> </html> when i am trying to deploy it shows me file not found exception. I created a directory jsps in webapps of tomcat. Do i need to do anything like entry in web.xml? please help me Thanks UmaVinodh.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
|
Moved to the Tomcat forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
Please show what's in your "jsps" directory, and how you're trying to access the file.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Add a directory named "WEB-INF" to your "jsps" directory and Tomcat will recognize it as a webapp. If you're new to JSP and servlets, I recommend that you pickup a book and read up on some of the basics. It will save you a lot of time and aggravation. Once Tomcat recognizes your webapp and tries to invoke your JSP, this line will blow up for you. The JSP expression tag expects a String or an expression that returns a string.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: error in deploying jsp
|
|
|