aspose file tools*
The moose likes Servlets and the fly likes Can i use request.setParameter in java class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can i use request.setParameter in java class" Watch "Can i use request.setParameter in java class" New topic
Author

Can i use request.setParameter in java class

Anubhuti Bhargava
Greenhorn

Joined: May 11, 2001
Posts: 9
hello ,
I am using jsp and java class for the front end and backend respectively , my requirement says to setparameters by default , can i use it .??
if yes then how .
regards
Anubha
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Sounds like a question for the Servlet/JSP forum, but as pointer:
there is no setParameter on the request object. You need to use setAttribute which allows you to set objects on the request.
Dave.
Sean MacLean
author
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
Good call David. Let's move this question to a better home.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can i use request.setParameter in java class