Hi everyone! I need your help!! :S
I have an app that open a page(JSP) on a browser. I want it when i open the page, it executes some code and then close automatically. Can i do that?? if yes, how can i do that?? please i hope you can help me. :D

use javascript.
make a javascript function and call it by a onload event of body tag.
e.g. <body onlaod="load()">
at last in the function use window.close()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.