Re: Localization of jsp files: JSP 1.1 spec vs. APM

2000-02-24 Thread Ray Cromwell
> > Hi all, > > the APM, p. 105 says: > > "The JavaServer Pages 1.1 specification allows you to deliver > locale-specific files by following the naming convention used by resource > bundles. This naming convention is the base file name followed by and > underscore and the language variant. A count

Re: JSP generating XML, passed through XSL?

2000-02-13 Thread Ray Cromwell
I've got II) working and III) working on production sites, and they work well, I'm happy to report. Using XSLT to "skin" or localize JSP is much better than the other template approaches out there. I implemented III) by hacking GNUJSP and used two different techniques. The first substitutes my o

Re: New article: "The Problems with JSP"

2000-01-29 Thread Ray Cromwell
> Quoting Ray Cromwell ([EMAIL PROTECTED]): > > > > 1) design and write objects for parse nodes, > >and objects to represent LHS and RHS expressions and > >variables. > > > > 2) write parser generator (JavaCC or ANTLR) > > 3) write evalua

Re: New article: "The Problems with JSP"

2000-01-29 Thread Ray Cromwell
> > Ray, > For reference, I quote your post to me below, in which you claim that > PERL/Python are used only by sysadmins (and not for the web), and in > which you claim apache/sendmail are *themselves* standards because > they support standard protocols. I guess that means that my Apache > module

Re: New article: "The Problems with JSP"

2000-01-29 Thread Ray Cromwell
Justin Wells wrote: > Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > > > The same thing goes for WebMacro. JSP > > is a standard and is supported by the large companies and their products. > > You could use the same arugment against any opensource software, and it > clearly hasn't stopped other

Re: confused over internationalization

2000-01-29 Thread Ray Cromwell
> I'm confused about what I've heard about internationalization with JSPs. What I > want to do is write one JSP file, and read the character set and user-visible > text from a ResourceBundle. This works with HTML templates, as long as the > .properties files for the ResourceBundles are in the ri

Re: New article: "The Problems with JSP"

2000-01-29 Thread Ray Cromwell
Justin Wells: > Ray, you continue to labour under the mistaken impression that WebMacro > script language is intended to be a general purpose programming language. I never asserted that, I asserted that there should be some minimal expression functionality. You have drawn the line at #if and cond

Re: New article: Conclusion

2000-01-29 Thread Ray Cromwell
> Jason Hunter wrote: > > > 2. The memory argument was a particularly memorable straw man. > > > > It's interesting you say that right after Tom Reilly wrote: > > > > My main concern is memory consumption. Someone else pointed out > > that memory is still fairly cheap, but in general I dislike

Re: New article: "The Problems with JSP"

2000-01-29 Thread Ray Cromwell
Jason Hunter wrote: > > I still don't get it. Any real developer is going to know there are > > options anyway, because they should be following the trade rags, > > the web logs, and the free code sites. > > And they'll be reading Servlets.com. :-) I'm sure they will. Probably the most valuable

Re: New article: "The Problems with JSP"

2000-01-29 Thread Ray Cromwell
justin Wells wrote: > Quoting Ray Cromwell ([EMAIL PROTECTED]): > > > Justin, you completely miss the point. I don't care if WebMacro only > > had 2 primitives in its language. Lisp/Scheme are also so simple, you > > can fit the entire language spec on a single page

Re: New article: "The Problems with JSP"

2000-01-29 Thread Ray Cromwell
Justin Wells wrote: > Quoting Ray Cromwell ([EMAIL PROTECTED]): > > Jason Hunter wrote: > > > What I don't get is this need to *push* WebMacro. I don't see the > > Apache Cocoon people all over these mailing lists trying to hype > > Cocoon. Also, what I don

Re: New article: "The Problems with JSP"

2000-01-29 Thread Ray Cromwell
Justin Wells wrote: > Quoting Jim Bailey ([EMAIL PROTECTED]): > > > Learn JSP and that skill transfers to a dozen or more servlet > > engines/application servers. Learn WebMacro and you can design using > > WebMacro. In terms of professional development, I would rather know standard > > JSP than a

Re: New article: "The Problems with JSP"

2000-01-28 Thread Ray Cromwell
Jason Hunter wrote: > > Anyway, what is so special about WebMacro in particular? Why not use > > Cocoon, Turbine, Freemarker, OTembo or even ECS? They all offer > > similar features and I daresay, some of them are probably better > > supported than WebMacro. > > Exactly! There are choices. Exami

Re: New article: "The Problems with JSP"

2000-01-28 Thread Ray Cromwell
Justin Wells wrote: > Quoting Ray Cromwell ([EMAIL PROTECTED]): > > Well, he might be able to learn it in a day, but would he neccessarily > > use it in the best way without experience? Would he use #parse > > directives effectively, or cut-and-paste? Would he rely on $Req

Re: New article: "The Problems with JSP"

2000-01-28 Thread Ray Cromwell
Justin Wells wrote: > Quoting Craig R. McClanahan ([EMAIL PROTECTED]): > > Find out what makes it slow and fix it? That's what's great about OSS > projects. Or maybe you won't want to do that, but someone else will do > it instead. > > I suppose > > I can go write my own implementation, but o

Re: New article: "The Problems with JSP"

