I am running JRun 2.3.3 on Apache 1.3.6 on NT.

I am having a problem forwarding to an html page from a servlet. This
is the error I am getting:

  500 Internal Server Error

  com.ubs.library.LibraryAdminServlet:

  javax.servlet.ServletException: No mappings found for
'/library/framesetHome.html'.

The servlet is located at
c:/java/JRun/servlets/LibraryAdminServlet.class
The html page is located at c:/java/Apache
Group/Apache/htdocs/library/framesetHome.html

Here is the sequence of events that lead up to my problem:

- invoke servlet by typing in
http:/localhost/servlet/LibraryAdminServlet. This servlet is the entry
point to my application.
- in the init method of LibraryAdminServlet, I create initialize some
objects and store them in the servlet context.
  e.g.
    ServletContext servletContext = getServletContext();
    DBConnectionManager connectionPool =
DBConnectionManager.getInstance();
    servletContext.setAttribute("connectionPool",connectionPool);

- in the doGet method, I do the following:
  e.g.
    if (request.getParameter("firstTime")==null) {
      String url = "/library/framesetHome.html";
      ServletContext sc = getServletContext();
      RequestDispatcher rd = sc.getRequestDispatcher(url);
      rd.forward(request, response);
    }

Does anyone know:
- what these mappings are and where do I configure them?
- do I need to somehow configure the servlet context (e.g. URI path
prefix?)

I appreciate any help.
Thanks in advance.

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to