Re: [OT] Java-/JSP-source displaying servlet

2005-07-22 Thread Martin Marinschek
it turns out that the Tobago people have something like that in their demo app. I am going to ask them how they do it. regards, MartinOn 7/22/05, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]> wrote: -Original Message-From: Sean Schofield [mailto: [EMAIL PROTECTED]]I assume you have seen

RE: [OT] Java-/JSP-source displaying servlet

2005-07-22 Thread Jesse Alexander (KBSA 21)
-Original Message- From: Sean Schofield [mailto:[EMAIL PROTECTED] I assume you have seen the SourceCodeServlet in the simple examples? It doesn't format the source code but it basically shows the jsp as it would look in a text editor (before the jsf tags are processed into HTML.) Probabl

Re: [OT] Java-/JSP-source displaying servlet

2005-07-22 Thread Martin Marinschek
no, sorry, there might be something like this in Jalopy, though? but if you do something like that - it would make a great component for MyFaces ;) regards, MartinOn 7/22/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: IIRC, Tomcat comes with just such a gadget, to display the sources forthe se

Re: [OT] Java-/JSP-source displaying servlet

2005-07-21 Thread Craig McClanahan
IIRC, Tomcat comes with just such a gadget, to display the sources for the servlet and JSP examples. Craig On 7/21/05, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]> wrote: > Hi > > for a sample-webapp I need a servlet that can render > formatted java- and jsp-sourcecode. > > Has somebody such a

Re: [OT] Java-/JSP-source displaying servlet

2005-07-21 Thread Sean Schofield
I assume you have seen the SourceCodeServlet in the simple examples? It doesn't format the source code but it basically shows the jsp as it would look in a text editor (before the jsf tags are processed into HTML.) Probably not what you are looking for but its a start ... sean