Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
error in deploying jsp
Joined: Oct 09, 2006
Nov 14, 2006 14:54:00
I am new to jsp.
I just wrote a simple jsp file
<%= 45 %>
when i am trying to deploy it shows me file not found exception.
I created a directory jsps in webapps of
Do i need to do anything like entry in web.xml?
please help me
Author and ninkuma
Joined: Jan 10, 2002
Nov 14, 2006 15:18:00
Moved to the Tomcat forum.
Asking smart questions
Books by Bear
Joined: Nov 24, 2005
Nov 14, 2006 18:48:00
Please show what's in your "jsps" directory, and how you're trying to access the file.
All roads lead to JavaRanch
Joined: Dec 11, 2004
Nov 15, 2006 04:34:00
Add a directory named "WEB-INF" to your "jsps" directory and Tomcat will recognize it as a webapp.
If you're new to
, 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.
<%= 45 %>
The JSP expression tag expects a
or an expression that returns a string.
How to ask a question...
Simple Servlet Examples
Don't get me started about those stupid
subject: error in deploying jsp
including content in jsp from action class ?
init parameter from jsp
JSP and HTML Frames
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013