How 'bout Safari? How long?
R
- Original Message -
From: Hans Bergsten [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Friday, December 19, 2003 3:05 PM
Subject: [ANN] JavaServer Pages, 3rd Edition (O'Reilly)
I'm proud to announce that the 3rd Edition of my
I don't have my code in front of me, but I am pretty sure that is exactly
what I do for my client. I don't even recall having to set request scope,
but I'm not positive there.
Tomcat 5.x/JSTL 1.1
R
- Original Message -
From: Karr, David [EMAIL PROTECTED]
To: Tag Libraries Users List
We exist to serve. :-)
R
- Original Message -
From: otisg [EMAIL PROTECTED]
To: Hans Bergsten [EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 11:45 AM
Subject: Re: Re: c:forEach, c:import and variable scope?
Wow, thanks for quick replies (problem not 100% solved, but all
replies
you should be able to send just about anything. You need to set the
type attribute of the @ attribute statment to whatever x:parse
creates (this is a fully qualified classname)
Finding out the type of object returned by parse is left as an excercise
for the reader, since I don't have the spec
Ok. I lied. Using the varDom style will gaurantee you an
org.w3c.dom.Document object, but the var style is implementation
dependent.
Rick Ross wrote:
you should be able to send just about anything. You need to set the
type attribute of the @ attribute statment to whatever x:parse
creates
No, I don't think so. You'll probably have to wrap the class with a
custom tag. Or, in a 2.0 container, you could create an EL function.
R
Chaimungkalanot, Mark wrote:
Hi there,
I have an Object that is returned to a JSP which has a Object get(Object
key) key method, much like a Map object.
TLDs should be in the jar as well.
Adam Hardy wrote:
Hi Kris,
thanks for the info.
How are you getting that info (name, comment, impl...) from the jar?
When I open the jar with a GUI archiving tool it shows just a contents
list. There is a META-INF/MANIFEST.MF file, but it contains only 2
Make sure that you are clear on the differences between c:import
jsp:include and @include they are all different and in my case the fact
that the imported page has no knowledge of my context hosed me.
R
Billy Bacon wrote:
I've looked through the archives and the suggested alternative for a
Hi all,
I have a simple jsp that I used to include statically to pages when I
needed to see what variables were in all of the implicit objects
(parameters, session etc). For example:
table
c:forEach items='${pageScope}' var='page'
trth${page.key}/thtd${page.value}/td/tr
/c:forEach
/table
Thanks. I guess I'll write the tag... bummer. I suspect that the
'outer' scope should be made available, surely there will be other use
cases for it.
R
Serge Knystautas wrote:
Rick Ross wrote:
Hi all,
I have a simple jsp that I used to include statically to pages when I
needed to see
Any chance of getting that onto Safari?
I know I sound like broken record here, but I love it and I think it's a
good deal for the writer/publisher as well.
R.
Shawn Bayern wrote:
Hi there (from law school)! :)
As I take a break from reading about civil rights in California, I just
wanted
, appendix A (see http://java.sun.com/jstl).
Please have a look, and send me simple war files that reproduce
your problem(s). The migration to JSP 2.0 and/or
JSTL 1.1 should definitely be smoother than the one you've experienced
;-)
-- Pierre
Rick Ross wrote:
That is the error I kept getting
That is the error I kept getting with the simplest of JSTL in a page now
that I converted over to Tomcat 5.0.9 from 4.1.24
After a wee bit of trial and error, I realized that the _rt libraries
are required with JSP 2. Perhaps others will have known this off the
bat, but it didn't occur to me
I have a class called RTime. It has the following get methods (and no SET
methods):
public String getCrazy()
public String getUSTime()
public String getISOTime()
One of my custom tags places an object of this type into the pageContext.
The US and ISO time methods work perfectly, but
value using operator . (null)
On Sat, 23 Aug 2003, Rick Ross wrote:
I have a class called RTime. It has the following get methods (and no
SET
methods):
public String getCrazy()
public String getUSTime()
public String getISOTime()
With these methods (and the rest of what
Message -
From: Rick Ross [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 17, 2003 7:11 AM
Subject: sql:param null weirdness
I wonder if I am not understanding EL properly...
I have a form
form
input type=text name=time /
input type=submit name=submit
?
Mark
-Original Message-
From: Rick Ross [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 12:52 PM
To: Tag Libraries Users List
Subject: Re: [OT]Re: sql:param null weirdness
Well, firstly I don't beleive that every application should apply the MVC
pattern/practice. But even
for web applications?
Regards,
Marco
- Original Message -
From: Rick Ross [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 17, 2003 7:11 AM
Subject: sql:param null weirdness
I wonder if I am not understanding EL properly...
I have a form
form
input
I wonder if I am not understanding EL properly...
I have a form
form
input type=text name=time /
input type=submit name=submit /
/form
and then a nice sql update to catch the form
sql:update
INSERT INTO myTable VALUES ( ? )
sql:param value=${param.time} /
/sql:update
Good morning all,
I am trying to generate my xpath statement based on parameters, and I find that it
works perfectly with the exception that the * in the predicate fails when dynamically
populated, although it works fine when hardcoded.
So this will work:
x:forEach
The spec only specifies how it works with a specific set of contexts. It
does not require a generic mechanism, although you are correct that it would
make sense for the syntax to be the same.
R
- Original Message -
From: Felipe Leme [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday,
one role child element.
x:forEach select=$doc//employee[count(role)]
-Original Message-
From: Rick Ross [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 12:10 PM
To: [EMAIL PROTECTED]
Subject: Fw: * in XPath predicate
Good morning all,
I am trying
I have a scoped variable called 'USER' with a variety of the usual bean style
properties. Naturally, it's just a convenient place to hold the user properties and
in the EL, it's quite easy to get them ${USER.full_name}. However, if I want to
predicate an XPath query (in an x: tag select
but necessary feature.
I'll give it a couple of days before I log something. Just in case.
R
- Original Message -
From: Rick Ross [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 11:25 AM
Subject: Re: * in XPath predicate
Hmmm.. Well the thing
Analyst, Treistman Center
College of Fine Arts, University of Arizona
- Original Message -
From: Rick Ross [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 28, 2003 8:31 PM
Subject: X: attributes..
I'm trying to use the value of an xml attribute in calculations later
As a follow up, all of the XPath testers I have used return a simple string
for that Xpath statement.
- Original Message -
From: Rick Ross [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 28, 2003 8:31 PM
Subject: X: attributes..
I'm trying to use the value of an xml
That should work with the file:// protocol as well (for the local
filesystem, at least).
R
- Original Message -
From: Felipe Leme [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 27, 2003 9:24 PM
Subject: Re: x:transform using xsl:include
Hi Aaron,
I had exactly the same
I have a bad feeling about this, but I haven't been able to access the
LAST_INSERT_ID( ) from mySQL.
In mySQL you can have one column that is automatically incremented (usually
the primary key field). You don't specify a value for this field in your
INSERT statement or you specify NULL. Either
transaction to achieve what you want.
Try to use sql:transaction to make both statements run inside the same
transaction.
[]s
Michael
- Original Message -
From: Rick Ross [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 6:54 PM
Subject: MySQL LAST_INSERT_ID
The JSTL tags have the ability to read the parameters. You need to sit down
with the Spec or a decent book on JSTL. A couple of hours now will save you
tons later.
This will get the job done:
c:set var=password value=${param.password} /
R
- Original Message -
From: Mike Steigerwald
I agree with Mr. Smith that dumping a working tool because it doesn't fit
the current (albeit valid) programming model. I personally would have
replace (steal) the sql: tags if they were abandoned because I am happily
banging away on a flat two tiered model.
All of my pages that derive from the
I can't seem to get this to work:
%@ includes file=c:out value='${includePage}' / %
I didn't see anything in the Spec that suggests that it would violate spec, but it
wasn't mentioned either (as far as I saw.)
Since I need the contents of includePage to be processed as JSP, I think I am SOL
the source of the output. I think that
most of it is in the bodies of conditionals... anyone else having
problems?
Rick Ross
Any sufficiently complex technology is indistinguishable from
garbage
-
To unsubscribe, e
the
white space emitted by your tags. If you have to be concerned about
that, you have other problems.
-Original Message-
From: Rick Ross [mailto:[EMAIL PROTECTED]
Hi all,
I've been running into two little oddities that I thought might be
worth
some discussion.
1. I
PROTECTED]
Sent: Monday, June 30, 2003 3:36 PM
Subject: Re: Whitespace Galore!
Rick Ross wrote:
This exact character sequence:
[EMAIL PROTECTED] language=java buffer=12kb autoFlush=false %%@ taglib
uri=http://java.sun.com/jstl/core; prefix=c %c:if test={true}
c:redirect url=http://google.com
Rick Ross wrote:
I was missing a $ in the true statment. Now redirect seems to work fine,
as
long as the buffer doesn't flush.
On an unrelated note:-)What editor do you all use for JSP/JSTL code?
R
- Original Message -
From: Hassan Schroeder [EMAIL PROTECTED]
To: Tag Libraries
36 matches
Mail list logo