Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000390 [Resin] minor always 09-20-05 00:00 11-30-05 14:42
Reporter agrebnev View Status public  
Assigned To
Priority immediate Resolution fixed  
Status closed   Product Version 3.0.14
Summary 0000390: JSP 1.2 Tag inside JSP 2.0 Tag
Description RSN-436
Hello

I am project owner of Blandware AtLeap (https://atleap.dev.java.net). [^] AtLeap works correctly under 9 application servers (Tomcat, Weblogic, Websphere etc.). But it does not work under Resin 3.0.14. My developer has already tried to submit this bug (http://www.caucho.com/bugtrack/browse/RSN-376) [^] to you but it looks like you ignore it. Special for you I have written sample web application (see attachment) which demonstrates this bug.

The idea of bug is that Resin generates the java from JSP which cannot be compiled. Resin does not support correctly jsp12tag (extends TagSupport) inside jsp20tag (extends SimpleTagSupport) if before it there is the the same jsp20tag with simple text body e.g.

<atleap:jsp20tag>
    Some text
</atleap:jsp20tag>

<atleap:jsp20tag>
   <atleap:jsp12tag/>
</atleap:jsp20tag>

As result we have the following error

500 Servlet Exception
/index.jsp:15: cannot resolve symbol
symbol : variable _jsp_JSP20Tag_0_adapter
location: class _jsp._index__jsp
      _jsp_JSP20Tag_0_adapter = new javax.servlet.jsp.tagext.TagAdapter(_jsp_JSP20Tag_0);
      ^
/index.jsp:15: cannot resolve symbol
symbol : variable _jsp_JSP20Tag_0_adapter
location: class _jsp._index__jsp
      _jsp_JSP20Tag_0.setJspBody(_jsp_fragment_1 = _CauchoFragment.create(_jsp_fragment_1, 1, pageContext, _jsp_JSP20Tag_0_adapter, null));
                                                                                                           ^
2 errors
com.caucho.java.JavaCompileException: /index.jsp:15: cannot resolve symbol
symbol : variable _jsp_JSP20Tag_0_adapter
location: class _jsp._index__jsp
      _jsp_JSP20Tag_0_adapter = new javax.servlet.jsp.tagext.TagAdapter(_jsp_JSP20Tag_0);
      ^
/index.jsp:15: cannot resolve symbol
symbol : variable _jsp_JSP20Tag_0_adapter
location: class _jsp._index__jsp
      _jsp_JSP20Tag_0.setJspBody(_jsp_fragment_1 = _CauchoFragment.create(_jsp_fragment_1, 1, pageContext, _jsp_JSP20Tag_0_adapter, null));
                                                                                                           ^
2 errors
    at com.caucho.java.InternalCompiler.executeInt(InternalCompiler.java)
    at com.caucho.java.InternalCompiler.compileInt(InternalCompiler.java:79)
    at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:101)
    at java.lang.Thread.run(Thread.java:534)


I this it is very critical bug and it should be fixed as soon as possible.

Best regards.
Andrey Grebnev
http://www.jroller.com/page/agrebnev [^]
Additional Information Resin 3.0.14, Sun JDK 1.4.2_04
Attached Files

- Relationships

- Notes
(0000448)
ferg
09-20-05 00:00

jsp/18ei
 

- Issue History
Date Modified Username Field Change
09-20-05 00:00 agrebnev New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:42 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker