wood burning stoves 2.0*
The moose likes Servlets and the fly likes Error while running the Controller Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Error while running the Controller Servlet" Watch "Error while running the Controller Servlet" New topic

Error while running the Controller Servlet

Rashmi Dupati

Joined: Mar 05, 2007
Posts: 22

This is the Model-View-Controller architecture application.while running the servlet http://localhost:8181/Burnaby/ControllerServlet

i'm getting this error :

The requested resource (/Burnaby/jsp/Default.jsp) is not available.

please see the web.xml file below and give the solution to my problem...

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<param-value>jdbc racle:thin:@localhost:1521:rashviji</param-value>


Rodrigo Tomita
Ranch Hand

Joined: Apr 28, 2008
Posts: 70

The requested resource (/Burnaby/jsp/Default.jsp) is not available.

Well, the error message says that a file named Default.jsp in the jsp folder (in your context root folder) has not been found. Do you have that file there?

Another thing, I'm not sure why do you have params such as http://localhost:8080/burnaby, or http://localhost:8181/Burnaby, but that doesn't look like a good idea - usually using relative paths are a more flexible way to do it.
[ July 16, 2008: Message edited by: Rodrigo Tomita ]
I agree. Here's the link: http://aspose.com/file-tools
subject: Error while running the Controller Servlet
Similar Threads
Problem with jspInit() overriding
Expression Language Doubt
form action and url pattern
Configuring JSP init parameters
An Error Occured while starting tomcat