Re: taglib question

2004-11-06 Thread Steve Lewis
It might be a good thing to put in the session allowing you to say ${JBossBaseURL} or write a short custom function and say ${myfunc:{JBossBaseURL} ()} Both allow the page to access the data without hard coding in the page where the data comes from At 09:21 AM 11/6/2004, you wrote: I have a cus

Re: Custom tags

2004-09-30 Thread Steve Lewis
If you place the tld in the jar JSP 2.0 will find it - there is no need to separately place tld files in WEB-INF For the other problem within el expressions consider ' rather than " At 04:39 PM 9/30/2004, you wrote: I am developing a custom tag, I was wondering if this is the right place for my q

Re: can i call a java class in jstl?

2004-08-06 Thread Steve Lewis
I thing the modern approach is a custom tag - Custum functions are OK but are restricted to static methods. It is not easy to give these functions access to the page context. Custom tags have access to this data. At 05:29 AM 8/6/2004, you wrote: Or make a bean that calls the code on its creatio

Re: Using struts-nested tags

2004-07-05 Thread Steve Lewis
1) The bean is placed in the page as part of an action form and exists because it is declared in the associated action. UseBean is not normally used to create struts FormBeans. 2) Nothing initializes the ArrayList except the default constructor - you are better off a map based method than a Dyna

Re: jsp:directive.tag directive can only be used in a tag file

2004-06-21 Thread Steve Lewis
1.2 but I don't think it made the final cut (someone correct me on that if I'm off-base). For JSP documents, xmlns attributes are used to declare which taglibs are being used. Quoting Steve Lewis <[EMAIL PROTECTED]>: > Help - > My jsp files all use the same set of about a ha

jsp:directive.tag directive can only be used in a tag file

2004-06-19 Thread Steve Lewis
Help - My jsp files all use the same set of about a half dozen tag declarations Rather than place them at the top of every page I start every page with the declaration b17StartTile.inc does some housekeeping and at some point includes /include/b17StartTile.inc which does more housekeepiong and in

RE: Scrape issues

2002-05-23 Thread Steve . Lewis
Here's the .jsp. It works for the example URL, but not on any other URL. --- <%@ taglib uri="http://jakarta.apache.org/taglibs/scrape-1.0"; prefix="scrp" %> doobie doo http://www.yahoo.com"; time="11"> Weather Quote Example #1 The example below s

Scrape issues

2002-05-21 Thread Steve . Lewis
For some reason, I don't seem to be able to scrape a site other than the example. Any ideas? I just get nothing in that area, and bytes are returned on the System.out output. I'm using WebLogic 6.1. Thanks, Steve -- To unsubscribe, e-mail: For additional command