jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31701] New: - standard-examples 'ShowSource.jsp' doesn't show Sources
Date Wed, 13 Oct 2004 11:15:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31701>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31701

standard-examples 'ShowSource.jsp' doesn't show Sources

           Summary: standard-examples 'ShowSource.jsp' doesn't show Sources
           Product: Taglibs
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Unknown Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: joachim.kessel@bov.de


I've got a little Problem with the 'ShowSource.jsp' which
is called using the 'screwdriver' icon from the 'standard-examples'.

The page doesn't show any source code, what I get (on every page) is the
following output (e.g.):
--- snip ---
Source code for:  /elsupport/Out.jsp

${reader}
--- snap ---

The expression '${reader}' doesn't seem to get evaluated.

Does somebody have an idea why this could happen ?

Here's my setup:

Windows 2000
Jakarta Tomcat 4.1.30
Jakarta Taglibs 1.0.6
Jakarta Struts 1.2.4

I've posted this problem to the 'taglibs-user' Mailing List and 'Kris Schneider'
wrote the following:
--- snip ---
This definitely looks like a bug in 1.0.6. The problem is with the handler for
the <ex:escapeHtml> tag:
org.apache.taglibs.standard.examples.taglib.EscapeHtmlTag. In 1.0.5, it appears
to properly evaluate EL expressions. However, for 1.0.6, it looks like a 1.1
version leaked in so that EL expressions are no longer evaluated by the
handler.
--- snap ---

Today I used the 'EscapeHtmlTag.java' from version 1.0.5 and after rebuilding
the 'standard-examples.war' file the 'ShowSources.jsp' file correctly prints the
Source code of any example.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message