Create a folder for all your web applications
- On ocelot or weasel, change the permission of your ~ directory to 705
- From outside the network, type: OCELOT.AUL.FIU.EDU
- Your password may be:
- The first letter of your first name
- Your Panther ID
- The first letter of your last name
- Therefore: a1234567b
Structure of a Web Application
All web applications have a similar structure.
- The root directory of the web application.
- A subdirectory named WEB-INF. It is important that this is upper case, and that a hyphen is used, not an underscore.
- A web.xml file in the WEB-INF directory. There are two possiblities for the web.xml file
- Two subdirectories of WEB-INF All files should have permissions of 604. All directories should have permissions of 705.
- classes – place all java class files and packages here.
- lib – place java archives (jar) here. They will be available in the web app without being expanded.
- All files should have permissions of 604. All directories should have permissions of 705.
Create Two Web Apps
Create two web applications in the webapps folder
- ROOT – make sure this is upper case. Use the secure web.xml file. Change your-user-name to your ocelot user name.
- manager – use the manager web.xml file. This web.xml file is only to be used for the manager web application. Change your-user-name to your ocelot user name.
Test Your Webapp Folder
Test your webapp folder by running my script from
Test Webapps Folder
When this is compete, send me an e-mail message. You will received an email that lets you know what your URL is to access your web application folder. They will all be similar. For example, I have a web application folder at student01.cgs4854.cs.fiu.edu on port 8008. You will be given a similar URL. The only thing that will be different is the two-digit student number in the URL. You will use two URLs to access your folder:
http://studentXX.cgs4854.cs.fiu.edu:8008/– this is the URL for the ROOT web app.
http://studentXX.cgs4854.cs.fiu.edu:8008/manager/html– this is the URL to manage your web applications.
After you notify me, I will tell you what your two-digit student number is for your URLs.