2000-01-27 Thread Ray Cromwell
Dimirtri writes: > > - a tag library from the start, with standard tags for looping, etc > - simple syntax for accessing variables, etc in HTML without resorting to > overly complex XML stylee Yes, this would be nice, similar to the Message/DateFormat stuff in java.text/util > - NO java code a

Re: New article: "The Problems with JSP"

2000-01-27 Thread Ray Cromwell
> > I read some articles saying (Model 2) > > is more scalable in the future. I dont see how its any more or less > > scalable than Model 1. > > How will you internationalize your Model 1 pages? You can't really. (just for the sake of nitpicking) Multiple techniques: 1) use subdirectories on

Re: New article: "The Problems with JSP"

2000-01-27 Thread Ray Cromwell
David wrote: > > I think that the lack of class unloading/reloading is the major factor > > that will keep real sites from using JSPs. Take our site for example > > (http://www.klgroup.com). We want a more "interactive" site, but > > we don't want multiple sets of pages - all pages should be manag

Re: New article: "The Problems with JSP"

2000-01-27 Thread Ray Cromwell
Jason Hunter writes: > Ethan Henry wrote: > > > Perhaps it's time for a JSR for a standard servlet-based template > > engine? > > Does everything under the "Sun" need to be a standard? What's wrong > with developing multiple solutions based on servlets and letting people > choose their favorite?

Re: Dynamic Images in a JSP

2000-01-26 Thread Ray Cromwell
> The problem is the data to build my chart will reside in an instance of = > a session bean (i.e. a bean that has scope=3D "session"). I can think = > of the following two approaches to handle this: > > 1) Access the bean instance that has the data from my servlet.=20 The problem with doing thi

Re: New article: "The Problems with JSP"

2000-01-26 Thread Ray Cromwell
Jason Hunter writes: > Ray Cromwell wrote: > > whereas you think that using WebMacro template code is good. > > It's a lesser evil. I'd rather see a simplified scripting language > used in the page than a strongly-typed unforgiving compiled language. > Diffe

Re: New article: "The Problems with JSP"

2000-01-26 Thread Ray Cromwell
Jason Hunter wrote: > David Wall wrote: > > And if you passed the ISP back as an array, it would be more like: > > > > <% for ( int i=0; i > > The next name is <%=isps[i].getName()%> > > <% } %> > > > > I'll grant none of this meets the simplicity of the webmacro solution, > > though as a Java p

Re: New article: "The Problems with JSP"

2000-01-26 Thread Ray Cromwell
> Comments: > > This is basically a summary of the same thing you said during the > last flamewar on this list concerning WebMacro where you tried to Correction: I went to my mail archive. It was Justin Wells I was arguing with last time, I confused Jason with Justin, because language used, and

Re: New article: "The Problems with JSP"

2000-01-26 Thread Ray Cromwell
Comments: This is basically a summary of the same thing you said during the last flamewar on this list concerning WebMacro where you tried to assert several things, like that JSP couldn't be used to do Model-View-Controller, etc. About the only positive thing your paper highlights is the need f

Re: your mail

2000-01-14 Thread Ray Cromwell
> Goodness! Don't try this at home, kiddies! Just put a return statement after > your call to forward() and save yourself a lot of trouble. Note, I wasn't advocating this. I was saying that the semantics of GOTO are not available in Java with respect to methods which always return. Theoreticall

Re: Problem with request dispatching

2000-01-12 Thread Ray Cromwell
> Kevin Jones wrote: > > Wrong on both counts I'm afraid - the call can be forwarded to a resource, > > whcih will typically be a servlet or a JSP, and the call will return to > you. > > You typically put a return; statement after the > > RequestDispatcher call, > "Unlike the include() metho

Re: Formatting email w/JSP

2000-01-11 Thread Ray Cromwell
Hi, One trick to doing this, might be to substitute your own version of JspWriter. For instance, as the first line of your JSP <% out = new MyJspWriter(out, myoutputstream); %> MyJspWriter would extend JspWriter, only it would direct output to an alternative output stream. You could even

Re: In what ways does JSP score over Servlets ?

1999-11-11 Thread Ray Cromwell
> Quoting root ([EMAIL PROTECTED]): > Interesting. Do you always read mail as root on your box? Nah, it was an accident, that's why my post never showed up on the JSP-INTEREST list. I actually read mail through my service, MsgTo.com (just for reference, 100% java: servlet/jsp, smtp, pop, imap, a

Re: Large scale performance.

1999-06-03 Thread Ray Cromwell
One thing that concerns me about the JSP model of storing state and beans on a session object is scalability. If you don't know what you're doing, the bean could end up causing big memory leaks. Secondly, what if the bean keeps lots of references around to other objects? You won't get that memory

Re: JWS Demise...

1999-05-27 Thread Ray Cromwell
but found it through Slashdot.org discussion) - Original Message - From: Jeff Sturm <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 27, 1999 4:40 PM Subject: Re: JWS Demise... > Christopher Cobb wrote: > > > > Ray Cromwell wrote: > > > >

Re: JWS Demise...

1999-05-26 Thread Ray Cromwell
Oh dear. In my long history of Web consulting, I have found the Netscape web server inferior to both Apache and JWS. It has a nice web administration interface, and integration with LDAP was nice, but Netscape *never* supported it and it had a horrible VM. For instance, for an entire *year* I t