How to use index in EL expression?

2014-09-24 Thread Kazuaki Miyauchi
Hi, it is also convenient to use the iteration of ELs such as c:if test=${!empty param.t${i}vorname}. Of course, it doesn't work. But, I'd like to do the following iteration. c:forEach var=i begin=1 end=8 sql:update var=insert${i} insert into member values (1,?::integer,${i},?,?,?) sql:param

Re: Easy get method of record number

2014-09-25 Thread Kazuaki Miyauchi
2014-09-24 22:46 GMT+09:00 Stuart Thiel stuart.th...@gmail.com: However, taglibs aside, I understand your concern. The main reason is that the ResultSet can start getting processed immediately under some conditions, thus it makes sense not to know the final number of records because the

DBtags works on Tomcat9?

2019-07-11 Thread Kazuaki Miyauchi
Hi, I'm DBtags user on Tomcat5. DBtags is greate tool for simple DB access. After importing *.war file to Tomcat9, there caused "taglib definition not consistent with specification version" error. Someone uses DBtags on Tomcat9? Regards. Kazuaki Miyau

DBtags works on Tomcat9?

2019-07-12 Thread Kazuaki Miyauchi
r? Thanks, Kazuaki Miyauchi, Japan - To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache.org For additional commands, e-mail: taglibs-user-h...@tomcat.apache.org

Re:DBtags works on Tomcat9?

2019-07-12 Thread Kazuaki Miyauchi
>This error also caused using Tomcat7.0.94. Excuse me. This also caused using Tomcat5.5.33. It must be my JSP file problem. Thanks, Kazuaki Miyauchi, Japan - To unsubscribe, e-mail: taglibs-u

Re:DBtags works on Tomcat9?

2019-07-12 Thread Kazuaki Miyauchi
> It must be my JSP file problem. This should be changed as following. Very Sorry. Kazuaki Miyauchi P.S. <%@ taglib prefix="sql" uri="http://jakarta.apache.org/taglibs/dbtag

DBtags works on Tomcat9?

2019-07-11 Thread Kazuaki Miyauchi
pache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) What's wrong? Regards. Kazuaki Miyauchi, Japan - To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache.org For additional commands, e-mail: taglibs-user-h...@tomcat.apache.org

How to cast String to int in EL?

2019-08-18 Thread Kazuaki Miyauchi
1 How to cast String to int? Of course, following JSP works correctly. insert into test values(1,?) Regards, Kazuaki Miyauchi, Japan - To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.

Re: How to cast String to int in EL?

2019-08-19 Thread Kazuaki Miyauchi
nary we get HTTP request parameter via EL using ${param.hogehoge}. So, It's troublesome to write following. int member_id = Integer.valueOf(request.getAttribute("member_id"); session.setAttribute("member_id_num", member_id); Instead of Isn't there more convenient

Re: How to cast String to int in EL?

2019-08-20 Thread Kazuaki Miyauchi
This is only amusing. I tried at first as following. If EL supports nested description, this is graceful solution. Of course, it caused javax.el.ELException: Failed to parse the expression [${${member_id}}] Regards,Kazuaki Miyauchi, Japan

Re: How to convert String to Date in EL?

2019-08-20 Thread Kazuaki Miyauchi
Excuse me. PC sent my under-writing mail. 2019年8月20日(火) 18:14 Kazuaki Miyauchi : > I think many people use JavaBeans or like that using Date data. > But, in Web site, year, month, day are mostly requested parameters. > It was very convenient I can use ${param.year} and s It was very con

Re: How to convert String to Date in EL?

2019-08-20 Thread Kazuaki Miyauchi
into test values(?,?) We need such complicated way to Web-DB access? We need simple way using EL description. Regards,Kazuaki Miyauchi, Japan - To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache

Re: How to cast String to int in EL?

2019-08-20 Thread Kazuaki Miyauchi
Regards, Kazuaki Miyauchi, Japan - To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache.org For additional commands, e-mail: taglibs-user-h...@tomcat.apache.org

Re: How to convert String to Date in EL?

2019-08-20 Thread Kazuaki Miyauchi
2019年8月20日(火) 17:55 Stuart Thiel : > I suspect you can skip the set tag and wrap the parseDate in the sqlParam > tag as well, but I've never mucked with sql in JSPs (I'm pretty strict > about using them exclusively as Template Views) I think many people use JavaBeans or like that using Date

How to convert String to Date in EL?

2019-08-18 Thread Kazuaki Miyauchi
ditor not registered with the PropertyEditorManager] How to convert String date data to Date type? After changing as following, it works. But, it's not easily readable when making complicated sql. insert into test values('2019-8-19',?)

Re: How to convert String to Date in EL?

2019-08-18 Thread Kazuaki Miyauchi
't hit this error message. Regards, Kazuaki Miyauchi, Japan - To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache.org For additional commands, e-mail: taglibs-user-h...@tomcat.apache.org

Re: How to convert String to Date in EL?

2019-08-23 Thread Kazuaki Miyauchi
2019年8月20日(火) 17:44 Stuart Thiel : > Because formats for dates are so ambiguous, there's no reliable way to > interpret. isn't so ambiguous. Regards, Kazuaki Miyauchi,

Re: How to cast String to int in EL?

2019-08-24 Thread Kazuaki Miyauchi
This is also is ideal interface for me. Of course, default of type is String. Regards,Kazuaki Miyauchi, Japan - To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache.org For additional commands, e