how to reference a file of higher hierarchy in a java servlet project

i'm trying to implement a basic mvc pattern for a java web app project in netbeans. i have the deployment descriptor (web.xml) correct but i can't seem to redirect to the correct jsp from the java servlet itself. here's the directory of my project folder:

                /* other .java files */
                /* other .java files */
                   /* .class files found here */
                   /* other .class files found here */

a link from index.jsp calls the ManageSurveysServlet which in turn forwards a request object and redirects to manage_surveys.jsp, but given the above directories, i don't know what path/filename to use to reference manage_surveys.jsp with from the servlet. here's the code in the servlet that forwards the request object:

request.setAttribute("surveys", surveys); // surveys is an arraylist
RequestDispatcher dispatcher = request.getRequestDispatcher("manage_surveys.jsp"); // i'm guessing it can't find the jsp
dispatcher.forward(request, response);

UPDATE: web.xml

<?xml version="1.0" encoding="utf-8"?>
<web-app version="2.5" xmlns="" xmlns:xsi="" xsi:schemaLocation="">


Move manage_surveys.jsp into WEB-INF folder.I think that will be solution.

Need Your Help

preg_replace with similar values

php preg-replace str-replace

I am working on a mentions system and I have run across a problem, when I am looping through and changing the mentions to links, it will replace similar ones such as @tom and @tom123 with the same ...

Excluding prototype in rails 3?

javascript ruby-on-rails-3 prototypejs

In rails 3, when using &lt;%= javascript_include_tag :defaults %&gt;, it includes a number of javascript files include prototype.js to the page.

How can I directly view blobs in MySQL Workbench

mysql mysql-workbench

I'm using MySQL Workbench CE 5.2.30 CE / Rev 6790 . When execute the following statement:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.