hello friends,
now i am going to describe the problem i am phasing
actually i have embedded japplets in a
jsp page(appletjsp) and want to communicate japplets indeed jsp to a
servlet in the diffrent derectory but in same context root.
moreover, i have written code at
applet and servlet side both. actually there is a next button in one of japplets(embedded in appletjsp) and i have written the code(for servlet communication) inside button's mouse clicked event. and at servlet side, as usual i have got an inputstream from request and want to forward this request(after getting request dispatcher) to another jsp page. actually i am proposing to run this jsp page after clicking next button from appletjsp .
now the problem that made me a bit confused is that when i click next button after running jsp page(containing japplets) then neither there is any error/exception at server/IE's sun
java console nor any effect of code at servlet side.
actually i am not sure that the servlet side code does not make any effect rather it is ony my assumption.
although i am very new in java and as what i know, to send back response to client side, servlet class needs to be run at server side and probabbly for that there must be a sepreat request from client's applet to server(please dont flame me if i am wrong).
so please tell me how can i get another jsp page(to which i trying to get request dispatcher)running after clicking next button?
applet code:
servlet code:
although this topic has been made too long, even then please fix my problem.
thanks