----------------------------------------------------------------
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!!!
----------------------------------------------------------------
damn 2.0.......Yeah thanks, i'm using 2.0 so how are you guys forwarding
servletrequests without sending responseredirect header to the browser ( ie
allowing you to pass and object as an attribute of the response object)
-rick
----------
>From: "Fernando Salazar" <[EMAIL PROTECTED]>
>To: "Java Apache Users" <[EMAIL PROTECTED]>
>Subject: RE: RequestDispatcher
>Date: Fri, May 5, 2000, 3:16 PM
>
> ----------------------------------------------------------------
> 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??????
>>
>
> No RequestDispatcher in JSDK 2.0. JServ is JSDK 2.0. To use
> RequestDispatcher, you need Jakarta/Tomcat.
>
> - Fernando
>
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]