C.2 Java servlet VBDList10
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import lotus.domino.*;
import java.util.Vector;
public class VBDList10 extends HttpServlet {
String viewname= platform sorted ;
String dbname= Redbooks ;
String host= bdtest3:8000 ;
String category=null;
String tm, dumb;
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 {
String catcat = null;
int no;
Vector listParam = new Vector();
/* Get parameter name and value */
for (Enumeration e=req.getParameterNames(); e.hasMoreElements(); ) {
String param = (String)e.nextElement();
String paramValue = (String)req.getParameter(param);
listParam.addElement(paramValue);
}
for (int i=0; i
{
catcat = (String) listParam.elementAt(i);
if (catcat.equals( item1 )) category =  AS/400 ;
160
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