This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat 4.0.4 bin - code and compiled example Request Header doesn't match ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat 4.0.4 bin - code and compiled example Request Header doesn Watch "Tomcat 4.0.4 bin - code and compiled example Request Header doesn New topic
Author

Tomcat 4.0.4 bin - code and compiled example Request Header doesn't match ?

Martin Clausen
Greenhorn

Joined: May 15, 2001
Posts: 14
Just downloaded the Tomcat 4.0.4 bin - installs like a charm on my XP Pro box - beautiful job by the Apache people.
One strange thing though:
I a quite a newbie to Java/Servlets/JSP but I hope I am right on this one.
Does the code and the compiled version of the servlet example "Request Header Example" match ?
The code(appears if you push the screwdriver in the upper right hand corner) seems to produced a quite crude text output while running the compiled example produces a html table with a gray background behind the header names.
Cheers,
Martin
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

If you look in the actual code in '<tomcat_install>\webapps\examples\WEB-INF\classes\RequestHeaderExample.java' you'll see how it is made.
The sample you see by clicking the screwdriver in the upper right hand corner it just a html-file.
/Rene
[ July 16, 2002: Message edited by: Rene Larsen ]

Regards, Rene Larsen
Dropbox Invite
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomcat 4.0.4 bin - code and compiled example Request Header doesn't match ?
 
Similar Threads
Annonymous Inner class problem
Installation of Tomcat
Can't Get Tomcat 4.1.18 running
Starting in JBoss Fails ;-(
servlet-mapping