Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository was archived by the owner on Aug 17, 2018. It is now read-only.

Commit 0c4d240

Browse files
committed
javaee-jsp-api/issues54 Failed to compile jsp files in which custom tags are nested
1 parent 4134c36 commit 0c4d240

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

impl/src/main/java/org/apache/jasper/compiler/Generator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2660,6 +2660,7 @@ private void saveScriptingVars(Node.CustomTag n, int scope) {
26602660
String tmpVarName = JspUtil.nextTemporaryVariableName();
26612661
n.setTempScriptingVar(varName, tmpVarName);
26622662
out.printin(varInfos[i].getClassName());
2663+
out.print(" ");
26632664
out.print(tmpVarName);
26642665
out.print(" = ");
26652666
out.print(varName);
@@ -2684,7 +2685,8 @@ private void saveScriptingVars(Node.CustomTag n, int scope) {
26842685
}
26852686
String tmpVarName = JspUtil.nextTemporaryVariableName();
26862687
n.setTempScriptingVar(varName, tmpVarName);
2687-
out.printin("String ");
2688+
out.printin(tagVarInfos[i].getClassName());
2689+
out.print(" ");
26882690
out.print(tmpVarName);
26892691
out.print(" = ");
26902692
out.print(varName);

0 commit comments

Comments
 (0)