C
cold80
I'm developing my first web application with Java technololgies. I have
a FrontController class (a Serverlet) that accept every request from
the browser. After checking the URI requested is right I use the method
request.getRequestDispatcher in this way
request.getRequestDispatcher(page).forward(request, response);
where page is the new URI I want to forward to, for example
/WEB-INF/pages/index.jsp
When I reach this particular line I get the error
javax.servlet.ServletException:
org/apache/jsp/WEB_002dINF/pages/index_jsp (wrong name:
org/apache/jsp/WEB_002dINF/pages/Index_jsp)
It seems that it can't find the page index.jsp in the path specified,
but I'm sure there is! I'm using NetBeans 4.1 to develop the
application, and the file index.jsp is actually a blank jsp file. I
have some samples with the same structure and they all work, but I
can't find what's the difference with mine.
I need help
Thanks a lot
Cold
a FrontController class (a Serverlet) that accept every request from
the browser. After checking the URI requested is right I use the method
request.getRequestDispatcher in this way
request.getRequestDispatcher(page).forward(request, response);
where page is the new URI I want to forward to, for example
/WEB-INF/pages/index.jsp
When I reach this particular line I get the error
javax.servlet.ServletException:
org/apache/jsp/WEB_002dINF/pages/index_jsp (wrong name:
org/apache/jsp/WEB_002dINF/pages/Index_jsp)
It seems that it can't find the page index.jsp in the path specified,
but I'm sure there is! I'm using NetBeans 4.1 to develop the
application, and the file index.jsp is actually a blank jsp file. I
have some samples with the same structure and they all work, but I
can't find what's the difference with mine.
I need help
Thanks a lot
Cold