Don't know if i'm missing something, but... What is that "webservice"?


-----Mensaje original-----
De: Randy Jones [mailto:[email protected]] 
Enviado el: jueves, 29 de enero de 2009 11:06
Para: [email protected]
Asunto: [Stripes-users] Action bean getting called twice.

@HandlesEvent("myevent")
public Resolution myevent() {
    logger.debug("begin");
    results = webservice.getResults();
    logger.debug("end");
    return new ForwardResolution("my.jsp");
}

results in:

DEBUG - begin
DEBUG - end
DEBUG - begin
DEBUG - end

@HandlesEvent("myevent")
public Resolution myevent() {
    logger.debug("begin");
    //results = webservice.getResults();
    logger.debug("end");
    return new ForwardResolution("my.jsp");
}

results in:

DEBUG - begin
DEBUG - end

Anyone have a clue what's going here. My hunch is it has something to do
with
getResults() which opens a HttpURLConnection.






----------------------------------------------------------------------------
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to