|
-
Nov 8th, 2016, 02:56 PM
#1
Thread Starter
Don't Panic!
[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...
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|