Use the code tag.
It's like HTML, but with [ and ] instead of < >.
So, code and /code surrounded by [ and ] (You can see how I'm dodging using the actual tag)
[code]
// here's an example
<h1>Login</h1>
<jsp:doTagThing xyz="abc"/>
public void yahoo() {
int a = 1;
...
}
[/code]
[Message sent by forum member 'whartung']
http://forums.java.net/jive/thread.jspa?messageID=470347