The Artima Developer Community
Sponsored Link

Java Buzz Forum
JSP XML syntax and well-formedness

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Brown

Posts: 636
Nickname: simonbrown
Registered: Jun, 2003

Simon Brown is a Java developer, architect and author.
JSP XML syntax and well-formedness Posted: Jul 9, 2003 2:22 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Simon Brown.
Original Post: JSP XML syntax and well-formedness
Feed Title: Simon Brown's weblog
Feed URL: http://www.simongbrown.com/blog/feed.xml?flavor=rss20&category=java
Feed Description: My thoughts on Java, software development and technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Simon Brown
Latest Posts From Simon Brown's weblog

Advertisement

One of the TagUnit users has been having some problems testing some content that gets generated from one of their tags. The test JSP is written using the JSP XML format instead of the regular syntax and it turns out that this was the problem.

The moral of the story? When using the JSP XML format to write your pages, don't forget to wrap up any content (that isn't well-formed XML, such as HTML) inside CDATA sections so that the JSP compiler ignores it. Alternatively, just use the much more succinct regular JSP format.

Read: JSP XML syntax and well-formedness

Topic: Now I have interceptors for Struts actions as well Previous Topic   Next Topic Topic: Development Process

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use