io taglib + SSL

2003-01-12 Thread Hassan Schroeder
hints cheerfully (and gratefully) accepted! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: io taglib + SSL

2003-01-12 Thread Hassan Schroeder
with no problem. So what else might cause an SSLHandShakeException? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Whitespace Galore!

2003-06-30 Thread Hassan Schroeder
, as scriptlets or as taglib output. So I'd say there's something suspect in your installation. When you say the redirect fails, is there anything logged? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: Pass scrape taglib to a method (string)

2003-08-30 Thread Hassan Schroeder
=teststringscrp:result scrape=pj3//c:set HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e

Re: Pass scrape taglib to a method (string)

2003-08-30 Thread Hassan Schroeder
scrape=pj3//c:set in a scriptlet section ( the % ... % ) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Calling HTTPS URL with IO

2003-10-09 Thread Hassan Schroeder
page, * since we can't process the transaction this way. */ } % io:http url=https://secure.example.com/program; action=POST input=true output=true ... and Bob's y'r uncle :-) HTH! -- Hassan Schroeder - [EMAIL

Re: Calling HTTPS URL with IO

2003-10-10 Thread Hassan Schroeder
to do the necessary setup, I'd be interested in seeing it :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: How to use c:url with c:import?

2003-11-04 Thread Hassan Schroeder
is snip/ Uh, problem? the above works fine plugged into a page on my system. Does import work if you specify `url=/text.html` explicitly? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: Cannot access JNDI datasource from SQL JSTL

2003-12-30 Thread Hassan Schroeder
-ref-namejdbc/MyDBName/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref :: referring back to the DataSource defined in server.xml. FWIW, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567

Re: Attribute select has no value error

2004-02-08 Thread Hassan Schroeder
. sql:query var=articles dataSource=${dataSource} select * from Articles /sql:query You SQL statement goes in the *body* of the tag: sql:query var=articles dataSource=${dataSource} select * from Articles /sql:query HTH, -- Hassan Schroeder

Re: taglib standard 1.0 in Tomcat

2004-02-27 Thread Hassan Schroeder
work if all that wasn't right). Any thoughts? Does your original full example from the book define sessionCounter and applCounter somewhere else prior to use? TIA! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http

Re: taglib standard 1.0 in Tomcat

2004-03-01 Thread Hassan Schroeder
explanation, thanks. Actually, my original problem just evaporated following a restart of that test machine -- your example code ran perfectly. Sigh. Thanks for the above compatibility chart, though :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938

Re: Getting request URI with JSTL

2004-03-03 Thread Hassan Schroeder
otisg wrote: Does anyone know how to get '/Action.do' or even '/context/Action.do' from a request such as http://www.example.com/context/Action.do?foo=bar ? c:out value=${pageContext.request.servletPath}/ HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design

Re: Getting request URI with JSTL

2004-03-04 Thread Hassan Schroeder
! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Formatted date not returning

2004-03-30 Thread Hassan Schroeder
') AS thisDOB FROM ccevs_resource_registry /sql:query ..and then call it as c:forEach items=${resource_list.rows} var=resource_row c:out value=${resource_row.dob} / c:out value=${resource_row.thisDOB} / Untested, but FWIW! -- Hassan Schroeder

Re: sql:query - Aliases and Aggregates

2004-04-14 Thread Hassan Schroeder
=inventoryCount value=${quantities.rows[0].thisQuantity}/ HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: [JSTL] Exposing CONTEXT-PARAM defined elements in a JSP

2004-09-17 Thread Hassan Schroeder
[applicationName]}'/ or c:out value='${initParam.applicationName}'/ Make sure you're using the appropriate web.xml for each version... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream

Re: x:out error

2004-10-05 Thread Hassan Schroeder
on Tomcat 5.0.28 using 2.4 spec/JSTL 1.1 :-) HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: AW: JSTL 1.1: diffs between c and c-1_0

2004-10-06 Thread Hassan Schroeder
the right jar file in /WEB-INF/lib ... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: How to avoid the line breaks when a tag file used within javascript?

