File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes access Response object. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "access Response object." Watch "access Response object." New topic
Author

access Response object.

Amitosh Mishra
Ranch Hand

Joined: Feb 11, 2010
Posts: 49
Hi all,

is there any way to access response object explicitly in controller method where it is not declared in method arguments.

regards
Amitosh
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1680
    
    7

Why would you need to? Declaring it as a method parameter on your controller will signal Spring to inject it in for you. Is there a scenario where this wont work for you?


[How To Ask Questions][Read before you PM me]
Amitosh Mishra
Ranch Hand

Joined: Feb 11, 2010
Posts: 49
That is fine...

I am asking this out of curiosity only.

regards
Amitosh
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1680
    
    7

Yeah to my knowledge there is not.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: access Response object.