• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

JSP not being generated properly with SAX

 
Chicken Farmer ()
Posts: 1932
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm building a Document from an existing jsp page, which looks like the following:

A taglib then gets a ResultSet from a search, and uses the data from the set to build the list in the selection.
However, the jsp page comes out with square characters after many of the tags. It isn't until I remove these weird characters that I can actually view the page.
I've tried using jsp:text and the CDATA tag, but if I do that, I can't get the elements passed CDATA. I can get the jsp:text element fine, but if I do getChildren() on this element, it returns an empty list.
Anyone know how to correct this problem?
Thanks!
[ April 22, 2002: Message edited by: jason adam ]
 
jason adam
Chicken Farmer ()
Posts: 1932
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Very annoying, it was all because of return characters. That's what I get for editing my jsp/xml documents in notepad.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic