On Mon, 12 Apr 1999 04:06:10 +1100,
[hidden email] wrote:
>I checked out the latest source....looks like one .java file to
>change....not very difficult actually. It's not too badly written either.
>We will need to change the java generation, bean parsing and compilation
>to do it simply, but we could do a bit of a rewrite and make language
>support pluggable.
>
>
>What do you think??
>
>
>
>dIon
you're right, seems likely... do you have a ported diff-tool from unix/linux? So we could
share our diffs to compare and change on errata's...
the version I've checked is v0.99,
some changes have to be made to JSPCompiler.java:
the generated .java-file seems to be a service-method with the standard servlet-signature
(line 826-)
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException, java.io.IOException
it then gets some IO-Streams ready and inserts the code for scriptlet into a try{}-block.
Think we have to find out for what these strange vars are for:
- methodDirective
- beanCode
- content_typeDirective
- createSession is clear I think
what are these valueOf-funcs doing?
what are all these beanfuncs for?
I've to check further, I think. I will run some tests on it, and maybe analysing the
source-code of the generated intermediate .java-files. Maybe then I understand. Its not that
good-readable code in between this meta-code...;-)
but looks good so far, and reasonable effort on doing it.
cu
Patric
------------------------------------------------------------------------
Why are most stock sites so slow and annoying to use? StockMaster.com
is fast, easy, powerful, and free! Use company names, not ticker
symbols. Track your portfolio. Visit:
http://clickhere/egroups.com/click/65eGroup home:
http://www.eGroups.com/list/netrexx-courseFree Web-based e-mail groups by eGroups.com