Bug 104132 - BebopApplicationServlet doesn't support output=xml , developer support stages, etc
Summary: BebopApplicationServlet doesn't support output=xml , developer support stages...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: other
Version: nightly
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-10 12:38 UTC by Daniel Berrangé
Modified: 2007-04-18 16:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-10-03 12:44:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2003-09-10 12:38:57 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20030314

Description of problem:
The BebopApplicationServlet class uses its own custom XSLT transfomration code
instead of the standard PresentationManager APIs. As a results if your app uses
this class for serving requests there will be a number of problems:

* ?output=xml to view RAW XML document
* ?output=xsl to download XSLT files as JAR
* The XSLT 'encoding' output property is not set
* The character set encoding on the Writer is never set
* Setting of default cache control headers

To elminate these problems & achieve consistency across all applications in the
system BebopApplicationServlet should be changed to use the standard
presentation APIs & implementations.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Uncomment getServletPath in Forum.java
2. Redeploy code
3. Try requesting /forum/index.jsp?output=xml
    

Actual Results:  Continues with normal display

Expected Results:  Shows raw XML

Additional info:

Comment 1 Daniel Berrangé 2003-09-26 18:57:15 UTC
I fixed this in 36402 since it is really killing developers trying to write
applications with the new servlets & it is unlikely that the refactoring the
stuff in PageTransformer will happen in the near future.



Note You need to log in before you can comment on or make changes to this bug.