out.println(  );
}
}
public String getServletInfo() {
return  Create a page that displays the title of the database client
specified ;
}
}
C.5 Java servlet VBDOpen
import java.io.*;
//import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import lotus.domino.*;
import java.util.Vector;
public class VBDOpen extends HttpServlet {
String dbname= Redbooks ;
String host= bdtest3:8000 ;
String tm;
DateTime dt;
public void doGet (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
doService(req,res);
}
public void doPost (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
doService(req,res);
}
public void doService (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException
{
/* Get parameter name and value */
String docid=(String)req.getParameter( docid );
HttpSession sess=req.getSession(true);
String username = (String)sess.getValue( username );
try {
168
Linux Web Hosting with WebSphere, DB2, and Domino




  

Home

About Services Network Support FAQ Order Contact
 

Linux Web Hosting

Our partners:Jsp Web Hosting Unlimited Web Hosting Cheapest Web Hosting  Java Web Hosting Web Templates Best Web Templates PHP Mysql Web Hosting Interland Web Hosting Cheap Web Hosting PHP Web Hosting Tomcat Web Hosting Quality Web Hosting Best Web Hosting  Mac Web Hosting 

Lunarwebhost.net  Business web hosting division of Vision Web Hosting Inc. All rights reserved