data-source key question

2002-06-15 Thread Jing Zhang
Hi All, I'm trying to specify data-source key in struts-config.xml following struts-config_1_0.dtd and discussions in struts mail archive, but couldn't get it work. Please see details below. What did I do wrong? Please reply to me directly as I'm not on this alias yet. Thanks, Jing Here is

Re: Sample code for handling variable number of text fields

2002-06-15 Thread Ted Husted
You can just use an array. private String[] key= null; public String[] getKey() { return this.key; } public void setKey(String[] key) { this.key = key; } TABLE html:form action=/item/StoreKey logic:iterate name=RESULT property=iterator id=row TR THname/TH

RE: pager taglib !!

2002-06-15 Thread John Menke
Thomas, I too have a question: the JSP pager taglib documentation states: You must provide your own looping data source. - but does not provide any example. I think this is where most people get stuck. do you have any example code that could show the tag in action with the looping data

Any database tag for simple selects?

2002-06-15 Thread Tuncay Baskan
Struts still is somewhat cumbersome for me. It needs time to master it perhaps, and probably I have some way to go. My first question: Is there any tag library that are used only for presenting some database data on JSPs? A conceptual tag library like the following would be helpful, IMHO.

Re: Any database tag for simple selects?

2002-06-15 Thread James Holmes
Take a look at the JSTL: http://jakarta.apache.org/taglibs/index.html -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Tuncay Baskan [EMAIL PROTECTED] wrote: Struts still is somewhat cumbersome for me. It needs time to master it perhaps, and probably I have some way to go.

Re: Any database tag for simple selects?

2002-06-15 Thread Tuncay Baskan
Great thanks! On Sat, 2002-06-15 at 16:50, James Holmes wrote: Take a look at the JSTL: http://jakarta.apache.org/taglibs/index.html -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Tuncay Baskan [EMAIL PROTECTED] wrote: Struts still is somewhat cumbersome for me.

Re: Any database tag for simple selects?

2002-06-15 Thread Ted Husted
Scaffold is a reusable package, like the Validator or Tiles. The only part that needs to be developed for Artimus is what is under the Artimus package. The rest is reusable, like the Struts framework itself. After this development phase, the two will be split back out again. The nice things

Clustering iin Weblogic

2002-06-15 Thread Shishir Awasthi
Hi, I would like to know how can I use 'Configuring In-Memory HTTP Replication in a Cluster' using struts and Weblogic 6.1 Will this suffice session-descriptor session-param param-name PersistentStoreType

Re: Any database tag for simple selects?

2002-06-15 Thread Ted Husted
Tuncay Baskan wrote: Please don't get me wrong, there is no offence. I just want to understand the picture better. Again please don't get me wrong. These links might help: http://www.servlets.com/soapbox/problems-jsp.html http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html

Encrypting/hiding querystring

2002-06-15 Thread rayaku
Hi, Does struts 1.0.2 support encrypting/hiding the querystring that is with a href= element. There are several html:link elements in struts which almost do the same job of html a href, So is there any way to encrypt querystring information by html:link tags or any other way to deal this. I have

RE: Encrypting/hiding querystring

2002-06-15 Thread Andrew Hill
I could be wrong, but I dont think there is much you can do about the query string showing in the browser bar when you use a GET request (as results from a href=... ). Now one thing you could do, but will probably prove impractical is to use a POST request. (Im presenting this idea more for

How to add an attribute to the request in the validate() method?

2002-06-15 Thread @Basebeans.com
Subject: How to add an attribute to the request in the validate() method? From: Kriss [EMAIL PROTECTED] === Hi all, I´m trying to add an parameter in the validate method in a form bean to the request like request.setAttribute(id, commentID); Unfortunately, this has no effect when the validate

Re: How to add an attribute to the request in the validate() method?

2002-06-15 Thread Vincent Aumont
I´m trying to add an parameter in the validate method in a form bean to the request like request.setAttribute(id, commentID); As the name indicates, setAttribute sets an attribute, not a parameter. A possible solution would be to define a hidden field in your form. -vincent. -- To