Re: Problems with JSTL stuff

2004-08-06 Thread Pierre Delisle
This alias is for comments on the JSTL specification. For support or usage questions, please use JSTL related lists such as "[EMAIL PROTECTED]". Nath, Vikram wrote: > Hello Folks, >I am facing problems with the JSTL stuff. As soon as i include the > following script to import JSTL I get e

Re: can i call a java class in jstl?

2004-08-06 Thread michael
At 06:46 AM 8/6/2004, you wrote: i use jstl to call this class in the jsp page and execute the code automaticly? Just make your own tag. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: can i call a java class in jstl?

2004-08-06 Thread Steve Lewis
I thing the modern approach is a custom tag - Custum functions are OK but are restricted to static methods. It is not easy to give these functions access to the page context. Custom tags have access to this data. At 05:29 AM 8/6/2004, you wrote: Or make a bean that calls the code on its creatio

Re: can i call a java class in jstl?

2004-08-06 Thread Helios Alonso
Or make a bean that calls the code on its creation and At 08:05 06/08/2004 -0400, you wrote: Another option is to put the code into a servlet and use Thai DANG wrote: Hi This is my suggestion : you put all your code in a method of your bean MyUseBean.java (for example public void getMyMethod()

RE: can i call a java class in jstl?

2004-08-06 Thread Karl Coleman
I believe in JSTL 1.1 you can have user defined functions in a functions.tld. But I haven't tried it out myself so I don't know what limitations there may be. Someone else may be able to enlighten us more on the subject. Karl > in fact i want to execute some java code automaticly > when i open

Re: can i call a java class in jstl?

2004-08-06 Thread Don Albertson
Another option is to put the code into a servlet and use Thai DANG wrote: Hi This is my suggestion : you put all your code in a method of your bean MyUseBean.java (for example public void getMyMethod() {}) Then, simply put in your JSP : ${myUseBean.myMethod} On Fri, 6 Aug 2004 14:30:10 +0800 (CS

Re: can i call a java class in jstl?

2004-08-06 Thread Thai DANG
Hi This is my suggestion : you put all your code in a method of your bean MyUseBean.java (for example public void getMyMethod() {}) Then, simply put in your JSP : ${myUseBean.myMethod} On Fri, 6 Aug 2004 14:30:10 +0800 (CST) ÿffb8ÿffdf ÿffb5ÿffc f?= <[EMAIL PROTE