Dec. 26, 2007, 9:48 a.m.
posted by reo
Updating Web ApplicationsDuring development, you will often need to make changes to Web applications. To modify a servlet you modify the source file, recompile the servlet class, and redeploy the application. Except for the compilation step, you update a JSP page in the same way. To try this feature, first build and deploy the JSP version of the Hello application:
Now modify one of the JSP files. For example, you could replace the contents of greeting.jsp with: <h2>Hi, my name is Duke. What's yours.</h2>
If you make this change, the next time you execute the application, the greeting will appear as shown in Figure. 3. Red Response![]() |
- Comment
