Nada Bajnaid wrote:I tried using href with onClick but my method consumedLO never reached I used the following code:
Nada Bajnaid wrote:Can I call a servlet that will call the java method then go to the website without any more clicks. In this case I will pass the address of the website to the server through the href.
Is this the right way?
Nada Bajnaid wrote:Yes it external website. Can I call another servlet passing the address of the link through the href. then in the new servlet I call the java method passing to it this address. After that I use go to go to the link.
Is it right way?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |