I am using JSTL 1.0(JSP 1.2) now. The java class method I am trying to access is a static method. I saw JSP 2.0 added the ability to call public static methods in EL expressions by adding a function element to our tag library descriptor (TLD). does JSP 1.2 has anyway to do that?
Also, what if the method is not static method and the object is a not a bean , how to access that method? -----Original Message----- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 12:57 PM To: Tag Libraries Users List Subject: Re: How to access java object method from JSTL expression Are you using JSTL 1.0 (JSP 1.2) or JSTL 1.1 (JSP 2.0)? Quoting Helen Ge <[EMAIL PROTECTED]>: > Hi, > > > > I saw some examples to access standard java bean properties from JSTL > expression language on JSP page. I am wondering is there any way to access > regular java class methods from JSTL expression? > > > > Now in the JSP, I am trying to access a Java class, which has a business > method return a string value. That java class is not a java bean class. Can > someone tell me how to do that? > > > > > > Thanks -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]