Achievement: Latest Unlocked
I need a little help requesting data from a servlet in my JSP page.
In my JSP page I have the following:
<% request.getRequestDispatcher("/Security/LogonBar").include(request, response); %>
But I keep getting an error.
java.io.FileNotFoundException: The requested resource (/Security/LogonBar) is not available
But if I add /Security/LogonBar into the address bar the LogonBar data shows up.
The LogonBar is in a different web project than the JSP page. The JSP page is in the root directory of the server. If I remove the request.getRequestDispacher line then the page works fine.
Any help would be much appreciated.