OT: jsp-xml sent to client

Just curious: is it normal, that when using jsp with the XML syntax, the
is sent to the browser? I'd expected it to be interpreted by the server (here Tomcat 5.5) and only the ]]> tags been sent to the client.
Thanks in advance.

Tom

0
3 comments
Avatar
Permanently deleted user

I have following file 'foo.jspx':

Title Text comes here When showing it with http://localhost:8080/foo.jspx, the output looks OK: Title Text comes here but when using the JSF-URL http://localhost:8080/foo.jsf, the output looks like this: Title Text comes here ]]>


Thanks in advance.

Tom

0
Avatar
Permanently deleted user

Looks like a problem with the JSF configuration. Could you post your web.xml?
Anyway, here's my web.xml which works OK with JSPX and JSF (MyFaces), maybe it
helps.

Sascha



Attachment(s):
web.xml
0
Avatar
Permanently deleted user

While trying to set up a very minimum example using one page and the same
faces-config.xml and web.xml from the previous test, it suddenly works as
expected. Very mysterious! Though thanks for answering.

Tom

0

Please sign in to leave a comment.