Re: Newbie getServletNames() question.

2000-04-03 Thread Jason Hunter
enumeration. Yep, 2.1 and 2.2 had some unfortunate backward compatibility issues. The articles in my sig explain what changed and why. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http

Re: Upload multiple file from user to server apache

2000-03-23 Thread Jason Hunter
. :-) Actually, if you upload your files to different directories you can accomplish this as well. Also, there'll be a more customizable version of MultipartRequest coming soon. Stay tuned. (There's a servlets-announce list on Servlets.com if you want to know immediately when it releases.) -jh- -- Jason

Re: Convert query string into Chinese.

2000-03-22 Thread Jason Hunter
for a long time. I'll scream loudly if they ever remove it. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servl

Re: ISP that supports JSP

2000-03-17 Thread Jason Hunter
Thomas W. Hohler wrote: I was looking for some ISP that support JSP. Does anybody have some ideas??? Nick Lawson wrote: Hi, Does anybody have any recommendations for reliable, low cost web hosting services that support JSP. Two questions answered with one stone, I can't resist. I keep

Re: Browser detection in JSP ??

2000-03-10 Thread Jason Hunter
- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html === To unsubscribe

Re: Browser detection in JSP ??

2000-03-09 Thread Jason Hunter
ldn't call it "dumb"! If you need to know whether Java is on or off, you can't know by sniffing headers. They've sold this BrowserHawk tool in the ASP market for years. They're now interested in supporting servlets/JSP. I say that's a *very* good sign. -jh- -- Jason Hunter [EMAIL PROT

Re: JSP hosting reference

2000-03-08 Thread Jason Hunter
ssatisfied with your hosting company, feel free to submit a review to help people like Sean. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servl

Re: Creating dynamic images in JSP

2000-03-08 Thread Jason Hunter
hit the JSP at the same time; the file may be served half-completed. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html

Re: ISP's that support JSP

2000-02-19 Thread Jason Hunter
ec version, and that changes day by day. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servl

New Servlets.com article: Reactions to The Problems with JSP

2000-02-11 Thread Jason Hunter
Hi everyone, I just posted a new article on Servlets.com titled, "Reactions to The Problems with JSP". It's a collection of the most interesting feedback received from the article posted two weeks ago, and a look at what I believe the article accomplished. From the first paragraph: Reader

Re: Problems with MultipartRequest

2000-02-06 Thread Jason Hunter
too large. The person who hit this problem was investigating adding this capability to Tomcat. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servl

Re: New article: The Problems with JSP

2000-01-28 Thread Jason Hunter
Craig R. McClanahan wrote: How many development tools do we expect to see targeted at JSP syntax vs. any other given scripting language? :-) I'm beginning to feel like how I'd feel if I were arguing that Linux is better than Windows, and people are responding that Windows has more apps and

Re: New article: The Problems with JSP

2000-01-28 Thread Jason Hunter
Ray Cromwell wrote: Exactly! There are choices. Examine your options. Don't believe that JSP is the only alternative. The programmers who developed the above tools probably would have used JSP had it suited their task, but it didn't so they wrote their own. Maybe their tool suits

Re: New article: Conclusion

2000-01-28 Thread Jason Hunter
Scott Stirling wrote: I got the point of the non-JSP alternatives being available and perhaps overlooked. Glad to hear it. I also got the one that JSP shouldn't be seen as the logical replacement for servlets. Also good. But I didn't like some of the red herring and straw man arguments

New article: Conclusion

2000-01-27 Thread Jason Hunter
OK, I'm done with this thread, at least for today. I have to get back to real work! Hopefully I've accomplished what I set out to do: Make people realize that there are alternatives to JSP, and make people think about why they're choosing JSP. It appears not many people on this list have

Re: New article: The Problems with JSP

2000-01-27 Thread Jason Hunter
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. Examine your options. Don't believe

Re: New article: The Problems with JSP

2000-01-27 Thread Jason Hunter
Geoff Soutter wrote: One of the main problems with JSP is it's origins: copying a Micro$oft product (ASP) is not necessarily the right way to start off! In fact, upon original release it looked to me like a somewhat flaky research project that had been picked up and shoved out into the

Re: New article: The Problems with JSP

2000-01-26 Thread Jason Hunter
Whew, so much feedback to the article! This is great. I'm going to respond individually to the posts, but apart from that: What I want people to realize from the article is that JSP is not a "sure thing" solution, there are alternatives to JSP, and documentation such as Sun's APM that mentions

