aspose file tools
The moose likes JSP and the fly likes request not forwarding... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "request not forwarding..." Watch "request not forwarding..." New topic
Author

request not forwarding...

Bryce Martin
Ranch Hand

Joined: Nov 19, 2007
Posts: 269
"[Servlet Error]-[/POCust.jsp(1,1) /POCust.jsp(1,1)The markup in the document preceding the root element must be well-formed.]"



I have a jsp that has a template applied to it. The first line of the template is...


That way I can use the JSTL core library because I'm doing a nice little <c:forEach> later on. But this keeps giving me this error every time I forward over to my .jsp page from my servlet. Does anybody know exactly what this means or a common mistake that would cause this? There isn't any code on my .jsp before the root except the template insert tag.


I would think that this is legal...right?
[ November 29, 2007: Message edited by: Bryce Martin ]
Bryce Martin
Ranch Hand

Joined: Nov 19, 2007
Posts: 269
I got rid of that first xml reference and just did a


to include the tablib for the jstl tags.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56224
    
  13

Originally posted by Bryce Martin:
I have a jsp that has a template applied to it.

I don;t know what you mean by this.

To enable the core JSTL library on your page you should be using a taglib directive.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: request not forwarding...
 
Similar Threads
JSTL & Servlet-mappings in web.xml
JSTL not executing
Unable to Resolve JSTL taglib Declaration
Error coming while using c:out tag in JSTL
can't run jstl in jsp