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 servlet and JSP examples.CraigOn 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 servlet (or a java-class) or do you know of a library I could use.
 Thanks in advance Alexander


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.)

Probably not what you are looking for but its a start ...
-/Original Message-

No, I am afraid, I did not look at the samples. I will do that 
immediately.


-Original Message-
IIRC, Tomcat comes with just such a gadget, to display the sources for
the servlet and JSP examples.

Craig
-/Original Message-

Great, I'll check that out too.


I remember also some eclipse-plugins... so maybe I can come up with 
something.
In the best case we can pep up the source-code-servlet also for the 
sample-applications.


Thanks for the pointers
Alexander


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 the SourceCodeServlet in the simple examples?It doesn't format the source code but it basically shows the jsp as itwould look in a text editor (before the jsf tags are processed into
HTML.)Probably not what you are looking for but its a start ...-/Original Message-No, I am afraid, I did not look at the samples. I will do thatimmediately.-Original Message-
IIRC, Tomcat comes with just such a gadget, to display the sources forthe servlet and JSP examples.Craig-/Original Message-Great, I'll check that out too.I remember also some eclipse-plugins... so maybe I can come up with
something.In the best case we can pep up the source-code-servlet also for thesample-applications.Thanks for the pointersAlexander


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


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 servlet (or a java-class) or do you
 know of a library I could use.
 
 Thanks in advance
 Alexander