Re: New article: The Problems with JSP

2000-01-26 Thread Jason Hunter
[EMAIL PROTECTED] wrote: To me, a template engines syntax means learning a lot more than JSP syntax. I think it depends on your starting point. I'm comfortable using JSP too, because I understand what's going on underneath. I'd rather not have to think about that though. Sure, you can

Re: New article: The Problems with JSP

2000-01-26 Thread Jason Hunter
David Wall wrote: it's definitely riskly to speak highly of Microsoft in a Linux community as it is to suggest the JSPs are not the end-all in a JSP community smile Yes, members of the WebMacro mailing list have been far more supportive. Go figure. Why did they have to come up with some

Re: New article: The Problems with JSP

2000-01-26 Thread Jason Hunter
Ray Cromwell wrote: 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 (Note he later realized it was Justin Wells who made these assertions previously.) Problem #1: Java

Re: New article: The Problems with JSP

2000-01-26 Thread Jason Hunter
Kevin Duffey wrote: Hi, Dang..I have to say, that was WELL put. I responded with what I figured was why JSP is superior, and you blew my response right off the map! :) :-) I think J2EE is a "bigger" reason than others to use JSP. Interesting. It doesn't really effect my decision since

Re: New article: The Problems with JSP

2000-01-26 Thread Jason Hunter
Agreed. Competition is good. I just think since JSP is part of the plan for J2EE and supports the write once run anywhere, including the nice .war file where you can jar up a whole web dir and move it to any platform..that JSP is the way to go. Templates run anywhere. Templates can use the

Re: New article: The Problems with JSP

2000-01-26 Thread Jason Hunter
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? JSP, templating, XML/XSL, ECS. All

Re: value of tag libraries

2000-01-26 Thread Jason Hunter
Duffey Kevin wrote: I cant imagine why 30MB would be so little unless your developing a large corporate site, Mainly, it's the easy ability to %@ include large data files with a JSP-included banner and footer that makes your size easy to bloat. At any rate, I can understand your 30MB limit,

Re: New article: The Problems with JSP

2000-01-26 Thread Jason Hunter
I mean..if all you had to do was put a bunch of %= bean.getXXX() % on a page, how hard is that to learn? That was my argument in the early days of JSP. But jsp:getProperty name="foo"/ syntax won out as the recommended approach. As another fellow responded to you, I dont see much difference

Re: value of tag libraries

2000-01-26 Thread Jason Hunter
Hans Bergsten wrote: First, I'm sure we can argue this back and forth forever without totally convincing each other. But hopefully we, and others, can at least learn something about the pros and cons with the two alternatives. Exactly! I say you should use whatever you like. I'm just

New article: The Problems with JSP

2000-01-25 Thread Jason Hunter
template engines. The article is available at: http://www.servlets.com/soapbox/problems-jsp.html -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw

Re: Forms with ENCTYPE=multipart/form-data

2000-01-24 Thread Jason Hunter
fo and source is available off http://www.servlets.com. (The site may be down right now, the server's acting up and I'm working with my host company to track down the problem.) -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-

Re: Resetting an attribute in the request object

2000-01-12 Thread Jason Hunter
); } "attributes" is a Hashtable, so where's the ISE come in? -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servl

Re: IE 4.0 under Win98 multipart form problem

1999-12-28 Thread Jason Hunter
be what you're using? WS 3.0 appears better. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/j

Re: IE 4.0 under Win98 multipart form problem

1999-12-28 Thread Jason Hunter
inking; should cause no harm in the standard case and may help in this odd case. Please let me know how it goes. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.

Re: Web servers that support servlets.

1999-12-14 Thread Jason Hunter
- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html

Re: String- Integer

1999-12-13 Thread Jason Hunter
} Paul Holser wrote: jason hunter, author of "Java Servlet Programming" (O'Reilly tea kettle book), offers a nice servlet request parameter parsing class in his com.oreilly.servlet package. check out http://www.servlets.com/resources/index.html for more details. Thanks, Pau

Re: How to compress JSP pages using Content Encoding

1999-12-03 Thread Jason Hunter
seen problems using IE4 on Win95. Have you always had success there? -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html

Re: JSP vs Servlets?

1999-11-09 Thread Jason Hunter
Kirkdorffer, Daniel wrote: In the Servlet Tools, Components, Frameworks category the winners were (Jason Hunter please take a bow...): Happily! Makes me wonder if the classes are really popular or if some JavaReport writer just *really needed* to do file upload one day. :-) Anyway

