Results 1 to 2 of 2

Thread: [RESOLVED] Java, origem, destino and request/response

  1. #1

    Thread Starter
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Resolved [RESOLVED] Java, origem, destino and request/response

    Hi

    Working over here (Brasil) for a company. they have a wrapper I think for the data items...

    Anyways, my question is to do with the Java passing information internally through the server.

    I am using destino (destination?) to throw a variable, and Origem (origin?) to grab it from a secondary script. Most of the time this works fine.


    However, I questioned why people had the same code copied and pasted for each upload button, instead of having a script to one side and passing it variables. So they said try it..

    I got my script, but then I realised I needed the response and request objects. For a file upload, these appear to be special and I dont think I can pass them around (something about not being serializable..?).

    Just thought I'd ask here if anyone has done anything like this.

    I'm working through a java framework, which I cannot change - so I am expecting the answer to be, you cant...

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  2. #2

    Thread Starter
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Java, origem, destino and request/response

    Nevermind - I fixed it.

    New day, new eyes.. I'd not passed the request / response properly (sigh)....

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width