a JSTL question

2002-12-05 Thread Hao Ding
Hi all, I got a question which confused me for several days. I hava a collection and I want to set each item of the collection to a set of variables. Can I do it using tag and how to access these variables? For example: Can I do like that? If yes, how to access these variables. Can I w

print out the items of a collection in reverse order

2002-10-18 Thread Hao Ding
Hi all, Is there a way to print out the items of a collection (e.x an array) in reverse order using or some other JSTL core tags? Thanks Hao -- To unsubscribe, e-mail: For additional commands, e-mail:

questions

2002-09-25 Thread Hao Ding
Hi, Does have a attribute like 'status' of ? In specification, only has two attributes: 'var' and 'select'. Cheers, Hao -- To unsubscribe, e-mail: For additional commands, e-mail:

hwo to get coordinates parameter of a map

2002-09-19 Thread Hao Ding
Hi, I can get a map's point coordinates using scriplets as following: x = <%= request.getParameter("map.x") %>, y = <%= request.getParameter("map.y") %> how to use JSTL EL do that? I have tried x = , y = and x = , y = The outputs are empty. Cheers, Hao -- To unsubscribe, e-mail:

set Property error

2002-09-17 Thread Hao Ding
Hi, I instantiate a bean instance in my JSP page like follows: Using JSP standard tags to set the bean property works well. Now when I used JSTL core tags like follows: I got a error like: javax.servlet.jsp.JspTagException: Invalid property in : "urlPrefix" What is wrong in the

JSTL questions

2002-09-09 Thread Hao Ding
1. In Chapter 2 of JSTL in action, it says most of standard JSP core tags , ,such as , are rarely needed when using JSTL. How can these functions be realized using JSTL tags? 2. Are only "getting" methods in the bean cleasses can be called by EL ? How can call general functions (non-getti

RE: FWD: need help about translating scriptlets into JSTL EL

2002-06-24 Thread Hao Ding
Hi Shawn, Thank you again for your very valueable help. I have happily solve the problem. Regards, Hao >= Original Message From Tag Libraries Users List <[EMAIL PROTECTED]> = >On Tue, 25 Jun 2002, Hao Ding wrote: > >> Hi, >> >> I have not got an ide

RE: FWD: need help about translating scriptlets into JSTL EL

2002-06-24 Thread Hao Ding
Hi Hans, Your suggestion is very helpful. Thanks again Hao >= Original Message From Tag Libraries Users List <[EMAIL PROTECTED]> ===== >Hao Ding wrote: >> Hi, >> >> I have not got an idea to solve the problem below. Can anybody give me

FWD: need help about translating scriptlets into JSTL EL

2002-06-24 Thread Hao Ding
Hi, I have not got an idea to solve the problem below. Can anybody give me a hand? Regards, Hao >= Original Message From Tag Libraries Users List <[EMAIL PROTECTED]> = I have a JSP page that initially uses scriptlets, now I am going to transfer it using JSTL tags The initial code is

need help about translating scriptlets into JSTL EL

2002-06-24 Thread Hao Ding
I have a JSP page that initially uses scriptlets, now I am going to transfer it using JSTL tags The initial code is <%@ page import="mm.*" %> <% int idx = report.getId(); mm.LData ld = cate.getLData(idx); %> How to translate the Java code into EL using JSTL core library? Any help will be v

how to deal with operation calling with parameters

2002-06-23 Thread Hao Ding
I have a JSP page that is initially using scriptlets, now I am going to transfer it using JSTL tags The initial code is <%@ page import="mm.*" %> <% int idx = report.getId(); mm.LData ld = cate.getLData(idx); %> How to translate the Java scripts into EL using JSTL core libra