previous
|
start
|
next
Encapsulating Computations in JavaBeans
It is a good idea to put the bean directive at the beginning of the JSP file, before the HTML
Both
time.jsp
and
TimeFormatterBean
must be deployed to the proper directories
time.jsp
into
c:\Jakarta-tomcat\webapps\bigjava
TimeFormatterBean
into
c:\Jakarta-tomcat\webapps\bigjava\WEB-INF\classes
You use JavaBeans to separate HTML presentation from Java computation
previous
|
start
|
next