Jsp Example: File Uploading »



FileUploading Using JSP(JAVA) This is an example of the file Uploading in Java using JSP . This file uploading concept Works with the Java as follows This Java  API parses InputStream of HttpPost request with multipart/form-data encode. By this Java API, only the single method call is enough for your file upload using jsp.In  this [...]

when do use application scope »



Application Scope If a single Java Bean Object that holds nothing specific to the client has to be used while processing multiple requests then we must use scope=”application” For every application there will be several application preferences/setting we can store the application preferences as part of a table in DataBase as part of an XML [...]

Define Precompile of Jsp page »



Q) How do you precompile a jsp page? A) To precompile a JSP page, access the page with a query string of ?jsp_precompile http://www.javagalaxy.com:8080/RMI/index.jsp?jsp_precompile the jsp page will not get executed by this action.

JSP Standard Questions »



Q) Can I invoke a JSP error page from a servlet? A) Yes, you can invoke the JSP error page and pass the exception object to it from within a servlet. The trick is to create a request dispatcher for the JSP error page, and pass the exception object as a javax.servlet.jsp.jspException request attribute. However, [...]