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

Calculating number of intersecting discs

algorithm sorting big-o time-complexity

Please see this question and the accepted answer:

'ora-00979'(not a group by expression) caused by 'order by'

sql oracle

I'm sorry for my poor English,but I will try my best to describe my question

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.