Re: How to cast String to int in EL?

2019-08-23 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

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, Japan

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
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 data.

Re: How to convert String to Date in EL?

2019-08-20 Thread Kazuaki Miyauchi
e [class java.lang.String] to [class java.util.Date] So, I'd like to know how to convert Date type using EL writing. Is there simple method to convert like 0 + for int case? Regards, Kazuaki Miyauchi, Japan ---

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
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-19 Thread Kazuaki Miyauchi
,?) Ordinary 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

How to cast String to int in EL?

2019-08-18 Thread Kazuaki Miyauchi
ues(?,?) 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...@t

Re: How to convert String to Date in EL?

2019-08-18 Thread Kazuaki Miyauchi
ogle doesn'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

How to convert String to Date in EL?

2019-08-18 Thread Kazuaki Miyauchi
perty Editor 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(&#

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/dbtags

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

DBtags works on Tomcat9?

2019-07-12 Thread Kazuaki Miyauchi
be few DBtag user? 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

DBtags works on Tomcat9?

2019-07-11 Thread Kazuaki Miyauchi
.service(HttpServlet.java:741) org.apache.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

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

Re: How to use index in EL expression?

2014-10-06 Thread Kazuaki Miyauchi
2014-10-06 15:39 GMT+09:00 Peter Wagner : > Also, I would recommend to avoid using sql:update under any circumstances. That causes some problems? I think dbtags are the most powerful tools for developing Web-DB programs. Why did developers stop creating this powerful functions? Regards, K.Miyau

Re: How to use index in EL expression?

2014-10-05 Thread Kazuaki Miyauchi
Hi. Peter. It works well. Thank you very much! EL is fantastic! And now I have one more question. var parameter doesn't seem to accept EL description as following. Is there a smart way to resolve above description? Regards, K.Miyauchi -

Re: How to use index in EL expression?

2014-10-02 Thread Kazuaki Miyauchi
Thanks a lot! I'll check its correctly working. Regards, K. Miyauchi 2014-09-25 19:00 GMT+09:00 Peter Wagner : > Hello, > > > use a temporary variable as an “index”: > > > > > > <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> > > > > > > EL Test > > > > >

Re: How to use index in EL expression?

2014-09-25 Thread Kazuaki Miyauchi
18:08 GMT+09:00 Stuart Thiel : > Hello Kazuaki, > Can you not use i directly as you're already within el? I'm not sure > why you want to embed the el. > > > > On Thu, Sep 25, 2014 at 5:03 AM, Kazuaki Miyauchi wrote: >> 2014-09-24 22:53 GMT+09:00 Stuart Thiel

Re: How to use index in EL expression?

2014-09-25 Thread Kazuaki Miyauchi
2014-09-24 22:53 GMT+09:00 Stuart Thiel : > I really think something in your domain layer should be parsing your > params and cleanly taking care of this all. You can still provide the > cleaned up POJOS via attributes, and that makes more sense. If you're > entirely skipping regular servlets and a

Re: Easy get method of record number

2014-09-25 Thread Kazuaki Miyauchi
2014-09-24 22:46 GMT+09:00 Stuart Thiel : > 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 database might not have c

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 . Of course, it doesn't work. But, I'd like to do the following iteration. insert into member values (1,?::integer,${i},?,?,?) Is there some idea for this without whole description expanding i? Regards,

Easy get method of record number

2014-09-24 Thread Kazuaki Miyauchi
Hi, it seems there is no way to get the numbers of records without issuing count sql . It is convenient to get the number as following. ... Why is there no function to get record number? Regards, - To unsubscribe, e-mail: t

Re: How to get short description of interval data by EL?

2014-09-04 Thread Kazuaki Miyauchi
2014-09-04 17:04 GMT+09:00 Stuart Thiel : > This is more a date-formatting question and less to do with taglibs or el. Thank you!! select to_char(interval,'HH24:MI:SS') resolved my problem. Best Regards, - To unsubscribe, e-ma

How to get short description of interval data by EL?

2014-09-04 Thread Kazuaki Miyauchi
get normal expression such as "0:13:15" using EL? Regards, Kazuaki Miyauchi - To unsubscribe, e-mail: taglibs-user-unsubscr...@tomcat.apache.org For additional commands, e-