![]()
JSP and Servlet are new technologies that become quite popular lately. A student of mine, Tu Phan helped me install oc4j on my account so you can play around with these technologies.
If you want to install it by yourself, you can do it as well. You need to get the right version of software. Then it will work. Some tricky things are:
| The Oracle version that you have on your machine might work with only a few versions of oc4j. Be sure that you get the right version of oc4j. | |
| Each oc4j version requires certain version of JAVA. Java 1.3.xx can only work with oc4j version 9.xx. The latest version of oc4j requires Java 2.xxx or 1.4.xx | |
| Each oc4j version seems to differ from each others in the structure of the directories. So, stick with one if you are sure what you are doing. | |
| Each oc4j version seems to require a different version of jstl ... |
Getting the right version of each piece is not simple and might take time. The reward is that it will work :-) The cost is you do not know how long it takes to make it work.
I was told that if you use Oracle JDeveloper, you can avoid the above. However, I don't know when we can have Oracle JDeveloper installed and whether it is possible or not.
![]()
For those of you who like to play around with JSP and Java Sevlet codes, you can access the class submission website and follow the link Submit JSP Project Code to put your codes on the website and see how it works. You should use the same userid and password that you use to submit your homework/assignments.
To see how it works, access the link:
http://pilsner.cs.nmsu.edu:8888/examples/cs502/xxx-xxx/Code/yyy-yyy
where xxx-xxx is your user id and yyy-yyy is your file name.
For example, I have downloaded a JSP file called 'test.jsp' that inserts four people into a database, updates the first person, then deletes the second person from a table. I then submitted this file through the Submit JSP Project Code.
To see how it works, I access the link
http://pilsner.cs.nmsu.edu:8888/examples/cs502/tson/Code/test.jsp
because tson is my userid and test.jsp is the file name I have downloaded.
You can access http://pilsner.cs.nmsu.edu:8888/ to see a lot of JSP and Sevlet examples.
![]()
Email me if you have problems with uploading your file.
Last Updated: 10/12/2005