Question regarding c:if

2002-01-29 Thread Wolfgang Röckelein
Hi, when using c:if with EL=ECMAscript, what are the semantics with the comparison operator ==, e.g. with test=$test == 'test', i.e. it seems that if the variable test is not a string, the test always fails (when I set the variable with c:set var=test value=$result.getRows()[0].get(0)

RE: Hello, and need help

2002-01-29 Thread Mader, Steve
The execute tag is meant for updates, inserts and deletes. What you probably want to use is the resultSet tag. sql:resultSet id=myRS % for( int i = 0; i val.size(); i++ )// What is val??? { % sql:getColumn position=%=i%/ % } %

Re: Accessing session scoped variables from exppression languageinthe standard taglib: Howto?

2002-01-29 Thread Shawn Bayern
On Tue, 29 Jan 2002, Wolfgang Röckelein wrote: BTW: Where should we provide input to the EL discussion? Is this discussion public? It can be discussed informally here. More formally, the subject has now been taken up by the JSR-152 group, so I should defer to Eduardo Pelegri-Llopart and Mark

RE: Hello, and need help

2002-01-29 Thread Brady Moritz
What im actually trying to accomplish is two things: - create a dynamic prepared statement each time so I can add where clauses to it. - use of the stmt instead of a normal query because I don't want to mess with figuring out if the where clause item needs to be quoted or not etc. val is a

RE: Hello, and need help

2002-01-29 Thread Mader, Steve
Change the section of dbtags.tld for the setColumn tag to have the value yes in the rtexprvalue tag, and restart your server. tag namesetColumn/name tagclassorg.apache.taglibs.dbtags.preparedstatement.SetColumnTag/tagclass bodycontentJSP/bodycontent attribute

Re: Accessing session scoped variables from exppression languageinthe standard taglib: Howto?

2002-01-29 Thread Wolfgang Röckelein
Hi, Shawn Bayern wrote: BTW: Are you sure that the core-rt version of if works? I never succeeded in getting the body evaluated, even with test=1==1... It works for me: crt:if test=%= 1==1 % 1 does indeed equal 1, interestingly enough /crt:if Aha, this is how it is supposed

NullPointerException Error

2002-01-29 Thread Zvolensky, Thomas J {PDBI~Nutley}
Hi, I'm a JSP newbie and am having trouble using the DBTags library. I have a simple page which is intended to open an MS Access database and display three columns of information from one table. I'm getting a NullPointerException when the page compiles: java.lang.NullPointerException

Newlines in attributes

2002-01-29 Thread bayard
In my example for the string-taglib, I stupidly gave an example of: str:replace replace=\n with=br\ndb:get value=data/str:replace without testing. Where db:get is a hypothetical tag creating data. The example doesn't work because the \n in the tag gets turned into a normal 'n' before it hits

RE: Hello, and need help

2002-01-29 Thread Brady Moritz
Very cool, ill give it a try. Thanks! Brady Moritz -Original Message- From: Mader, Steve [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 11:30 AM To: 'Tag Libraries Users List' Subject: RE: Hello, and need help Change the section of dbtags.tld for the setColumn tag to