aspose file tools
The moose likes Servlets and the fly likes Response and Request Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Response and Request" Watch "Response and Request" New topic
Author

Response and Request

Bryce Webster
Greenhorn

Joined: Apr 04, 2001
Posts: 3
Is there any way to get the contents of the request and response objects from a bean without passing them in explicitly? I jave a jsp file using a taglib to call into a bean which hen needs HttpServletResponse and HttpServletRequest as parameters to one of its methods called in another jar file. The taglib doesn't appear to like having the response or request passed in as attributes.
Thanks in advance.
Bryce
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Write a Java Bean which has private vars of type HTTPServletRequest, HTTPServletResponse and pass this bean.
import java.io.*;
import java.servlet.*;
import java.servlet.http.*;

regds
maha anna
[This message has been edited by maha anna (edited April 05, 2001).]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Response and Request
 
Similar Threads
Cannot display ActionMessages
servlet action is not available
please solve this EL
struts forward link?
java.lang.NullPointerException in a simple servlet