This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi all, This is my problem: From my webApp A i've to call a resource ( a servlet )on another webApp B ( neither in the same ear file nor in the same Application server ) and I need to pass an .xml file as parameter ( not as attribute ). How can I do ?
Either have the XML stored on a shared database or a shared file sever of some sort and when you call the other webapp have it go get the file.
Another options is to have a servlet on App B handle a file upload post from App A.
Joined: Aug 02, 2006
Thanks Gregg... I don't have the .xml file stored anywhere but WebApp create it at runtime trasforming some JavaBeans into .xml file. I've in mind something like this:
create the .xml file in a .jsp ( using the classes of the framework which makes the trasformation JavaBean==> .xml file ) and make a submit ( calling the method post ) at loading the page... What's your point ?