Illegal child tag in c:import - c:set

G

goykhmanster

When I put JSTL c:set tag inside of JSTL c:import tag i get the
following stack trace:

javax.servlet.jsp.JspException: /jsp/account/../includes/tags.jsp:4:
Illegal child tag in "c:import" tag: "c:set" tag
Illegal child tag in "c:import" tag: "c:set" tag
at
com.caucho.jsp.QPageContext.handlePageException(QPageContext.java:666)
at
_jsp._templates._default__jsp._jspService(_default__jsp.java:461)
at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
at com.caucho.jsp.Page.subservice(Page.java:506)
at
com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
at
com.caucho.server.http.Invocation.service(Invocation.java:315)
at
com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:222)
at
com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:103)
at
com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:80)
at
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:9
7)
at
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
at
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:928)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:705)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
at
org.springframework.web.servlet.FrameworkServlet.serviceWrapper(FrameworkServlet.java:386)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:346)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
at
com.caucho.http.security.SecurityFilter.doFilter(SecurityFilter.java:115)
at
com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
at
com.caucho.server.http.Invocation.service(Invocation.java:315)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:536)


The funny thing is that other developers have same exact code working
on their machines and this code works in our deployment environments as
well. What am I doing wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top