2004-10-20 Thread Hassan Schroeder
, but when I want to eliminate white space from the output of a taglib I use the string taglib -- str:trim !-- whatever -- /str:trim Might be worth a look :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: [INPUT] Is input:text .../ producing the correct HTML?

2004-10-23 Thread Hassan Schroeder
not a bug at all -- that's proper XHTML; empty elements must be closed. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: AW: AW: Newbie Question: EL in attributes for a custom tag not being evaluated??

2005-01-04 Thread Hassan Schroeder
=c % HTH, and good luck, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail

fmt:formatNumber ignores maxFractionDigits

2005-08-22 Thread Hassan Schroeder
*/ -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: random numbers and JSTL

2005-10-24 Thread Hassan Schroeder
Luca Passani wrote: is there a JSTL trick to generate a random number? Not random, but for the cache-busting behavior you want, how about: jsp:useBean id=now class=java.util.Date scope=request/ a href=http://url.do?d=${now.time};whatever/a HTH! -- Hassan Schroeder

Re: Paging Feature broken in Datagrid Taglib

2005-10-29 Thread Hassan Schroeder
this does not work. Does anybody have an idea what to do? Without looking at the source, I'd guess the nextUrlVar needs to be changed to be set from request.getAttribute(javax.servlet.forward.request_uri) /* Servlet spec V2.4: SRV 8.4.2 'Forwarded Request Parameters */ HTH! -- Hassan Schroeder

Re: SOAP Requests using the IO taglib

2006-01-04 Thread Hassan Schroeder
appropriately indented, etc.? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail

Re: SOAP Requests using the IO taglib

2006-01-04 Thread Hassan Schroeder
} Open the page in Firefox and you'll see the XML displayed; you'd normally just see the text because, served as (X)HTML, browsers don't intrinsically understand tags like NumConnections... HTH, -- Hassan Schroeder

Re: How to generate subject at runtime (Mailer2 Tag)

2006-05-08 Thread Hassan Schroeder
container and JSTL 1.1, you'd have, e.g.: subject=${param.titolo} :: which I can vouch works just fine :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com opinion: webtuitive.blogspot.com

Re: Runtime expressions with img:image

2006-05-17 Thread Hassan Schroeder
/expands EL statements. A more precise answer would be possible with actual information about your configuration... HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com opinion

Re: Runtime expressions with img:image

2006-05-17 Thread Hassan Schroeder
:-) FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com opinion: webtuitive.blogspot.com dream. code

Re: Runtime expressions with img:image

2006-05-17 Thread Hassan Schroeder
the Apache/Jakarta implementation: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com opinion: webtuitive.blogspot.com

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-22 Thread Hassan Schroeder
1.0 *or* 1.1, not mixing them :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com opinion: webtuitive.blogspot.com dream. code

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-23 Thread Hassan Schroeder
Rashmi Rubdi wrote: ... but I still get the error SAXParseException: Content is not allowed in prolog. Can you create a simple test case WAR that demonstrates the error? If so, post it somewhere and we can take a look... -- Hassan Schroeder - [EMAIL PROTECTED

Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog

2006-07-24 Thread Hassan Schroeder
don't have multiple copies of those jars installed in different places. You, too, might want to experiment with a clean install of Tomcat. HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: [Fwd: Support for amp; as a parameter separator in c:url]

2006-09-26 Thread Hassan Schroeder
anyway. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com opinion: webtuitive.blogspot.com dream. code

Re: JSTL 1.1.2 c:url problem?

2006-11-14 Thread Hassan Schroeder
, how about plain text? There's no reason to assume that I'm using JSTL to generate an HTML/XML-based output; it could be a text/plain response, it could be creating a plain-text email body -- there are lots of alternative possibilities. -- Hassan Schroeder [EMAIL PROTECTED

Re: Basic problem

2007-04-01 Thread Hassan Schroeder
as is in a JSP and it worked either way (with/without the taglib uri inclusion); -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help noob get JSTL to work on webpage

2007-10-07 Thread Hassan Schroeder
; prefix=c % This is a line in my web.xml. You don't need to put anything in web.xml to have these recognized. Is this a classpath issue? I'm not sure where you got the idea to set it up as you have, but if you put things in the standard places it pretty much just works :-) FWIW! -- Hassan

Re: Help noob get JSTL to work on webpage

2007-10-07 Thread Hassan Schroeder
on the Servlet Spec and you'll understand more about configuring both Tomcat and your application. HTH, -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Virtual hosting and listener servlets

2007-10-24 Thread Hassan Schroeder
the virtual host configuration. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: c:url and context path completion

2007-11-28 Thread Hassan Schroeder
web.xml? Can you create a test case WAR to demonstrate the problem? -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: c:url and context path completion

2007-11-28 Thread Hassan Schroeder
itself), so the context is irrelevant for such files, since it could never be used to access them. Sorry, that's just not remotely true. Most of my apps are done that way, and JSTL, including c:url .../, works fine. -- Hassan Schroeder [EMAIL PROTECTED

Re: c:reditect

2008-01-01 Thread Hassan Schroeder
on the url; such as the Form Submit procedure. Why can't you just use a standard jsp:forward/ ? Or is an actual 302 redirect required? -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL

Re: c:reditect

2008-01-02 Thread Hassan Schroeder
; such as the Form Submit procedure. I don't believe there's any way to send a redirect that won't result in a GET request from the browser, meaning any additional params /will/ be exposed in the URL. Perhaps you could just put whatever you're trying to pass into the session instead. HTH, -- Hassan

Re: Taglibs

2008-06-30 Thread Hassan Schroeder
of the developers, but... Specifically I am considering using Mailer2 initially, but don't want to do that if it and/or the whole taglib project has been abandoned. ..I've used Mailer2 in production. I don't recall any problems with it. FWIW, -- Hassan Schroeder [EMAIL

Re: Taglibs

2008-06-30 Thread Hassan Schroeder
to contact a jakarta maintainer, I suppose, and see if they can fix that. Alternatively, use the Mailer taglib, which /is/ still available. HTH, -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail

Re: Taglibs

2008-06-30 Thread Hassan Schroeder
. Too bad the links on the jakarta.apache.org site are a total 404-fest. Does anyone know who is (was!) maintaining this? I'd volunteer some time to help clean this up. -- Hassan Schroeder [EMAIL PROTECTED

Re: Taglibs

2008-06-30 Thread Hassan Schroeder
submitting patches to the dev list, or ? I've contributed to the Tomcat docs, but that was a how-to I wrote from scratch and sent to Mark Thomas, so I haven't been on that side of the curtain :-) And feel free to contact me off-list if you prefer. H* -- Hassan Schroeder

Re: Taglibs

2008-06-30 Thread Hassan Schroeder
... H* -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is order of TAG parameters is important?

2008-08-08 Thread Hassan Schroeder
/article.php/1447551 That tutorial is ancient, and out of date -- you don't need to put the TLD files in web.xml any more, just put jstl.jar and standard.jar in the lib directory of your app. And no, the parameter order isn't significant. FWIW, -- Hassan Schroeder [EMAIL

Re: import tag for dynamic content

2009-09-15 Thread Hassan Schroeder
}:${pageContext.request.serverPort}${pageContext.request.contextPath}/x/y/z/ c:import url=${xmlURL} var=xml / and it works. But I cannot believe this is the right way to it. c:url var=xmlURL value=/x/y/z/ would be easier :-) -- Hassan Schroeder hassan.schroe

Re: import tag for dynamic content

2009-09-16 Thread Hassan Schroeder
the exact error? -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail: taglibs-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: taglibs-user-h

Re: import tag for dynamic content

2009-09-16 Thread Hassan Schroeder
, not a file, is fetched. What value does ${aURL} display? -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail: taglibs-user-unsubscr...@jakarta.apache.org For additional