Sorry, I don't have time to look at this in detail at the moment, but it reminds me of an issue I had with OC4J (it looks like that's what you're using). See this Oracle forum post I made a while back:
http://forums.oracle.com/forums/thread.jspa?threadID=594677 It looks like you're running into an issue with a header whereas I was running into an issue with request attributes, but perhaps it's a similar bug. On Fri, Nov 21, 2008 at 12:19 PM, Ali Riza Saral <[EMAIL PROTECTED]> wrote: > Hi Ms/Mr, > > I am getting > 500 Internal Server Error > javax.servlet.jsp.JspTagException: > org.apache.taglibs.standard.tag.common.xml.UnresolvableException: > $header:ACCEPT-ENCODİNG > at > org.apache.taglibs.standard.tag.common.xml.XPathUtil.fillVarStack(XPathUtil.java:784) > at > org.apache.taglibs.standard.tag.common.xml.XPathUtil.selectNodes(XPathUtil.java:522) > at > org.apache.taglibs.standard.tag.common.xml.ForEachTag.prepare(ForEachTag.java:50) > at > javax.servlet.jsp.jstl.core.LoopTagSupport.doStartTag(LoopTagSupport.java:227) > at _books._jspService(_books.java:87) > [/books.jsp] > at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) > ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) > at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) > at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) > at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) > ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) > at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) > ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) > from::::::::::::::::::::::::::: > <?xml version="1.0" encoding = 'UTF-8'?> > <!DOCTYPE books [ > <!ELEMENT books (book)> > <!ELEMENT book (title,author,year,price)> > <!ELEMENT title (#PCDATA)> > <!ELEMENT author (#PCDATA)> > ]> > <books > > <book> > > <title>cobol</title> > <author>roy</author> > </book> > <book> > <title>java</title> > <author>herbert</author> > </book> > <book> > <title>c++</title> > <author>robert</author> > </book> > <book> > > <title>coldfusion</title> > <author>allaire</author> > </book> > <book> > <title>xml unleashed</title> > <author>morrison</author> > </book> > <book> > <title>jrun</title> > <author>allaire</author> > </book> > </books> > > with::::::::::::::::::::::::::::::::::::::::: > <%@ page contentType="text/html; charset=UTF-8" %> > <!DOCTYPE HTML PUBLIC > "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> > <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %> > <html> > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> > <body> > <x:parse var="doc" > > <c:import url="books.xml" /> > <% System.out.print("importttttttttttttt\n");%> > </x:parse> > -----------------------------------------------<br> > <x:forEach var="n" > > select="$doc/books/book"> > <% System.out.print("foreachhhhhhhhh\n");%> > <x:out select="$n/title" /> > <br> > <x:out select="$n/author" /> > <br> > ======== > <br> > </x:forEach> > </body> > </html> > > > I have done everything within my mental health but I can not get > rid of this error. > > Could you please help me in regards to this matter. > Kind regards. > Ali R+ SARAL > > > Tel : 0090-216-474 88 18 > Addr: Barbaros Mah. Sedef Sk. Onur Sit. 13/13 > Üsküdar / ISTANBUL > TURKEY > Blog: Large Systems and ATC (English & Turkish) > http://largesystems-atc.blogspot.com/ -- Kris Schneider <mailto:[EMAIL PROTECTED]> directThought <http://www.directThought.com/>