Explore BrainMass

Explore BrainMass

    Applet Servlet Communication In Java

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Communicating with a servlet from an applet can be quite an ordeal if you dont know the
    nitty gritties. Here are some tips which should make it pretty straight forward.

    © BrainMass Inc. brainmass.com February 24, 2021, 2:08 pm ad1c9bdddf

    Solution Preview

    The servlet has two methods: the doGet and the doPost

    From the applet side:
    You have to first open a URLConnection object with the servlet

    Now, once ...

    Solution Summary

    Communicating with a servlet from an applet is advised. Tips to make communicating with a servlet from an applet are provided.