Pausing execution?

2002-10-17 Thread David Castro
n anyone tell me how to code this? Also, I'm planning to write to the client a summary line with each email that is sent, and flush the cache with each line. Will this keep the page alive? Or will it eventually time out? Thanks a million! -David Castro email[at]davidcastro[dot]com h

Tomcat console scrolling blindness

2002-09-17 Thread David Castro
e always empty after I close down the server. Thanks a bunch. -David Castro email[at]davidcastro[dot]com http://jsp.davidcastro.com __ Do you Yahoo!? Yahoo! News - Today's headli

Re: JSP Apostrophe in JDBC

2002-09-06 Thread David Castro
eday when I have some spare time on my hands!) [Note: Joseph asked me to forward his email to the list, so I'm not posting a private email response to the list.] -David Castro email[at]davidcastro[dot]com http://jsp.davidcastro.com __

Re: JSP Apostrophe in JDBC

2002-09-06 Thread David Castro
dbtags-doc/intro.html), which has a tag that handles all of the conversion stuff for you, too. Incidentally, Joseph, does your method work when using the ODBC-JDBC bridge? I use that on my local machine, while I use a JDBC driver on my hosting account. Just

Re: lists won't get refreshed?!

2002-08-21 Thread David Castro
xpires",0); response.setHeader("Cache-Control", "no-cache"); %> Let me know if this fixes your problem. -David Castro email[at]davidcastro[dot]com http://jsp.davidcastro.com _

Basic question: repeating code in JSP pages?