Re: What is wrong with JSP? Arrrrgh.

1999-10-01 Thread Jason Hunter
commercial products, but that just proves JSP isn't a "toy". -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book 2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html 2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servl

Re: JSP Hosting

1999-09-26 Thread Jason Hunter
DAVE TOWNSEND wrote: I know of a couple of places that do free web-hosting with CGI-BIN, but does anybody know of any that do it with either jsp, or servlets? Look at the mycgiserver listing at http://www.servlets.com/resources/urls/isps.html. -jh- -- Jason Hunter [EMAIL PROTECTED

Re: Multipart form

1999-08-11 Thread Jason Hunter
didn't see any special limit to the attachement for this size (there is one, but it limits the size at 1 Mb). Right, there's not much in the class that could cause 150 bytes to disappear. And the 1 Meg limit is user-settable, intended to protect from denial of service attacks. -jh- -- Jason

Re: Uploading file to jsp/servlet

1999-07-31 Thread Jason Hunter
, You see no errors, just partial file contents? That's odd. If that's the case, it sounds like a web server bug. What server are you using? Can you try things with the JSWDK and see if the files work with the reference implementation? -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http

Re: i thought very few people know JSP!!!!!!!!!

1999-06-11 Thread Jason Hunter
TK Sung wrote: Yeah, except that, unlike ASP, you have to pay for JSP. tk. Linux - Apache - GNUJSP: FREE Windows - IIS - ASP: NOT FREE The free path is more stable and scalable besides. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book Article: http

Re: i thought very few people know JSP!!!!!!!!!

1999-06-11 Thread Jason Hunter
commercial vendor, and I believe (again, correct if wrong) you miss out on many of the native COM/DCOM components that make ASP useful on Windows. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html

Re: GNUJSP bean behavior which extend HttpServlet

1999-06-04 Thread Jason Hunter
Richard Yumul wrote: According to the O'Reilly book, Java Servlet Programming (Jason Hunter), on p44 it states that beans which "implement the javax.servlet.Servlet interface (either directly or by extending GenericServlet or HttpServlet), it will call the bean's service() method

Re: sending raw data from JSP

1999-05-24 Thread Jason Hunter
Bogdan Ghidireac wrote: Hi, I am trying to send a mp3 file from my JSP but it is not working well beacause the "out" is a PrintWriter . Is it possible to send raw data from JSP ? Nope, that's not what JSP is for. Use a servlet. -jh- -- Jason Hunter [EMAIL PROTECTED] Boo

Re: JSP 1.0 isthreadsafe typo ?

1999-05-04 Thread Jason Hunter
Gabriel Wong wrote: page 44 the footnote (1) regarding isthreadsafe starts off with "If isthreadsafe="true"". I am assuming this is a typo and it should be "false". Any comments? Yep. Post to jsp-feedback to be sure they'll see it. -jh- -- Jason Hunter [

Re: Where is the encoding support ?

1999-05-03 Thread Jason Hunter
Rod McChesney wrote: Couldn't content type just go in a meta tag in the HTML HEAD tag? Sure, but that wouldn't suffice. The JspWriter wouldn't correctly print characters outside the Latin-1 charset. (Assuming it rightly refrains from trying to parse the HTML HEAD tag.) -jh- -- Jason Hunter

Re: Where is the encoding support ?

1999-05-02 Thread Jason Hunter
st doesn't in Early Access. -jh- Whoops, misspoke there, there is no content_type directive anymore. It's probably something we need reinstated because setting the charset programatically with a scriptlet doesn't reset the PrintWriter. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.se

Re: JavaOne JSP Attendees

1999-04-27 Thread Jason Hunter
out for drinks where they discussion continues. Usually before the night's over someone's been hired. :-) Hey, that's what happens at nerd gatherings. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book Article: http://www.javaworld.com/jw-12-1998/j

Re: JavaOne JSP Attendees

1999-04-26 Thread Jason Hunter
question for over an hour. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html === To unsubscribe, send email to [EMAIL PROTECTED

Re: JavaOne JSP Attendees

1999-04-25 Thread Jason Hunter
as well. Let me know. -jh- -- Jason Hunter [EMAIL PROTECTED] Book:http://www.servlets.com/book Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html === To unsubscribe, send email to [EMAIL PROTECTED