I'm calling srvlet from an applet using the following code. I've kept a debugger on the srvlet which is expecting the call. When the call is fired, no call came to the server. When I ran the same through the normal browser it is working. Should I run the applet from the browser to make a server call? or can I run the applet by clickin on the run button in the eclipse and make a server call from here?
I'm new to Java images/IO. I've an api which gives me Image object, All I need to do is save the Image onto the server. So, Applet gets an image from the sanner api, the api returns Image object. I need to serialize this and send this to the servlets. Now the servlet has to save this onto the filesystem. Could you help me through this process?
I've done java programming before. But, I'm not sure if i can call a scanner(or any other programme which is outside the tomcat and in the same system) which is attached to the server from the Tomcatserver Java Spring application. I have the API which can take care of calling the scanner. But, can it be done is the question?