tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels Gron" <ndg...@hotmail.com>
Subject Re: some cool hacking projects...
Date Thu, 14 Oct 1999 17:53:50 GMT
This is very basic util JSP that I use ... it is a work in progress, but it 
is kind of cool.

Niels

> >From: Paul Hart <jakarta_apache@yahoo.com>
> >Reply-To: tomcat-dev@jakarta.apache.org
> >To: general@jakarta.apache.org, tomcat-dev@jakarta.apache.org
> >Subject: Re: some cool hacking projects...
> >Date: Thu, 14 Oct 1999 07:45:17 -0700 (PDT)
> >
> >This sounds like an interesting initial challenge, but
> >one question: where are the details on getting hold of
> >the sources? they're not published on the website, and
> >there was no mention of this in the 'welcome' mails
> >from ezmlm.
> >
> >Just a simple one to start with :)
> >
> >Paul
> >
> >
> >--- "Anil K. Vijendran" <akv@eng.sun.com> wrote:
> > > While we're all waiting for the code to go public
> > > etc, here's something
> > > that you could take on and do if you have time and
> > > are interested. It
> > > would be awesome to:
> > >
> > >   1. Have a pretty printer for JSP files. Something
> > > that takes JSPs and
> > >      generates legal html would be perfect. You can
> > > actually use the
> > >      code for the JSP engine in tomcat for this too.
> > >   2. Emacs mode for JSP. (Beer's on me, if you're
> > > interested!)
> > >   3. If you have any interesting JSP or Servlet
> > > examples and don't mind
> > >      sharing it (it would be part of the tomcat and
> > > Apache releases
> > >      eventually), please send them over.
> > >
> > > --
> > > Peace, Anil +<:-)
> > >
> > > PS: Reply to tomcat-dev@jakarta.apache.org
> > >
> > >
> > >
> >---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > general-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > > general-help@jakarta.apache.org
> > >
> > >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Bid and sell for free at http://auctions.yahoo.com
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> >
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
>
>
>_______________________________________________________
>Get Visto!  Groups, event calendars, email, and more...
>Check it out @ http://www.visto.com/info
>
>
>------VistoMail939932403550
>Content-Type: text/html;
>	name="vmmonitor.jsp"
>Content-Transfer-Encoding: base64
>
>PGh0bWw+DQoNCjxoZWFkPg0KPHRpdGxlPlZpcnR1YWwgTWFjaGluZSBNb25pdG9yPC90aXRs
>ZT4NCjwvaGVhZD4NCg0KPCVAIHBhZ2UgbGFuZ3VhZ2U9ImphdmEiIGltcG9ydD0iamF2YS51
>dGlsLiosamF2YS50ZXh0LiosamF2YS5sYW5nLioiICU+DQoNCjwlDQoJU3RyaW5nIG9wZXJh
>dGlvbiA9IHJlcXVlc3QuZ2V0UGFyYW1ldGVyKCJvcGVyYXRpb24iKTsNCglpZiAoIG9wZXJh
>dGlvbiAhPSBudWxsICkNCgl7DQoJCWlmICggb3BlcmF0aW9uLmVxdWFscygiZ2MiKSApDQoJ
>CXsNCgkJCW91dC5wcmludCgiR2FyYmFnZSBDb2xsZWN0aW9uIGhhcyBiZWVuIHByb2Nlc3Nl
>ZC4iKTsNCgkJCVJ1bnRpbWUuZ2V0UnVudGltZSgpLmdjKCk7DQoJCX0NCgl9DQoNCglsb25n
>IG5Ub3RhbE1lbW9yeSA9IFJ1bnRpbWUuZ2V0UnVudGltZSgpLnRvdGFsTWVtb3J5KCk7DQoJ
>bG9uZyBuRnJlZU1lbW9yeSA9IFJ1bnRpbWUuZ2V0UnVudGltZSgpLmZyZWVNZW1vcnkoKTsN
>Cglsb25nIG5Vc2VkTWVtb3J5ID0gblRvdGFsTWVtb3J5IC0gbkZyZWVNZW1vcnk7CQ0KJT4N
>Cg0KPGJvZHk+DQoNCjxjZW50ZXI+DQoNCjx0YWJsZSBjZWxscGFkZGluZz0iMSIgY2VsbHNw
>YWNpbmc9IjEwIiBib3JkZXI9IjAiIHdpZHRoPSI5MCUiPg0KPHRyPg0KCTx0ZCBiZ2NvbG9y
>PSIjQ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VyPSIxIiBjZWxs
>cGFkZGluZz0iMCIgY2VsbHNwYWNpbmc9IjAiIHdpZHRoPSIxMDAlIj4JDQoNCgkJCQk8JQ0K
>CQkJCSAgICBmb3IgKGludCBpID0gMCA7IGkgPCBzdHJOYW1lcy5sZW5ndGggOyBpKyspDQoJ
>CQkJICAgIHsNCgkJCQkJCU9iamVjdCBzdHJWYWx1ZSA9IG9TZXNzaW9uLmdldFZhbHVlKHN0
>ck5hbWVzW2ldKTsNCgkJCQkJCWlmICggc3RyVmFsdWUgPT0gbnVsbCApDQoJCQkJCQl7DQoJ
>CQkJCQkJc3RyVmFsdWUgPSAoT2JqZWN0KShuZXcgU3RyaW5nKCIobnVsbCkiKSk7DQoJCQkJ
>CQl9DQoJCQkJJT4JCQkNCgkJCQ0KCQkJCQk8dHI+DQoJCQkJCQk8dGQ+DQoJCQkJCQkJPCUN
>CgkJCQkJCQkJb3V0LnByaW50bG4oc3RyTmFtZXNbaV0pOw0KCQkJCQkJCSU+DQoJCQkJCQk8
>L3RkPgkJCQ0KCQkJCQkJPHRkPg0KCQkJCQkJCTwlDQoJCQkJCQkJCW91dC5wcmludGxuKHN0
>clZhbHVlLnRvU3RyaW5nKCkpOw0KCQkJCQkJCSU+DQoJCQkJCQk8L3RkPgkJCQ0KCQkJCQk8
>L3RyPg0KCQkJCTwlDQoJCQkJICAgICB9DQoJCQkJJT4NCgkJCQk8L3RhYmxlPg0KCQkJPC90
>ZD4NCgkJPC90cj4NCgkJPC90YWJsZT4NCgk8L3RkPg0KCTwvdHI+DQo8L3RhYmxlPg0KDQo8
>JQ0KICAgICB9DQolPiANCg0KPC9jZW50ZXI+DQogDQo8L2JvZHk+DQo8L2h0bWw+DQo=
>
>------VistoMail939932403550--
>
>
>
>
>
>
>_______________________________________________________
>Get Visto!  Groups, event calendars, email, and more...
>Check it out @ http://www.visto.com/info
>
>
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message