Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I've do a talend project that used tJava , I have a variable in my tJava and I want to change this dynamically by my application url.
So, How to change dynamically tJava content via an application request?
Example :
url : https://localhost:80/haha?name='Joe'
tJava code :
String name = ?How to take the url value : "name=Joe"?;
Thank you for your responses
Hi Mialy,
Are you trying to call this job from any url? Or is there any separate batch process which will call the job containing the tjava component you have mentioned?
Could you please give some more details about the flow you are trying to create so that we can help you better. If you are fine, could you please also share a screen shot of your current job flow?
Warm Regards,
Nikhil Thampi
Yes, I'm trying to call this job from any url.
So, I explain my problem to you. I have an web application. When I clic a button from this application, it sends an url like this :
"https://localhost:80/appli?name='Opel'"
So I want to take this parameter "name" and after I want to set it in my tJava, like that :
context.name = "Opel"
My question is , how to set this parameter value in the context.
Here is my job's picture.