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
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 JSP and
, 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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: error in deploying jsp
init parameter from jsp
JSP and HTML Frames
including content in jsp from action class ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015