Recently I got a hosting package with jsp capabilities that are running under Tomcat 5.5.16. I think the server is running just fine because the following .jsp file give the output "2 + 2 = 4":
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core
2 + 2 = <%= 2 + 2 %>
The servlet engine document directory is as follows:
My problem is that I've read about the deployment directory structure several times without fully implementing an example. I think a good resource about the server/deployment environment is at:
What I want to do is setup a simple app that is making use of packages and/or libraries so that I can get the hang of this structure. For instance, the following example by weblogic has a Calendar.jsp file that uses the CalendarBean class to do a simple page that displays a calendar. I've tried it a couple of ways but I keep getting errors. I don't think it would help to list them because I would like to learn from a clean example.
Could someone please provide either a link to or an example of creating a simple application where the meat of the example is in the using the deployment structure to load classes, libraries and packages as opposed to the code itself. Thank you very much.