Displaying 2 results from an estimated 2 matches for "usebean".
Did you mean:
usebar
2008 Jun 17
4
Formating Date Field
First.jsp
------------------
<jsp:usebean id="db" class="db.dbClass" scope=session/>
<html>
<body>
<form action="MyAction.jsp" method="post">
<% ResultSet rs=db.executeQuery("select no,name from mytable");
while(rs.next())
{%>
<input type=checkbox value=<%=r...
2006 Apr 17
0
doing synchronous JSON on rails
...va in the past, and in order to make
synchronous calls I had to do the following:
1) include json.js
<script type="text/javascript" src="jsonrpc.js">
<script type="text/javascript" src="myapp.js">
2) add the json object to the page:
<jsp:useBean id="JSONRPCBridge" scope="session class="com.metaparadigm.jsonrpc.JSONRPCBridge" />
3) in the jsp, register a json object as an object that can be called
from the javascript of the page
<% JSONRPCBridge.registerObject("myTestObject", aTestObject); %>...