wood burning stoves 2.0*
The moose likes Servlets and the fly likes An On-Line Travel Agent -- An Example That Integrates Servlets and JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "An On-Line Travel Agent -- An Example That Integrates Servlets and JSP" Watch "An On-Line Travel Agent -- An Example That Integrates Servlets and JSP" New topic
Author

An On-Line Travel Agent -- An Example That Integrates Servlets and JSP

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I am self studying Marty Hall's book entitled "Core Servlets and JavaServer Pages". The "An On-Line Travel Agent" example in Chapter 15 (Listings 15.2 to 15.9, pp. 360-375) is close to real office work (I think). Source codes can be downloaded from www.coreservlets.com
I have tried many time and can not get paths and directories right. And therefore can not connect the first HTML page to the rest of the pages.
I would like to learn from those who have worked out this example. Please respond. I am not employed now. I may be required to do something similar at office someday after I start working.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
What is your working environment? Especially, which servlet / JSP engine are you using?
For definative information on the directory setup for servlet/JSP applications, download the servlet 2.2 API from java.sun.com
Bill
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
Mr. Brogden:
Thank you very much for responding to my posting. I am using the Weblogic 5.1.0. I "think" that I have figured out the paths of this specific example. However, my current problem is with "internal server error" message. The message indicates something is wrong with the source code. All the source codes are downloaded directly from the web site. I am really stuck now.
 
wood burning stoves
 
subject: An On-Line Travel Agent -- An Example That Integrates Servlets and JSP