----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


>From the servlet context i cant seem to get a refrencce to the 
RequestDispatcher

    HttpSession sess=request.getSession(true);
    ServletContext t=this.getServletContext();
    RequestDispatcher rd;
    rd=t.getRequestDispatcher("index.jsp");

this should work but all i get is


/login/login.jsp:20: Method getRequestDispatcher(java.lang.String) not found
in interface javax.servlet.ServletContext.
                                rd=t.getRequestDispatcher("index.jsp");

any ideas??????

thanks();
rick


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to