How can I invoke an RMI Server from a in JSP page?

Serge Knystautas

Just about whatever you can do in a Java app, you can do in a JSP. Here's a simple JSP that calls a method on an RMI server object:

<%@ page import="java.rmi.*,myrmipackage.*" %>
  MyRemoteObject serverobj=null ;

  public void jspInit() {
    serverobj = (MyRemoteObject)Naming.lookup

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact