Re: How can I set an attribute with the value of a property?
This is in fact what I am trying to do: <%for (int i = 0; i < Test.getIdx(); i++) { %> < Input Tag<%out.print(i);%> > Name: "> Value: <% } %> but it does not work for the property name, is there a way to make it work for a parametrized property name? Thanks, Mike === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
UPPER or LOWER function for MS Access
Hi, Does anybody know the alternative of UPPER or LOWER function for MS Access? This UPPER & LOWER functions works in ORACLE but in MS Access it says Undefined function. Please help. Thanks & Regards Bhushan Bhangale Infosys Technologies Ltd. Pune - 411042 Tel : (Office) +91 (20) 2932800 Ext - 1176 Mobile : +91 9822454603 E-mail : [EMAIL PROTECTED] ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: How can I set an attribute with the value of a property?
Mike, Have you checked out the Struts iterator tag? That would do what you want w/ a custom tag. As for direct bean access not being supported in future versions, I haven't heard anything about that. Beans are just like any other Java object. Try this: <%for (int i = 0; i < Test.getIdx(); i++) { String myName = i + "name"; String myValueName = i + "value"; String myValue = test.getValue(i); %> < Input Tag <%= i %>> Name: Value: <% } %> -Richard At 01:30 AM 4/27/2002 -0600, you wrote: >This is in fact what I am trying to do: > ><%for (int i = 0; i < Test.getIdx(); i++) > { > %> > >< Input Tag<%out.print(i);%> > > Name: size="20" value=" property="name<%out.print(i);%>"/>"> > Value: size="50"> > <% > } > %> > >but it does not work for the property name, is there a way to make it work >for a parametrized property name? > >Thanks, Mike > >=== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Tag Performance -- Please help
Jack Xu wrote: > I am using jsp custom tags for internationalization. Syntax is key="key"> > > On one screen, the tag is used many times with various keys in order to get > all the text. However, it causes serious performance problem because it > seems like a new instance of the tag handler is created for each key. (I can > see that by calling hashCode() method) > > For example: > > > > > > on the same page have different hashCode, which means they are two different > instances. I am using Jrun 3.1, and I did include the release() method in > the tag as follows: > > public void release(){ > > key = null; > > super.release(); > > } > > Is there any way to use the tag instance pooling for this case? > > I will greatly appreciate your help. There's nothing you can do in your tag handler classes or in the JSP pages to get tag handler pooling; it's a feature that the container must implement. I'm pretty sure Resin implements this feature, for instance, and probably the high-end containers, such as WebLogic. Fortunately, with JSP it's easy to switch to a container that provides the features you want (Yes, I realize there may be non-technical reasons that makes it harder than it should be, such a company vendor policies, etc.) Hans -- Hans Bergsten [EMAIL PROTECTED] Gefion Software http://www.gefionsoftware.com JavaServer Pageshttp://TheJSPBook.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com