PluginApplet.jsp Page that demonstrates the use of jsp:plugin. Requires you to compile and install PluginApplet.java, TextPanel.java, DrawingPanel.java, and WindowUtilities.java Since these are classes sent to the client to used by applets, the .class files should be in the same directory as the JSP page, not in the WEB-INF/classes directory where classes the server uses go. …
Category: Root
Aug 10
Razor syntax and MVC application demo
Razor syntax and MVC application demo [youtube http://www.youtube.com/watch?v=Oi-isA8qdw0&w=560&h=315]
Aug 10
BGColor.jsp Page that demonstrates JSP scriptlets. Uses the JSP-Styles style sheet.
BGColor.jsp Page that demonstrates JSP scriptlets. Uses the JSP-Styles style sheet. <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> <!– Taken from Core Web Programming Java 2 Edition from Prentice Hall and Sun Microsystems Press, . May be freely used or adapted. –> <HTML> <HEAD> <TITLE>Color Testing</TITLE> </HEAD> <% String bgColor = request.getParameter(“bgColor”); boolean …
Aug 10
Excel.jsp Page that demonstrates the use of JSP to build Excel spreadsheets
Excel.jsp Page that demonstrates the use of JSP to build Excel spreadsheets First Last Email Address Marty Hall hall@corewebprogramming.com Larry Brown brown@corewebprogramming.com Bill Gates gates@sun.com Larry Ellison ellison@microsoft.com <%@ page contentType=”application/vnd.ms-excel” %> <%– There are tabs, not spaces, between columns. –%>
Aug 09
Expressions.jsp Page that demonstrates JSP expressions. Uses the JSP-Styles style sheet.
Expressions.jsp Page that demonstrates JSP expressions. Uses the JSP-Styles style sheet. <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> <!– Example of JSP Expressions. Taken from Core Web Programming Java 2 Edition from Prentice Hall and Sun Microsystems Press, . May be freely used or adapted. –> <HTML> <HEAD> <TITLE>JSP Expressions</TITLE> <META NAME=”keywords” …
Aug 09
ImportAttribute.jsp Page that demonstrates the import attribute of the page directive. Uses the ServletUtilities class
ImportAttribute.jsp Page that demonstrates the import attribute of the page directive. Uses the ServletUtilities class (Check Servlet Section) <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> <!– Example of the import attribute of the page directive. Taken from Core Web Programming Java 2 Edition from Prentice Hall and Sun Microsystems Press, . May be freely used …
Aug 08
Some questions and answers on SQL and MS SQL Server
Some questions and answers on SQL and MS SQL Server https://youtu.be/LsCPnY3MKnA
Aug 08
QueryViewer.java: An interactive database query viewer
# QueryViewer.java An interactive database query viewer. Connects to the specified Oracle or Sybase database, executes a query, and presents the results in a JTable. Uses the following file: * DBResultsTableModel.java Simple class that tells a JTable how to extract relevant data from a DBResults object (which is used to store the results from …
