HTML-JSP-DB Com

HTML to JSP to DB s/w communications
-->For html to jsp communication use jsp file or url pattern either as href attribute value of <a> or action attribute value of form tags
  1. DBJspApp(EDWP)
  2. |-->webcontent
  3.       |-->input.html
  4.       |-->DBJsp.jsp
  5. |-->WEB-INF
  6.      |-->lib
  7.             |-->mysql driver
  8.      |-->web.xml
-->Don't place out.println in the code, always use expression tags
-->Don't hard code jdbc properties,collect them from web.xml file as init param values
-->Involve all the three life cycle methods of jsp
-->Use all the three scripting tags of jsp
Note: Refer DBJspApp or DBJspApp1 folder of downloaded workspace folder

Comments

Popular posts from this blog

Java Mail API

JSP Life Cycle

Project Architecture's