my dog learned polymorphism
The moose likes Servlets and the fly likes jsp request object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp request object" Watch "jsp request object" New topic

jsp request object


Joined: Aug 17, 2001
Posts: 8
Suppose I have a jsp page that uses a bean and I want to pass the request object to a function in my bean. What type is request? I need this to declare what type will be passed to my function in the bean
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13018
You can refer to request as a javax.servlet.HttpServletRequest object.
There is a nice syntax summary document in PDF form you can download from that has stuff like this.
author of:
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

your name doesn't agree with the javaranch guidelines.
please take a moment and re-register after reviewing the
guidelines at
thanks for your cooperation.
- satya

Take a Minute, Donate an Hour, Change a Life
I agree. Here's the link:
subject: jsp request object
It's not a secret anymore!