Well, I am trying to learn how to communicate to
servlet from applet.I have build an
applet containing a text field and a button.When I press the button The text field value would be sent to a servlet where it will be displayed.But when I press the button nothing happens. I am giving the layout of my files and code fragments where I suspect I have made mistakes.
Layout of files: I got a web dynamic project "Test" there I have a package"pkTwo" which contrains the servlet "MyServlet.java" For the Applet I used a normal
java project and made a jar file and kept it in the "webContent"
along with my
jsp which calls the applet using this jar.
heres the method(From my Applet) used for my buttons listener to send the
string of text field
here is the doGet() of my servlet
and heres is the web.xml code
What are the mistakes I have made?please let me know