struts action return to client

Discussion in 'Java' started by Joseph, Mar 4, 2004.

  1. Joseph

    Joseph Guest

    Hello,

    Using struts, i'm trying to do a straight http reponse back to an
    external requesting client. I do not want to forward to one of the
    jsp's in my application.

    I've been reading the struts documentation and can't find any mention
    of this. hat Any help would be appreciated.
    Joseph, Mar 4, 2004
    #1
    1. Advertising

  2. Joseph

    Sudsy Guest

    Joseph wrote:
    > Hello,
    >
    > Using struts, i'm trying to do a straight http reponse back to an
    > external requesting client. I do not want to forward to one of the
    > jsp's in my application.
    >
    > I've been reading the struts documentation and can't find any mention
    > of this. hat Any help would be appreciated.


    Check the javadocs for Action. Read the section regarding the
    execute method, which says in part:
    "Return an ActionForward instance describing where and how
    control should be forwarded, or null if the response has
    already been completed."
    Need I say more?
    Sudsy, Mar 5, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joe Bloggs
    Replies:
    1
    Views:
    726
    Sudsy
    Aug 3, 2003
  2. Joseph
    Replies:
    0
    Views:
    258
    Joseph
    Mar 4, 2004
  3. rjweytens
    Replies:
    6
    Views:
    16,051
    rjweytens
    Jun 25, 2004
  4. runescience

    Struts mapping action to action???

    runescience, Feb 6, 2006, in forum: Java
    Replies:
    3
    Views:
    1,808
    runescience
    Feb 7, 2006
  5. vyshu
    Replies:
    1
    Views:
    2,526
    Richard Senior
    Apr 27, 2007
Loading...

Share This Page