![]() |
Quadcap Image Database |
Inheritance diagram for com.quadcap.app.dbimage.ActionLoad:

We load files into the database from a directory specified in the request. When we're done, we forward to either the "error" or the "show" page.
Definition at line 62 of file ActionLoad.java.
Public Member Functions | |
| ActionLoad () | |
| void | init (ServletConfig config) |
| void | service (HttpServletRequest request, HttpServletResponse response) throws Exception |
| Connection | getConnection () throws SQLException |
| void | forward (HttpServletRequest request, HttpServletResponse response, String page) throws ServletException, IOException |
Package Attributes | |
| ServletConfig | config |
Static Package Attributes | |
| final String | errorPage = "/error.jsp" |
| We've hard-coded the names of the result JSP pages; if we wanted more flexibility, we could make these configuration parameters. | |
| final String | successPage = "/show.jsp" |
|
|
Definition at line 72 of file ActionLoad.java. |
|
||||||||||||||||
|
Definition at line 119 of file ActionLoad.java. References com.quadcap.app.dbimage.ActionLoad.config, and com.quadcap.app.dbimage.ActionLoad.forward(). Referenced by com.quadcap.app.dbimage.ActionLoad.forward(), and com.quadcap.app.dbimage.ActionLoad.service(). |
|
|
Definition at line 113 of file ActionLoad.java. References com.quadcap.app.dbimage.ActionLoad.config, and com.quadcap.app.dbimage.DbImageServlet.getConnection(). Referenced by com.quadcap.app.dbimage.ActionLoad.service(). |
|
|
Implements com.quadcap.app.dbimage.Action. Definition at line 74 of file ActionLoad.java. References com.quadcap.app.dbimage.ActionLoad.init(). Referenced by com.quadcap.app.dbimage.ActionLoad.init(). |
|
||||||||||||
|
|
Definition at line 63 of file ActionLoad.java. Referenced by com.quadcap.app.dbimage.ActionLoad.forward(), and com.quadcap.app.dbimage.ActionLoad.getConnection(). |
|
|
We've hard-coded the names of the result JSP pages; if we wanted more flexibility, we could make these configuration parameters.
Definition at line 69 of file ActionLoad.java. Referenced by com.quadcap.app.dbimage.ActionLoad.service(). |
|
|
Definition at line 70 of file ActionLoad.java. Referenced by com.quadcap.app.dbimage.ActionLoad.service(). |