RE: Row

2004-04-14 Thread Indra Gunawan
if you want the transfer of data is also limited , you have to use paging techniques ... there are choices and one of them is to use iBATIS DataLayer component . you can fetch records starting from row n and fetch x records using SqlMap class . -Original Message- From: Andrew Hill [mailto:

Re: Tool for HTML/JSP formatting

2004-04-14 Thread Craig McClanahan
Matthew Fisher wrote: Sorry, I guess that is a bit of a downer. Are Jdeveloper or netbeans free? JDeveloper is not free. Netbeans (http://www.netbeans.org) is. Craig -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED] Sent: Thursday, 15 April 2004 1:54 PM To: 'Struts

Re:

2004-04-14 Thread Craig McClanahan
Julia Weaver wrote: Hi All, I got an error message with the following: It said onload is invalid. Can someone please tell me how I can have onload inside tag? Thanks! I'm afraid you can't. The only legal place in HTML for an onload attribute is on a tag. Craig -

RE: Row

2004-04-14 Thread Andrew Hill
One issue with this is that if there is a *lot* of data then rendering and sending that page to the browser will suffer something of a performance hit. - 100 rows should be ok though, and if you run an compression filter (as discussed in other recent threads) the streaming shouldnt be very intense.

RE: Row

2004-04-14 Thread Matthew Fisher
I've had to do something similar, where I took all the results and put them in tags. Then with a bit of javascript you can hide and display the div you want. Matt -Original Message- From: Sapt [mailto:[EMAIL PROTECTED] Sent: Thursday, 15 April 2004 2:22 PM To: Struts Users Mailing List S

RE: Tool for HTML/JSP formatting

2004-04-14 Thread Matthew Fisher
Sorry, I guess that is a bit of a downer. Are Jdeveloper or netbeans free? -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED] Sent: Thursday, 15 April 2004 1:54 PM To: 'Struts Users Mailing List' Subject: RE: Tool for HTML/JSP formatting Homesite is from Macromedia right?

javascript event

2004-04-14 Thread JavaSoft
Hi all If i have a text field (html:text) and a button submit(html:submit disabled="true") How can I make if i onfocus html:text, my html:submit disabled=false = == thx, a Java Student __ Do you Yahoo!? Yahoo! Tax Center - File onl

RE: when not to use an ActionForm

2004-04-14 Thread Daniel Joshua
Great idea... make use of the nested property! But what would the advantage be of using this "Map" as compared to the request.getParameters()'s "Map"? All I can see that it only would be useful if you did some validation in your ActionForm on the "Map", any other uses? Regards, Daniel -Or

IOException: Stream closed error when using custom tags

2004-04-14 Thread shanmugampl
Hi All, I have a custom tag, which iterates through a data and provides a url to be included during every iteration. When i display the url as a string, everything works fine. But when i try to include it through the tag i am getting the following error. java.io.IOException: Stream closed

Re: Row

2004-04-14 Thread Sapt
and if u don't want to use displaytag, u can put your data in session, and take only 10 data. - Original Message - From: "Sapt" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 11:11 AM Subject: Re: Row > u can try displaytag from disp

RE: Tool for HTML/JSP formatting

2004-04-14 Thread Daniel Joshua
Homesite is from Macromedia right? Not free :( http://www.macromedia.com/software/homesite/ Regards, Daniel -Original Message- From: Matthew Fisher [mailto:[EMAIL PROTECTED] Sent: Thursday, 15 April, 2004 8:42 AM To: 'Struts Users Mailing List' Subject: RE: Tool for HTML/JSP formattin

Re: Row

2004-04-14 Thread Sapt
u can try displaytag from displaytag.org.. - Original Message - From: "Iwan Soenarto (IT)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 10:00 AM Subject: Row I have 100 records. How do I limit the number of row to display per page to 10 ? What techni

Re: when not to use an ActionForm

2004-04-14 Thread Oswald Campesato
Hello, Martin/Andy: I'd like to suggest using JSTL for this type of scenario. You can find a nice explanation at the following URL (my compliments to its author): http://jakarta.apache.org/struts/faqs/indexedprops.html Regards, Oswald Note: I also downloaded the tag-libs project, becaus

Reporting Tool.

2004-04-14 Thread Marcelo Epstein
Hi, I need to create some reports in my application. Which is the best tool available to work with Struts? I read about JasperReports, is it the way to go with Struts? Thanks in advance. Marcelo - To unsubscribe, e-mail: [EMAIL

RE: Row

2004-04-14 Thread Indra Gunawan
If you use jsp pages you can try taglib from http://jsptags.com/tags/navigation/pager/index.jsp good luck -Original Message- From: Iwan Soenarto (IT) [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 10:01 AM To: [EMAIL PROTECTED] Subject: Row I have 100 records. How do I limit t

Row

2004-04-14 Thread Iwan Soenarto (IT)
I have 100 records. How do I limit the number of row to display per page to 10 ? What technique should I use ? Tks Iws

RE: redirecting XML/XSLT to JSP or Vice Versa

2004-04-14 Thread Kunal H. Parikh
Consider the JSTL. JSTL supports XML and XSLT processing. Cheers, Kunal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, 14 April 2004 16:14 To: [EMAIL PROTECTED] Subject: redirecting XML/XSLT to JSP or Vice Versa Hi In the application I am workin

user@struts.apache.org

2004-04-14 Thread Julia Weaver
Hi All, I got an error message with the following: It said onload is invalid. Can someone please tell me how I can have onload inside tag? Thanks! __ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo

Re: Using XDoclet for DynaForms

2004-04-14 Thread Nick Heudecker
Kunil: I've written an XDoclet extension to create DynaForm configs from POJOs. It works quite well, and you can find it at: http://www.systemmobile.com/code/xdoclet-apache-module-sm-1_2.zip I'm still recovering from a disk failure, which explains the paucity of content. On 2004-Apr-15 09:04

an general exception about jdbc for sqlserver200

2004-04-14 Thread asd
hello ,everyone. i happened an matter about my program. the code frag like : * String user = "asd"; String password = "asdddt"; String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver"; String url="jdbc:microsoft:sqlserver://192.168.12.63:1433;Databa

Re: Using XDoclet for DynaForms

2004-04-14 Thread Craig McClanahan
Kunal H. Parikh wrote: Hi All! Is there a recommended way of generating DynaActionForms using XDoclet ? If not, I guess I would end up writing my own ActionForms and inserting XDoclet tags in there. However, is there any performance benefit of using DynaActionForms instead of plain ActionForms ?

Re: how to use JSF tree control in a Struts application?

2004-04-14 Thread Craig McClanahan
snpe wrote: I compile struts-faces2 from cvs and i get next error when I try log in (I register, log off and try log in) : You would get an exception like this if the custom renderers in struts-faces.jar were not registered with JSF, which might in turn happen if you didn't include all the JA

Re: Better peformance: Using static variables or application context object

2004-04-14 Thread Craig McClanahan
Prasad, Kamakshya wrote: Hi All, Performance wise which will be the better way of caching for a web application, using static variables or embedding the object to be cached in the application context object. Unless your server is totally CPU bound, it's unlikely to make any difference at all

RE: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-14 Thread James Holmes
As a side note, I just released a new version of Struts and Faces Consoles that now work with JDeveloper 10g. http://www.jamesholmes.com/struts/ http://www.jamesholmes.com/JavaServerFaces/ I'll post an official notice later. -James -Original Message- From: Christian Bollmeyer [mailto:[E

RE: Tool for HTML/JSP formatting

2004-04-14 Thread Matthew Fisher
I use Homesite 5. It isn't specifically a java tool so it doesn't have all the integration that JDev etc has, but for HTML there is nothing better. Matt -Original Message- From: Arumugam Senthil Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, 14 April 2004 3:09 PM To: Struts Users Mailin

Re: Access to tiles-config_1_1.dtd

2004-04-14 Thread snpe
dtd exits in commons-validator.jar, you need decalaration only If You have old version validator maybe you need this : http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";> This declaration are in begin dtd file in jar files - parser know this catalog ("-//Apache Software Foundation//DTD C

Re: when not to use an ActionForm

2004-04-14 Thread Martin Cooper
"Andy Engle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [EMAIL PROTECTED] wrote: > > > Richard, > > Its not necessary to use ActionForm, but it is always better to use > > one(its my philosophy). But yes it will work the way you are doing > > it. But i rather prefer a ActionForm

Using XDoclet for DynaForms

2004-04-14 Thread Kunal H. Parikh
Hi All! Is there a recommended way of generating DynaActionForms using XDoclet ? If not, I guess I would end up writing my own ActionForms and inserting XDoclet tags in there. However, is there any performance benefit of using DynaActionForms instead of plain ActionForms ? TIA, Kunal --

Re: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-14 Thread Christian Bollmeyer
On Wednesday 14 April 2004 10:24, Christian Bollmeyer wrote: > Finally! > > http://otn.oracle.com/software/products/jdev/index.html (249MB) > > -- Chris > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e

Re: when not to use an ActionForm

2004-04-14 Thread Andy Engle
[EMAIL PROTECTED] wrote: > Richard, > Its not necessary to use ActionForm, but it is always better to use > one(its my philosophy). But yes it will work the way you are doing > it. But i rather prefer a ActionForm which can also help in future > for any validation or in future if decided to add m

Re: when not to use an ActionForm

2004-04-14 Thread Vijay . Kukreja
Richard, Its not necessary to use ActionForm, but it is always better to use one(its my philosophy). But yes it will work the way you are doing it. But i rather prefer a ActionForm which can also help in future for any validation or in future if decided to add more attributes to the form.. Vija

Re: Strange problem with the validator.

2004-04-14 Thread Nathan Maves
Never mind! found the problem... one of those ID10T errors. Nathan On Apr 14, 2004, at 3:33 PM, Nathan Maves wrote: Anyone know why the error message does not show the maxlength argument. # Purpose can not be greater than characters. # Description can not be greater than characters. notice it

Re: StyleClass

2004-04-14 Thread Dean A. Hoover
Maybe you meant "styleClass" (first character lowercase) Dean Hoover Teixeira, Jorge (Informaker) wrote: What's up guys, I wath use the property StyleClass on TagLib of struts, I done this: The question is, need I make anymore? Becose this return one error "StyleClass not found". Need I co

StyleClass

2004-04-14 Thread Teixeira, Jorge (Informaker)
What's up guys, I wath use the property StyleClass on TagLib of struts, I done this: The question is, need I make anymore? Becose this return one error "StyleClass not found". Need I configure anyfile? FT. - To unsubscrib

Strange problem with the validator.

2004-04-14 Thread Nathan Maves
Anyone know why the error message does not show the maxlength argument. # Purpose can not be greater than characters. # Description can not be greater than characters. notice it places the first argument (name of the field) but not the max length. from the validation.xml

Logic:iterate with html:text indexed properties

2004-04-14 Thread Scherger, Derek
I'm having a bit of a problem with the html:text tag in an indexed context... my form bean is arranged as follows: FormBean InnerBean aaa; InnerBean bbb; InnerBean List list; SimpleBean String name; Integer value; Where the elements of the InnerBean li

when not to use an ActionForm

2004-04-14 Thread rmchiriac
Hi, i've got a pretty simple action that takes a couple of params, does some simple parameter validation (in case there are any problems the user is redirected to an error page) and has no html form associated with it (it's called using a GET method from an UI test)... would using an ActionForm

Re: Tool for HTML/JSP formatting

2004-04-14 Thread Arumugam Senthil Kumar
Hi, Jdeveloper,netbeans are good tool for html and jsp. Regards, A.S.Kumar. Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.

Re: Access to tiles-config_1_1.dtd

2004-04-14 Thread MyHotspotzz Mail
Thanks, It looks like I'm missing the 1.1 in the public name and a different domain name. Do you really think that this could be the solution? I have been able to download the dtd file from jakarta.apache.org. I just pinged www.jakarta.org and I don't get DNS resoluton. http://www.jakarta.org/str

Re: Slightly OT How to set a request header using JSTL

2004-04-14 Thread Jim Collins
Thanks for you help Craig. I think the tag looks the cleanest way and I'll use that. Regards Jim. - Original Message - From: "Craig McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, April 14, 2004 5:50 AM Subject: Re: Slightly OT How to

Re: how to use JSF tree control in a Struts application?

2004-04-14 Thread snpe
I compile struts-faces2 from cvs and i get next error when I try log in (I register, log off and try log in) : HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.J

RE: Date validator and I18N

2004-04-14 Thread Joe Hertz
I tried to change one piece of my functionality to struts faces. Here's my take. My smallest complaint was that most of what's out there as far as learning JSF still talks about EA4, and JSF has had some significant changes made to it since 1.0 came out. Enough that pretty much any JSP written for

RE: Date validator and I18N

2004-04-14 Thread Takhar, Sandeep
Having the locale stuff is vital for some projects (especially in canada). JSF is on the horizon as well, but I don't know if it impacts formdef or not. I plan on playing with this one a bit. sandeep -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14

RE: Date validator and I18N

2004-04-14 Thread Joe Hertz
Sandeep, That's more or less what I found as well. I gave up eons before you did though. Glad it wasn't just me. My "previous solution" was an utter kludge to BeanUtils.copyProperties and copyProperty. I created something called DateBeanUtils that had had both of these methods, with a DateFormat

"Request Processing Message"

2004-04-14 Thread Eastmond, Benjamin K
Anyone have any examples or ideas on how to create some sort of request processing page? ( ie. Like Travelocity search page ) I would like to be able to go a "processing request ... please wait" page while processing a request and then forwarding or displaying the results of the request. I woul

RE: Calling CGI script

2004-04-14 Thread Joe Hertz
I had a similar problem once, an action needing to call a client's NT executable to generate a file to be emailed to someone. This isn't really a struts problem though. CGI only means it's an application that takes it parameters on the command line and prints whatever it wants to be displayed in

RE: how to use JSF tree control in a Struts application?

2004-04-14 Thread Matthias Wessendorf
Hi, did you look into struts-faces there are two examples(one with tiles) the jsps are all with JSF-"Tags" and there is a -Componentent, the public String method(){ } call a struts-action (on ExternalContext.dispatch) i hope/guess you mean that. cheers, Matthias PS: three backingBeans are

Re: Access to tiles-config_1_1.dtd

2004-04-14 Thread snpe
set tiles-def.xml like : http://www.jakarta.org/struts/dtds/tiles-config_1_1.dtd";> regards On Wednesday 14 April 2004 02:43 pm, MyHotspotzz Mail wrote: > I was seeing a failure to find tiles definitions factory. > I've tracked it down to the tiles-config_1_1.dtd not being accessable from

Re: AW: [OT] Session end notification

2004-04-14 Thread Pani R
Andreas, I'm using it with Tomcat 4.1.30 and invaildation based on timeout works fine. -Pani -- - Original Message - DATE: Wed, 14 Apr 2004 09:32:20 From: "Andreas Solarik" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> Cc: >Sorry

Re: reading and posting

2004-04-14 Thread Stjepan Brbot
I use news (usenet) reader built inside Microsoft Outlook Express and it works just fine. Point your news reader to news://news.gname.org news server. Stjepan Brbot - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

RE: redirecting XML/XSLT to JSP or Vice Versa

2004-04-14 Thread MARU, SOHIL (SBCSI)
I am doing something similar, I have a JSP with the following code Which transforms using XSL. Now you need to create an xsl and then use the .jsp extension instead. Your XSL should being like this <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> http://www.w3.org/1999/XSL/Transform"

RE: Calling CGI script

2004-04-14 Thread MARU, SOHIL (SBCSI)
You can do that by using the Java Runtime.getRuntime().exec(command) Where exec is the command on your file system. -Original Message- From: Alain Van Vyve [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 8:48 AM To: Struts Users Mailing List Subject: Calling CGI script My app

Access to tiles-config_1_1.dtd

2004-04-14 Thread MyHotspotzz Mail
I was seeing a failure to find tiles definitions factory. I've tracked it down to the tiles-config_1_1.dtd not being accessable from the jakarta web site. I have a copy of the tiles-config_1_1.dtd in my WEB-INF folder. How do I get Tomcat to find it? J.R.

Calling CGI script

2004-04-14 Thread Alain Van Vyve
My application is using Struts in a Tomcat 4.1.29 environment. I'm in a situation where an Action has to call a CGI script that will be responsible to initiate a payment process (third party) I have found the way how to modify my Tomcat environment ... that's not the issue ! My problem is : How

Re: [OT] Session end notification

2004-04-14 Thread Chiming Huang
Thank you Pani. I will check it out. Chiming - Original Message - From: "Pani R" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, April 13, 2004 6:59 PM Subject: Re: [OT] Session end notification > > Check > > javax.servlet.http.HttpSessionListen

RE: Nesting of one tag within another.

2004-04-14 Thread Lowery, Mat
The issue here is the when you change the to an . If you're using the EL version of the Struts html taglib, you could do something like: -Original Message- From: Velmurugan M [mailto:[EMAIL PROTECTED] Sent: Tuesday, Apri

how to use JSF tree control in a Struts application?

2004-04-14 Thread Sharath Reddy
hello, i have an existing struts application, and i need to add a tree control. i thought i would take a look at JSF. however, the only concrete example i found for integrating struts and JSF: http://www-106.ibm.com/developerworks/library/j-integrate/ deals only with a simple form. is it possibl

SV: Validator

2004-04-14 Thread hermod . opstvedt
Hi set validate="false" in your action definition Hermod -Opprinnelig melding- Fra: Zakaria khabot [mailto:[EMAIL PROTECTED] Sendt: 14. april 2004 13:41 Til: Struts Users Mailing List; Struts Developers List Emne: Validator Hi all, In my JSP I have many "Submit(s)" to the same action.

RE: Validator

2004-04-14 Thread Takhar, Sandeep
will do a submit but doesn't do a validate. Populate will still work. sandeep -Original Message- From: Zakaria khabot [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 7:41 AM To: Struts Users Mailing List; Struts Developers List Subject: Validator Hi all, In my JSP I have man

Validator

2004-04-14 Thread Zakaria khabot
Hi all, In my JSP I have many "Submit(s)" to the same action. In someones I want to use the validator but in the others I want to execute the action without using validator. I am using validation.xml How to do this??? Thanks

RE: Date validator and I18N

2004-04-14 Thread Takhar, Sandeep
I have coded LocaleBeanUtils, but had to subclass the whole thing since it seems like it is a version behind. In the subclass I changed a couple of lines in some methods to make it work with some converters I created. Someone else has a solution that I haven't had time to look at yet: http://w

RE: Https forwarding question

2004-04-14 Thread Erez Efrati
Thanks a lot, Erez -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 9:58 AM To: Struts Users Mailing List Subject: Re: Https forwarding question Actually with sslext, you would also want to use the sslext taglib link, so that the URL gets wr

SV: Tiles - Specify Error page ?

2004-04-14 Thread hermod . opstvedt
Hi Since an error can occur on any .jsp file (Tiles is just a collection of .jsp files), you need to add : <%@ page errorPage="/jsp/error.jsp" session="true"%> on ALL .jsp files - Do not have your error page as another tile. The error page should be as simple as possible to avoid any errors occu

[OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-14 Thread Christian Bollmeyer
Finally! http://otn.oracle.com/software/products/jdev/index.html (249MB) -- Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Hopefully a common Validation error

2004-04-14 Thread Adam Hardy
Are you copying the .properties file across to your deploy directory? When you do a compile, you get all the class files from javac in your build directory, but you have to explicitly copy other files (i.e. .properties) using ant or something. On 04/12/2004 07:56 PM Patrick wrote: Hello, Thank

Re: Date validator and I18N

2004-04-14 Thread Adam Hardy
When I last looked, BeanUtils had a bug/deficiency in it that meant it didn't convert dates by locale, despite having the classes & methods which looked like it should. Just a warning - although that was a few months back. Adam On 04/14/2004 04:51 AM Joe Hertz wrote: Yes, you can get the dates

Re: Https forwarding question

2004-04-14 Thread Adam Hardy
Actually with sslext, you would also want to use the sslext taglib link, so that the URL gets written out with HTTPS as well. On 04/14/2004 03:05 AM Bill Siggelkow wrote: I know of two ways -- If you are using the Struts SSL Extension (http://sslext.sourceforge.net) you can specify if an action

RE: Problem with BeanUtils

2004-04-14 Thread YOUSFI
I found the problem. The Object passed to getLibelle was in fact a String. What happen is the following : - before passing the object (TypAbonne ) to getLibelle I put it in a Collection in a ActionForm property, - then I read this collection in the following way : Object

RE: Tiles - Specify Error page ?

2004-04-14 Thread Janarthan Sathiamurthy
Hi, Let me makes things more clear. My main tiles file - Should i place the errorPage attribute here ? My content file i.e., my_contents.jsp Should i place the errorPage attribute here ? <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ tagli

AW: [OT] Session end notification

2004-04-14 Thread Andreas Solarik
Sorry to continue this, but: does sessionDestroyed(...) actually allow one to receive the invalidation of a session, especially after an invalidation based on a timeout? I can dimly remember some problems with tomcat (an early, stable version 4.something) using this feature; we ended up looking fo

SV: Tiles - Specify Error page ?

2004-04-14 Thread hermod . opstvedt
Hi On each and every .jsp file Hermod -Opprinnelig melding- Fra: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] Sendt: 14. april 2004 08:16 Til: Struts Users Mailing List Emne: Tiles - Specify Error page ? Hi, I am using Tiles that comes bundled with struts1.1. I have a main templat