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
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
, 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
=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
scrape=pj3//c:set
in a scriptlet section ( the % ... % )
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code
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
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
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
-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
.
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
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
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
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
!
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
') 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
=inventoryCount value=${quantities.rows[0].thisQuantity}/
HTH!
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code
[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
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
the right
jar file in /WEB-INF/lib ...
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code
, 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
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
=c %
HTH, and good luck,
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
-
To unsubscribe, e-mail
*/
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
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
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
appropriately indented, etc.?
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
-
To unsubscribe, e-mail
}
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
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
/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
:-)
FWIW!
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
opinion: webtuitive.blogspot.com
dream. code
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
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
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
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
anyway.
FWIW!
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
opinion: webtuitive.blogspot.com
dream. code
, 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
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]
; 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
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
the
virtual host configuration.
FWIW,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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
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
; 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
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
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
. 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
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
...
H*
--
Hassan Schroeder [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
/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
}:${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
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
, 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
53 matches
Mail list logo