Hi - I have a jsp page and I had a link when some one clicks on that link
it should open a pop up page.
so I wrote the code as below
<li ><a href="#" onClick="MyWindow=window.open('jsp/addProcess.jsp','MyWindow',width=600,height=300); return false;">Click Here</a></li>
This looks good but i had two problems
1) I don't like calling another JSP, it's like opening another page. instead can I have a simple nice popup (without new jsp page) i mean something like a pop up window what you use for alert box
2) How to send the data from the main jsp page to popup window