2002-08-14 Thread David Castro
I am creating a JSP application that generates a custom SQL query, based on the columns and rows that the user wants to see. As such, I have a whole bunch of repeated code in the page: Vector email = (Vector)session.getAttribute("rep_email"); if (email != null) { if (email.size() > 0) { if

Never mind: Followup: One file for all requests?

2002-08-02 Thread David Castro
I found what I was looking for: javax.servlet.http.HttpServletRequest.getRequestURI() -David Castro email[at]davidcastro[dot]com http://jsp.davidcastro.com __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com

Followup: One file for all requests?

2002-08-02 Thread David Castro
server, but I can't figure out how to access it. Any help would be greatly appreciated! -David Castro email[at]davidcastro[dot]com http://jsp.davidcastro.com __ Do You Yahoo!? Yahoo! Health - Feel better, live bette

One file for all requests?

2002-08-01 Thread David Castro
n directory are redirected to a given file? Thanks in advance for help on an odd request! -David Castro email[at]davidcastro[dot]com http://jsp.davidcastro.com __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://h

Re: Combo : help needed

2002-06-18 Thread David Castro
you could create a Vector in the Application scope. You could set it up to generate the Vector as often as needed. And then outputting those values on your page won't time out. But 20,000 items is gonna take up a lot of memory! -David Cas

Re: JSP-INTEREST Digest - 5 Feb 2002 to 6 Feb 2002 (#2002-37)

2002-02-07 Thread David Castro
ou decide to pursue this, and if it works! -David Castro [EMAIL PROTECTED] http://www.davidcastro.com __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com =

Access application object from tag library?

2001-09-08 Thread David Castro
be able to access an object in the application scope to do so. Can anyone help me with the syntax for accessing this implicit object explicitly? Thanks! -David Castro [EMAIL PROTECTED] http://www.davidcastro.com __ Do You Yahoo!? Get email al

Creating a temporary file?

2001-08-28 Thread David Castro
do this? And then is it possible to delete the file when the session expires? -David Castro [EMAIL PROTECTED] http://www.davidcastro.com __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http

Downloading customized JSP pages to HTML pages?

2001-08-24 Thread David Castro
L files. If anyone knows of a tool that can do this, I'd sure love to know about it. Thanks! -David Castro [EMAIL PROTECTED] http://www.davidcastro.com __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yah

Re: A different JavaScript/JSP question

2000-06-12 Thread David Castro
--- casey kochmer <[EMAIL PROTECTED]> wrote: > When you say served by Tomcat. Do you mean you are also using Tomcat as your > Http web server in addition to it functioning as a JSP container? Or are you > using apache as your web server and Tomcat as the Jsp Container? Tomcat is serving in both c

A different JavaScript/JSP question

2000-06-12 Thread David Castro
I have the following JavaScript inside of a .JSP file: When the file is served by the Tomcat server to my Win98 machine running IE5.0, and I click the link, the JavaScript does open the window with the file in it, but a File Download window opens, with the the following error over it: "Interne

Re: Avoiding Java Code in the JSP Page.

2000-06-06 Thread David Castro
a value. You can even use this value within another tag, for compound functionality. If you haven't already, consider buying the Manning book "Web Design with JavaServer Pages," from www.taglib.com. Then, read (I think) chapters 13 and 14. They do a really good job of showing you how t

Re: Getting custom tags (mut) working from the Manning press book?

2000-06-02 Thread David Castro
I defer to McClanahan, who seems to be the resident expert on all matters JSP. :-) -David Castro [EMAIL PROTECTED] --- Robert Nicholson <[EMAIL PROTECTED]> wrote: > I'm told there are differences b/w the .dtd's b/w now and when the tld's > were created. > > Hop

Re: Getting custom tags (mut) working from the Manning press book?

2000-06-02 Thread David Castro
h the code that the Manning book has listed for TLD files. (I already submitted it to their errata email address, so it'll be fixed in future releases of the book.) Check the tag in the TLD file, and make sure it reads: http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"> In t

Re: Custom Tag Scripting Variables

2000-05-25 Thread David Castro
;userloggedin")).booleanValue() { doSomething(); } %> -David Castro [EMAIL PROTECTED] --- Arun Thomas <[EMAIL PROTECTED]> wrote: > When using custom tags and the TagExtraInfo classes, is it possible to > create > scripting variables that are not objects, but rather basic types

Re: Lists in a JSP

2000-05-25 Thread David Castro
this out into a full HTML pull-down list box. Sure is a lot cleaner than putting in a bunch of <% %> code. And a lot easier to maintain, too. -David Castro [EMAIL PROTECTED] --- Jim Preston <[EMAIL PROTECTED]> wrote: > A question for experienced JSP/bean developers: > > It seem

Never mind... Re: request.getRequestURI() with frames??

2000-05-23 Thread David Castro
I figured it out. I renamed the frameset file with a .jsp extension, and then the container was able to capture the URI information. -David Castro [EMAIL PROTECTED] --- David Castro <[EMAIL PROTECTED]> wrote: > Is it possible to use request.getRequestURI() or some equivalent whe

request.getRequestURI() with frames??

2000-05-23 Thread David Castro
em to the page in which they indicate their preferences, and then takes them back to the page they originally wanted when they click the Submit button. It works great without frames. Once I move into frames, though, the getRequestURI() method returns null. Any ideas? -David Castro [EMAIL PROT

Apology: Re: [TAGLIB] No such tag....

2000-05-23 Thread David Castro
k out my freeware/shareware at http://www.crl.com/~techwrtr/DigestersReader/ .) -David Castro [EMAIL PROTECTED] __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.

Re: [TAGLIB] No such tag XXX the tag library imported with prefix XXX

2000-05-23 Thread David Castro
Thanks for the response. The culprit ended up being the text that I was copying from to create my TDL file. It was pointing to an invalid DTD address. -David Castro [EMAIL PROTECTED] --- yi lin <[EMAIL PROTECTED]> wrote: > from my exp,I think you should check the the location of yo

[TAGLIB] No such tag XXX the tag library imported with prefix XXX

2000-05-22 Thread David Castro
a Win98 machine, and am running JDK 1.1.8_3. Has anyone experienced this problem before. If so, any solutions? I'm including my source below, in case that helps. Thanks! -David Castro [EMAIL PROTECTED] JSP file- <%@ taglib uri="/scheduling" prefix="sched"

Re: Email question

2000-03-03 Thread David Castro
;t really understand quite > how they work. The book _Professional Java Server Programming_ has an example of how to use an SMTP object. They put all of their source code examples on their web site, at http://www.wrox.com. The ISBN for the book is 1-861002-77-7. -David Castro