aspose file tools*
The moose likes JSP and the fly likes request not forwarding... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
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: 61606
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: request not forwarding...