Need suggestion!
Now i created a popup windows with HTML based on the main page, there is an input text area and a search button in the popup window, after i click the search button, i need to execute some jsp code to take data from backend and display the result on the same popup windows, is there somebody can help me doing that? following is my basic source code, but it doesn't work.
<--Code-->
<html>
<%@ page import="java.util.*, java.rmi.*" %>
<title>Stock Symbol Lookup</title>
<head></head>
<body>
<%
Collection collection = new ArrayList();
%>
<FORM>
<table cellspacing="0" cellpadding="0" >
<tr valign="middle" align="center" width="90" height="35" bgcolor="#c0c0c0"><a style="color:#000000;font-weight:bold;"><font size="4">Stock Symbol Lookup</font></a></tr>
</table>
<tr>
<td><font size="3" color="#000000">Enter a Company Name: </font>
<INPUT TYPE="Text" name="lookUpId" value=""></td>
<td><INPUT TYPE="button" value="Look it up!"
onclick = "javascript:
<%
//todo, look up data from the backend.
%>">
</td>
</tr>
</FORM>
<%
if(collection.size() > 0)
out.println("the size of collectiion is" + collection.size());
%>
</body>
</html>

