We can download only three free chapters(Chapter 1, 2 and 3) from list in the following link to the book's official site... Even though there are links to all of the chapters, they are not real chapters... They all have the same message with diffirent filenames... Here is the link... http://www.jspbook.com/freechapters.jsp
Kevin Jones<br />Author: <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0321136497/jranch-20" target="_blank" rel="nofollow">Servlets and JSP: The J2EE Web Tier</a>
Ko Ko Naing
Joined: Jun 08, 2002
Hi Mr.Kevin, Are those articles the pages extracted from the book? I've used the above three PDF chapters for the SCWCD 1.4 Beta Exam and I hope that those articles in the link you provided are useful for the exam as well... Thank you for the great link, Mr. Kevin...
Under the heading "Compressing Content Using a Servlet Filter" of the article, I found the usage of GZIP to compress the content sent to the client's browser. Even though it's not supported by old browsers, it's worth to use... And it's very good to know about the java.util.zip.GZIPOutputStream class, which implements the GZIP function.... Thanks a lot for the link to Mcgill smith and for the article to Mr.Jayson Falkner...
Hello, i have recently added GZip compression in my web application. to do this i have used jbook.jar. The code is working fine except that the home page is coming in parts. Data in the home page is displayed in three horizontal tables, and each table is have some images. What is now happening is that first data of first table is displayed than second and than third. The page works fine if i desable the filters. I am confused, plz help
Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
These are useful filters. But I don't think EVERY Web app should have them. For a normal user behind a modem who's reading online catalog, they are great. But for a more dynamic app, that DB content changes constantly, caching on URI/Request will render "old" contents. Regards,
Tony Yan<br /> <br />IBM Certified Developer XML and Related Technology<br />Sun Certified Web Component Developer For J2EE Platform<br />Sun Certified Programmer For Java 2 Platform
let me add my 2 cents here. compression of the content is a great move if you assume that your client is a standard web browser. in case you deal with mobile devices for instance, it may not be the best option since they are not always capable of reading info that way. regards; .a
Joined: Sep 28, 2002
Originally posted by adam oczos:
in case you deal with mobile devices for instance, it may not be the best option since they are not always capable of reading info that way. regards; .a
Hello Adam, i think we r having check for that in the filters, only when the client is capable of reading compressed data than only we r sending data in compressed format, otherwise not.