File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFS compression example query ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFS compression example query ?" Watch "HFS compression example query ?" New topic
Author

HFS compression example query ?

hasan khan
Ranch Hand

Joined: Aug 04, 2003
Posts: 222

i am using the compression filter example from HFS book, it is fine for normal JSP pages, but when i use <jsp:include> it is showing some binary data in the browser, i am using WebLogic Server 8.1 SP2 (servlet version 2.3)

i tried to use <dispatcher> in <filter> but i am getting error :

<Apr 4, 2005 6:47:11 PM GMT+05:30> <Warning> <HTTP> <BEA-101248> <[Application: 'D:\domains\rmmdo
main\applications', Module: 'rmmweb']: Deployment descriptor "web.xml" is malformed. Check agains
t the DTD: org.xml.sax.SAXParseException: Element type "dispatcher" must be declared. (line 22, c
olumn 14).>
Deb Sadhukhan
Ranch Hand

Joined: Nov 05, 2003
Posts: 67
Can you post your web.xml?


_ __ _ __ _ __ _<br />SCJP 1.4 (95%) | SCWCD 1.4 (79%)<br />Artificial intelligence is no match for natural stupidity.
Ganeshji Marwaha
Greenhorn

Joined: Sep 16, 2004
Posts: 27
The dispatcher element in the <filter> is introduced only as a part of Servlet 2.4 spec. So, i would assume that is the problem. You may be interested to try using some container which offers servlet 2.4 features...


-- Ganeshji Marwaha<br />SCJP<br />SCWCD<br />SCBCD<br />MCP, MCP+SB, MCSD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFS compression example query ?