Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The content is not allowed in prolog.

843834Nov 17 2003 — edited Jun 2 2009
I keep getting this error and I cannot figure out why???
Is this error generic or is it specific??
I have a simple program that checks the tag name of the first element in a xml file. It runs fine on my local machine, however when I put it on the server and access it via a servlet it throws that exception. I use the same xml file that I tested it with on the local machine so if it works on the local machine with that same file but breaks on the server, what could it be???
If anyone has any suggestions I would appreciate it, cause this has been bugging me.
Although the code is rather simple I can still post it if needed.

thank you,
Peyman M.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2009
Added on Nov 17 2003
18 comments
2,846 views