All Packages Class Hierarchy This Package Previous Next Index
Class Utils.HtmlUtils
java.lang.Object
|
+----Utils.HtmlUtils
- public class HtmlUtils
- extends Object
-
HtmlUtils()
-
-
AdminLoginScreen(PrintWriter, HttpServletResponse)
- The following function prints a screen when the user ADMIN logs in.
-
ConvertDate(ResultSet, ResultSetMetaData, String, int)
-
-
Footer(HttpServletResponse)
-
-
getcheckbox(ResultSet, ResultSetMetaData)
- this function is to generate the checkboxes for delete and update
-
getGroupString(Vector)
- this function returns the html tags to get a multivalued checkbox
-
Header(HttpServletResponse)
-
-
LoginScreen(PrintWriter, HttpServletRequest, HttpServletResponse)
- The following function prints a screen when the user logs in.
-
PrintTable(ResultSet, PrintWriter)
- This function is for printing the result Set table
-
toHTML(Vector)
-
-
toHTMLDelete(String, Vector)
-
-
UpdateTuples(String[][], PrintWriter)
- The following function takes a table as a 2-d array
and prints a form where the values of the table can be
updated.
HtmlUtils
public HtmlUtils()
Header
public static String Header(HttpServletResponse response)
Footer
public static String Footer(HttpServletResponse response)
PrintTable
public static void PrintTable(ResultSet rs,
PrintWriter toClient) throws SQLException
- This function is for printing the result Set table
UpdateTuples
public static void UpdateTuples(String tuples[][],
PrintWriter pw)
- The following function takes a table as a 2-d array
and prints a form where the values of the table can be
updated.
getcheckbox
public static String getcheckbox(ResultSet rs,
ResultSetMetaData rsmd) throws SQLException
- this function is to generate the checkboxes for delete and update
LoginScreen
public static void LoginScreen(PrintWriter toClient,
HttpServletRequest request,
HttpServletResponse response)
- The following function prints a screen when the user logs in.
AdminLoginScreen
public static void AdminLoginScreen(PrintWriter toClient,
HttpServletResponse response)
- The following function prints a screen when the user ADMIN logs in.
ConvertDate
public static String ConvertDate(ResultSet rst,
ResultSetMetaData rsmd,
String format,
int i)
toHTMLDelete
public static String toHTMLDelete(String name,
Vector table)
toHTML
public static String toHTML(Vector table)
getGroupString
public static String getGroupString(Vector vec)
- this function returns the html tags to get a multivalued checkbox
All Packages Class Hierarchy This Package Previous Next Index