Different generation of JSTL sql:query

2004-07-06 Thread Geesken, Edmund
Hi, I have some problems with the JSTL taglibrary 1.1. Some of my JSPs which are using the sql:query tag are generated in a different way. For some of them the generation of the sql:query tag is directly included into the service method body of the JSP and for others a separate method is generated

Re: Using struts-nested tags

2004-07-06 Thread Martin Cooper
I would recommend asking Struts questions on the Struts mailing lists, since there are likely many more people there who will understand the issue you are trying to resolve, and be able to help you solve it. -- Martin Cooper On Tue, 6 Jul 2004, Paride Perazzolo wrote: thanks for your answer. 1)

RE: Jsp 2.0 taglib conversion problem

2004-07-06 Thread Martin Cooper
On Mon, 5 Jul 2004, Bruce Dempsey wrote: Hi, Thank you for your response. Using my original code which was working before the upgade, we now get the following error: [7/5/04 9:42:01:318 EDT] 68e72fa4 WebGroup E SRVE0026E: [Servlet Error]-[javax/servlet/jsp/JspContext]: java.lang.NoClassDefFou

Re: Using JSTL, newbie question: context

2004-07-06 Thread Kris Schneider
"applicationScope" instead of "servletContext"... Quoting Helios Alonso <[EMAIL PROTECTED]>: > Try using: > > > > So it gets addressesDB bean from the servletContext and query for the > addresses property (it is, calls getAddresses()). If getAddresses reloads > the array, it works. > > htt

Re: Using JSTL, newbie question: context

2004-07-06 Thread Helios Alonso
Try using: So it gets addressesDB bean from the servletContext and query for the addresses property (it is, calls getAddresses()). If getAddresses reloads the array, it works. http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html#wp71043 (framed page from http://java.sun.com/j2ee/1.4/d

Re: Using JSTL, newbie question: context

2004-07-06 Thread Kris Schneider
Without spending too much time reading the article and looking at its code, I think you should be able to replace the scriptlet code in Home.jsp with: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> .. ">Delete or ">Delete

Re: [despammed] Re: Using struts-nested tags

2004-07-06 Thread Paride Perazzolo
> 1) The bean is placed in the page as part of an action form and exists > because it is declared in the associated action. UseBean is not > normally used to create struts FormBeans. I repeat here what wrote to the user mailing list: ok, now I understand what you mean. I should never access se

Re: Using struts-nested tags

2004-07-06 Thread Paride Perazzolo
thanks for your answer. > 1) The bean is placed in the page as part of an action form and exists > because it is declared in the associated action. UseBean is not normally > used to create struts FormBeans. the point is: 1) beanContainer was put into session by another jsp previously. 2)I n

Using JSTL, newbie question: context

2004-07-06 Thread Rinnert, Wolfgang
Hi, as a training step, I want to convert the sample application by Paul Wood, http://www.onjava.com/pub/a/onjava/2003/01/08/tomcat4.html so that JSTL is used in place of the scriptlet code inserted in the JSP of this webapp. I have changed "ContextListener.java" to call AddressesDB.getAddresses