Usage of c:set for setting JavaBeans properties

2002-05-22 Thread Roman Kapshevich
Hello! I'm tryed to set property of my bean by tag. But the exception was thrown. Am I doing something wrong or is it a bug in tag? I'm runing JRun 4.0 and Beta 2 JSTL. Value is not null and it's looks like number. it's output succesfully. Beans method is simple: public void setCurrentProd

RE: Scrape issues

2002-05-22 Thread ceska
I have played with this a lot in the past week. Let me see your code that does not work. Also, did you install this exactly as the readme stated? Thanks -chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 3:42 PM To: Tag Libra

Re: Usage of i18n in JSTL

2002-05-22 Thread Jan Luehe
Vernon: > 1) > I follow the instruction and insert the line: > <%@ taglib uri="http://java.sun.com/jstl/ea/fmt"; prefix="fmt" %> > in a JSP file, and the lines: > > > javax.servlet.jsp.jstl.i18n.basename > mm > > in the web.xml file. > > I also have three resourc

RE: Usage of i18n in JSTL

2002-05-22 Thread Michael Zhou
Regarding your second question, in our project we have <%@ page contentType="text/html; charset=UTF-8" %> at the top of each jsp page. We also enable page buffering, ie, <%@ page buffer="256kb" autoflush="true" %>. Then we define a custom tag to dynamically set content type and character encodin

Re: Usage of i18n in JSTL

2002-05-22 Thread Vernon Wu
Thanks Jan for your detailed explanation. I think I finally find the right document which is under the standard-doc of the taglib. 1) I follow the instruction and insert the line: <%@ taglib uri="http://java.sun.com/jstl/ea/fmt"; prefix="fmt" %> in a JSP file, and the lines:

RE: can we assign to a variable ??

2002-05-22 Thread Mader, Steve
It looks like you're using an older version (JDBC Tags), I'm using dbtags which store this value in the pageContext. You could either switch to dbtags or possibly add something like the following to your RowCountTag and recompile and package it: StatementTag stmtTag = getStatementTa

RE: can we assign to a variable ??

2002-05-22 Thread sufi malak
Here is the code, but can't see the Contest parameter : // FrontEnd Plus GUI for JAD // DeCompiled : RowCountTag.class package org.apache.taglibs.jdbc.statement; import java.io.IOException; import java.io.Writer; import javax.servlet.jsp.JspTagException; import javax.servlet.jsp.PageContext; im

RE: can we assign to a variable ??

2002-05-22 Thread Mader, Steve
You'd have to place this code inside or after the ResultSet tags because it is dependant on it. If this does not work, get the source code for your version of dbtags and look at the RowCountTag.java program for the PageContext parameter name that is used for the row count. -Original Message

RE: can we assign to a variable ??

2002-05-22 Thread sufi malak
I tried it : <% Integer myRowCount = (Integer)pageContext.getAttribute("org.apache.taglibs.dbtags.resultset.rowcount"); %> <%=myRowCount%> BUT I got null >From: "Mader, Steve" <[EMAIL PROTECTED]> >Reply-To: "Tag Libraries Users List" <[EMAIL PROTECTED]> >To: "'Tag Libraries Users List'" <[EMAI

RE: can we assign to a variable ??

2002-05-22 Thread Mader, Steve
Try: <% Integer myRowCount = (Integer)pageContext.getAttribute("org.apache.taglibs.dbtags.resultset.rowco unt"); %> -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 10:08 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: can we assign t

can we assign to a variable ??

2002-05-22 Thread sufi malak
can we assign of DBtag to a variable ?? thanks _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: For additional commands, e-mail: