Click here to Skip to main content
15,896,207 members
Home / Discussions / Java
   

Java

 
QuestionHave anyone tried ajaxanywhere with JSP/Servlet Pin
Alok Sharma ji8-Dec-10 1:24
Alok Sharma ji8-Dec-10 1:24 
Questionhowto evaluate return values from windows process Pin
TorstenH.8-Dec-10 0:32
TorstenH.8-Dec-10 0:32 
AnswerRe: howto evaluate return values from windows process [modified] Pin
TorstenH.8-Dec-10 1:47
TorstenH.8-Dec-10 1:47 
Questionpassing values across functions [modified] Pin
vidhyaej7-Dec-10 0:18
vidhyaej7-Dec-10 0:18 
AnswerRe: passing values across functions Pin
TorstenH.7-Dec-10 0:57
TorstenH.7-Dec-10 0:57 
GeneralRe: passing values across functions Pin
vidhyaej7-Dec-10 1:10
vidhyaej7-Dec-10 1:10 
GeneralRe: passing values across functions Pin
jschell7-Dec-10 10:20
jschell7-Dec-10 10:20 
GeneralRe: passing values across functions Pin
TorstenH.7-Dec-10 19:44
TorstenH.7-Dec-10 19:44 
Ah - now I see what you mean (or at least I think I do so).

You fault was not to follow simple rules. Use the naming conventions - use Checkstyle.
If you do so, you will realize, that Response is a typ of object and not a variable. You need to differ between what is a name of a variable/member (starts with lower character) and what is a type (starts with upper character).

So if you write your method handle() in class Handler like this:

public void handle(final Response aResponse){ // aResponse to make visible this is a argument of this method
     // someWiredOperations();
}


...it should do the job. Then you can use the Object Response and squeeze your info from it.

regards
Torsten
I never finish anyth...

AnswerRe: passing values across functions Pin
Richard MacCutchan7-Dec-10 11:17
mveRichard MacCutchan7-Dec-10 11:17 
Questionglassfish server 3 start failed ???? Pin
aa_zz6-Dec-10 21:06
aa_zz6-Dec-10 21:06 
AnswerRe: glassfish server 3 start failed ???? Pin
Luc Pattyn6-Dec-10 21:13
sitebuilderLuc Pattyn6-Dec-10 21:13 
AnswerRe: glassfish server 3 start failed ???? Pin
Alok Sharma ji7-Dec-10 1:30
Alok Sharma ji7-Dec-10 1:30 
AnswerRe: glassfish server 3 start failed ???? Pin
Skynet_Code7-Dec-10 20:55
Skynet_Code7-Dec-10 20:55 
AnswerRe: glassfish server 3 start failed ???? Pin
Spi-der23-Feb-11 1:42
Spi-der23-Feb-11 1:42 
QuestionEquivalent Java Function - having a return type of BSTR (How to implement BSTR* in JAVA?) Pin
amarasat6-Dec-10 8:33
amarasat6-Dec-10 8:33 
AnswerRe: Equivalent Java Function - having a return type of BSTR (How to implement BSTR* in JAVA?) Pin
David Skelly6-Dec-10 22:27
David Skelly6-Dec-10 22:27 
AnswerRe: Equivalent Java Function - having a return type of BSTR (How to implement BSTR* in JAVA?) Pin
jschell7-Dec-10 10:22
jschell7-Dec-10 10:22 
GeneralRe: Equivalent Java Function - having a return type of BSTR (How to implement BSTR* in JAVA?) Pin
amarasat7-Dec-10 11:57
amarasat7-Dec-10 11:57 
GeneralRe: Equivalent Java Function - having a return type of BSTR (How to implement BSTR* in JAVA?) Pin
Skynet_Code7-Dec-10 21:49
Skynet_Code7-Dec-10 21:49 
GeneralRe: Equivalent Java Function - having a return type of BSTR (How to implement BSTR* in JAVA?) Pin
jschell9-Dec-10 10:14
jschell9-Dec-10 10:14 
GeneralRe: Equivalent Java Function - having a return type of BSTR (How to implement BSTR* in JAVA?) Pin
jschell9-Dec-10 10:16
jschell9-Dec-10 10:16 
Questionconnect postgreSQL with netbean(webservice, glassfish) ???? Pin
aa_zz6-Dec-10 2:33
aa_zz6-Dec-10 2:33 
AnswerRe: connect postgreSQL with netbean(webservice, glassfish) ???? Pin
David Skelly6-Dec-10 22:19
David Skelly6-Dec-10 22:19 
QuestionPrinting the contents of a collection Pin
SWDevil4-Dec-10 22:37
SWDevil4-Dec-10 22:37 
AnswerRe: Printing the contents of a collection Pin
Cedric Moonen4-Dec-10 22:43
Cedric Moonen4-Dec-10 22:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.