RE: how to add a new record to a table

2003-04-02 Thread Anthony . Leon
I do something like this. It may not compile (esp. myformbean.getListSize()) and should use logic:iterate. Hope it helps; JSP; <% int i; for (i = 0; i < myformbean.getListSize(); i++) { String fieldName = "value(" + i + ")"; %> <% } String fieldName = "value(" + i+1 + "

RE: Problem forwarding from a Tile or Template.

2003-04-02 Thread Anthony . Leon
I assume you mean, add the following to the struts-config.xml But having done this I now get; Cannot initialize RequestProcessor of class org.apache.struts.tiles.TilesRequestProcessor: java.lang.ClassCastException: org.apache.struts.tiles.TilesUtilImpl Am I going in the right directi

RE: JBoss-3.0.4 and Tomcat-4.1.12,Problem with Deployment and ApplicationREsources

2003-04-01 Thread Anthony . Leon
You have ; de.picasso.client.PicassoProperties INF/classes/de/picassoclient/PicassoProperties.properties So the XML should read; de.picassoclient.PicassoProperties -Original Message- From: Thilko Richter [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 07:54 To: [EMAIL PROTE

RE: Message resources are not loaded until an action is called.

2003-04-01 Thread Anthony . Leon
Works now - thanks. -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED] Sent: 01 April 2003 14:08 To: Struts Users Mailing List Subject: Re: Message resources are not loaded until an action is called. is your ActionServlet load priority set as 1 or maybe 2 to ensure tha

Problem forwarding from a Tile or Template.

2003-04-01 Thread Anthony . Leon
I get "Cannot forward because the response has already been committed". I get the same response using Templates or Tiles. Here is a simplistic version of my problem. My JSP is ... <%@ taglib uri="/WEB-INF/tld/struts-tiles.tld" prefix="tiles" %> one-pane-template.jsp is <%@ taglib uri

Message resources are not loaded until an action is called.

2003-04-01 Thread Anthony . Leon
I am using struts 1.1rc1 & TomCat 3.3. In my struts-config.xml I have the following line; I have messages.properties in /WEB-INF/classes. If I call a JSP straight after a Tomcat 3.3 restart, I get javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.a