RE: Help with framesets

2003-11-04 Thread Jose Ramon Diaz
I think the framesStruts question is a bit more complicated. I write here what I told in another message several days ago. (nobody tells me what they think... so I continue posting it... :) if you use frames, please tell me what you think) Imagine if one action may load the same frame set but

Re: Error when using Java Version 1.3.1_09

2003-11-04 Thread Dirk Markert
Hello Sashi, *** SR Hi SR The following code which is used to iterate works fine when using Java SR Version 1.3.1_07, but when we started to use 1.3.1_09 , we get an SR error. Seems like a problem of your jdk 1.3.1_09. Struts 1.1

Re: validation not working

2003-11-04 Thread Rajat Pandit
as far as i know, the ActionServlet wont direct to the Action class until the ActionForm returns a null in the validate() method. got any better idea? Yoganarasimha G wrote: u need to have failure return path in the action / tag. like forward name=Failure path=/pages/layouts/page1.jsp

Re: validation not working

2003-11-04 Thread Dirk Markert
Hello, *** RP hello all, RP i have a form, which inputs a number of units. the problem is that in RP case of a validation error. the page does not return back to the form. You want to return to updateProductForm.jsp? Does this jsp

RE: Indexed Array List Properties (Repost)

2003-11-04 Thread shirishchandra.sakhare
getForumGroup will be right..Actually u can name the property whatEver you want..I mean you can call it even getXyz..The only important point is when you use the struts tags, the property attribute should be the name of the getter method minus the get..So in your case it will be forumGroup or

Application objects

2003-11-04 Thread Mathieu Grimault
Hi all, I would like to display the number of users connected (number of session) to my application. Is there a way to do this ? Another question, Can we implements code in the session class (by extending the class) and can we store/access/ modify objects in the ServletContext during

validation.xml

2003-11-04 Thread Rajat Pandit
hello, i am looking for some documentation on the validation(Client end) for struts. there are so many of them, date, creditcard etc, and i am still using my own regex for making them work. i would be glad if someone could give me pointers for tutorials/documentation etc. thanks -- Rajat

validation stuff

2003-11-04 Thread Rajat Pandit
hello, more on validation. in case there is a simpel form for which i want to implement validation. is there someway i can keep the jscript in a js and let only the dynamic part of the js to be loaded. keeping this in the js file would ensure that the browser can cache it and use it later.

Re: validation not working

2003-11-04 Thread Rajat Pandit
Dirk Markert wrote: Hello, *** RP hello all, RP i have a form, which inputs a number of units. the problem is that in RP case of a validation error. the page does not return back to the form. You want to return to

Re[2]: validation not working

2003-11-04 Thread Dirk Markert
Hello Rajat, *** RP Dirk Markert wrote: Hello, *** RP hello all, RP i have a form, which inputs a number of units. the problem is that in RP case of a

Struts form submission using POST

2003-11-04 Thread chinmay . r . parikh
How to submit a form to an external web link (not part of the current web application)? In struts action, all links are interpreted relative to web context and therefore forward object specified in struts-config does not work. e.g. public ActionForward execute(ActionMapping mapping,

RE: Deploying struts application on iplanet 6.0 or 4.0

2003-11-04 Thread alok . garg
Hello James, I have dowloaded the iplanet 6.0 service pack 4.0 (web server) but I am still unable to deploy the struts application can anybody tell me what all jars I need to keep in the classpath?? Alok Garg Polaris Software Lab Ltd. ( + 91 - 022 - 28290019 Ext. # 1308 )

RE: Struts form submission using POST

2003-11-04 Thread Andrew Hill
What are you actually trying to do here? a.) Have the browser directly submit the form somewhere else - or - b.) have the browser submit to *your app* first and then and forward outside from the action? if(a) then your execute code is irrelevant as you wont be going through the action on submit

Servlets 2.4

2003-11-04 Thread Christian Bollmeyer
Hi, just read the following article from OTN: http://otn.oracle.com/oramag/oracle/03-nov/o63dev_jsp.html which basically gives an overview on the new features of JSP 2.0/Servlets 2.4. I stumbled over this passage: This release supports only HTTP 1.1, so Servlet 2.4 applications won't be able

problem

2003-11-04 Thread sairam manda
Hello Sir I am new to struts . I am using DynaForm .I get java.lang.NullPointerException I do not know the problem .Please some body help me with this.I attached submit .jsp ,struts-config.xml and SubmitAction.java . regards sairam

RE: Struts form submission using POST

2003-11-04 Thread chinmay . r . parikh
I am submitting a form to external site (no form processing is involved at the client side). All parameters that need to be passed to external site are hidden variables on the page. I am not sure how to use 'action' attribute of the page. In the past I have attempted to use html:link with

RE: problem

2003-11-04 Thread Andrew Hill
Im not familiar with dynaforms myself so cant be of much help, but to get a better response from list members you will want to add a bit more info to your email about where you are getting the exception, and to include the stacktrace. Using a meaningful subject line for your email will also

RE: Struts form submission using POST

2003-11-04 Thread shirishchandra.sakhare
Use struts tags for everything except for the form tag...The in the action attribute you can give the url to external site.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 11:35 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject:

I get a blank page

2003-11-04 Thread sairam manda
Hello Sir, I get blank page when I execute my submit.jsp . I have a simple strut application with a DynaForm and actionclass and a submit.jsp . I do not understand the problem because I just get a blank page .Please somebody help me with this problem. I attached my submit.jsp

Re: I get a blank page

2003-11-04 Thread Mark Lowe
what do you mean by execute my (your) submit.jsp ? I could be wrong, but looks like you're trying to be a bit of a picasso with your property names. On Tuesday, November 4, 2003, at 10:50 AM, sairam manda wrote: Hello Sir, I get blank page when I execute my submit.jsp . I have a simple

Deployment issues with iws 6.0 service pack 4.

2003-11-04 Thread alok . garg
Hello, When deploying the struts application in the iplanet web server 6.0 service pack 4 we are getting the following error: JSP: JSP1x compiler threw exception org.apache.jasper.compiler.CompileException: C:/iPlanet/Servers/docs/gistruts/jsp/login.jsp(0,0) Unable to open taglibrary

Re: I get a blank page

2003-11-04 Thread sairam manda
Hello Sir, I mean If I type http://localhost.8080/struts-parameters/submit.jsp this as url in my browser I just get a blank page. From: Mark Lowe [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: I get a

RE: I get a blank page

2003-11-04 Thread Andrew Hill
shouldnt that be: http://localhost:8080/struts-parameters/submit.jsp ? -Original Message- From: sairam manda [mailto:[EMAIL PROTECTED] Sent: Tuesday, 4 November 2003 19:16 To: [EMAIL PROTECTED] Subject: Re: I get a blank page Hello Sir, I mean If I type

Re: 2 problems with bean:include and bean:write whilst including results of action in page and behind firewall with NAT.

2003-11-04 Thread Fred Bloggs
Kris Thank you for your prompt response. I have now tried all your suggestions but unfortunately they do not work. When I tried global-forwards forward name=mostRecentNews path=/getmostrecentnews.do/ ... /global-forwards And then used it in the page: bean:include id=GetMostRecentPosts

Help Req on Iterate Tag using HashMap

2003-11-04 Thread Shakti
Hi All, I am keeping some table data in a HashMap . My Table is in this form : UID #EMP Details -Date of joining -Date of birth -Misc Detail Now i am creating an EMPDetails bean and storing the bean in a hash map with UID # as the key. Can anyone

Re: Servlets 2.4

2003-11-04 Thread Kris Schneider
My reading of the 2.4 spec is that HTTP/1.1 support is *required*, not that it's the only version supported. Hang on, here's the quote from section SRV.1.2 What is a Servlet Container? The required versions of the HTTP specification that a container must implement are HTTP/1.0 and HTTP/1.1.

jboss-tomcat 3.2.2

2003-11-04 Thread tcs 777
hi all, in my struts-forms i've links to style-sheets, images, etc. these links refer to the root, because this is where the corresponding actions are mapped to. in jboss i get the folowing error: ..[Engine] StandardHost[localhost]: MAPPING configuration error for request URI

Re: 2 problems with bean:include and bean:write whilst including results of action in page and behind firewall with NAT.

2003-11-04 Thread Kris Schneider
Are you using a logic:forward tag anywhere in the JSP, or a scriptlet that effectively performs a RequestDispatcher.forward? On a side note, I'd recommend ditching the template tags in favor of the more basic jsp:include or Tiles. For Struts 1.1, the template stuff has been deprecated. Quoting

Re: Servlets 2.4

2003-11-04 Thread Christian Bollmeyer
- Original Message - From: Kris Schneider [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 1:48 PM Subject: Re: Servlets 2.4 My reading of the 2.4 spec is that HTTP/1.1 support is *required*, not that it's the only version supported.

Re: validation not working

2003-11-04 Thread Rajat Pandit
hello dirk, thanks a lot man!, i couldnt though follow ur advice, sinci i also had to pass argument to the action. which is not possible in the input... tag. but i got the idea, it was becoz of the bean which iwas in the request scope. i fixed it by saving it in the session scope. now just got

Re: Help Req on Iterate Tag using HashMap

2003-11-04 Thread Sashi Ravipati
Hi This is how we iterate in a jsp page table width=100% border=0 cellpadding=0 cellspacing=1 logic:iterate id=sbList name=addProviderForm property=assocSBList indexId=i tr tdhtml:text name=sbList property=sbBeginDate maxlength=10 size=10 //td tdhtml:text name=sbList property=sbEndDate

Re: 2 problems with bean:include and bean:write whilst including results of action in page and behind firewall with NAT.

2003-11-04 Thread Fred Bloggs
Kris I am not using any logic:forward tags anywhere. The only logic tags I use are logic:messagesPresent. As for the side note: I was thinking of moving to Tiles very soon but I did not want confuse myself further by introducing additional changes. I.e. I have not used Tiles before. (I am

Tag Map on Struts

2003-11-04 Thread Mauricio T. Ferraz
How a use this (for the link)tag on struts to: map name=Map2 area shape=rect coords=119,27,187,42 href=mapadosite.htm area shape=rect coords=223,26,289,44 href=http://www.teste.com.br; target=_blank area shape=rect coords=129,0,187,15 href=http://www.teste2/index.htm; target=_blank area

Help: Simple Dynaform + String Collection + JSP + populate (Repost)

2003-11-04 Thread Henry Voyer
Hi everyone I have a really simple case that I just cant solve. I have A simple class public class user { private Collection emails = new ArrayList(); private String name; public Collection getEmails() … Public void setEmails (Collection emails) // String Collection as [EMAIL PROTECTED] …

Re: sending object with query. (Repost)

2003-11-04 Thread Henry Voyer
Hi everyone This is something I want to achieve in my app. I know that u can receive objects via URL using something like this URL url = new URL(notificationServiceURL + parameter); ObjectInputStream is = new ObjectInputStream(url.openStream()); Map hash = (Map)

RE: Deploying struts application on iplanet 6.0 or 4.0

2003-11-04 Thread James Mitchell
That's because 6.0 != 6.1 -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 (c) 770.822.3359 (h) AIM:jmitchtx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 4:51 AM To:

Re: Problem with html:select tag calling set method in form

2003-11-04 Thread damian_bradicich
Is this the correct functionallity of struts?? if you have a multiple selection list box, and everything is deselected, the setter method in the form object is not getting called. It only gets called if there are 1 or more entries in the list box selected ___

RE: Problem with html:select tag calling set method in form

2003-11-04 Thread shirishchandra.sakhare
This looke like correct to me.Because if you do not select anything, that also means that there wont be any value sent for that request parameter.And so the setter will not be called. You can runa simple check.Check by calling request.getParameter if any parameter with the name for the select

Re: Populating Web Forms After Validation Errors

2003-11-04 Thread Susan Bradeen
Hi Joe, This question is popular, and you can find a number of threads regarding repopulation after form validation in the archives. See below for some comments. On 11/03/2003 08:13:34 PM Joe Krause wrote: I have a web form that includes several dropdown menus that must be populated

nested iterate

2003-11-04 Thread struts
Hi all, Question: I've two collections in the session. A collection salesGroup and a collection salesPeople. salesGroup contains groupId and groupName. salesPeople contains salesUserName and salesGroupId (FK). How can i display all salesGroups and all salesUsers in it Like Salesgroup1

Re: nested iterate

2003-11-04 Thread David Graham
Here's how you can display the groups using the JSTL http://java.sun.com/products/jsp/jstl/ c:forEach var=group items=${salesGroup} c:out value=${group.groupName}/ /c:forEach That should get you started. David --- struts [EMAIL PROTECTED] wrote: Hi all, Question: I've two

Re: [OT] Re: What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-04 Thread ZYD
I found something at http://www.postgresql.org/docs/7.3/static/jdbc-datasource.html Your suggestion is similar to what Struts In Action suggests, on page 125: If your database management system provides its own DataSource that can be used with Struts, you should consider using that

RE: Problem with html:select tag calling set method in form

2003-11-04 Thread damian_bradicich
I was thinking that was the case, but was hoping otherwise, I'll have to come up w/ a javascript solution. thx for the help Shirish ___ Damian Bradicich Software Developer Scientific Technologies Corporation Tel: (603) 471-4712 Email: [EMAIL PROTECTED] Web

Re: What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-04 Thread ZYD
I tried to use Tomcat's datasource pool via JNDI, but things not going well. I got the following exception when I tried to get connection: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class ' ' for connect URL 'null', cause: java.lang.NullPointerException at

Re: Application objects

2003-11-04 Thread Ruth, Brice
The Tomcat manager application can show how many active sessions a particular application has, so I imagine its possible - probably depends on the particular container. I'm not sure about extending the session class, I imagine so, though I wouldn't know where you would indicate that *your*

html:link ???

2003-11-04 Thread Mauricio T. Ferraz
Whats the diference between: html:link action=mypage.jspMy Page/html:link and html:link page=mypage.jspMy Page/html:link Thanks!!!

Re: html:link ???

2003-11-04 Thread Ruth, Brice
the action attribute has to reflect an action-mapping that is defined in your struts config file. the page attribute should start with a '/' and will output in HTML the correct URL to the resource, based on the web-app that you're running - its purpose is to allow module-relative naming of

OT: Formatting Negative Numbers

2003-11-04 Thread Menke, John
I have asked this question on the TagLib list with no luck. Hoping this is not too annoying asking here :) I have a requirement in my application that states that negative numbers should be formatted in parenthesis in red without the negative sign. Is there any way to do this in JSTL

RE: Problem with html:select tag calling set method in form

2003-11-04 Thread shirishchandra.sakhare
what is it you are trying to do?I mean why the setter should be caled when nothing is selected? Just curious :-)) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 4:41 PM To: Struts Users Mailing List Subject: RE: Problem with

Re: OT: Formatting Negative Numbers

2003-11-04 Thread Ruth, Brice
I believe a taglib to do this has already been written, check here: http://www.servletsuite.com/servlets/numtag.htm Google's your friend :) Menke, John wrote: I have asked this question on the TagLib list with no luck. Hoping this is not too annoying asking here :) I have a requirement in

jsp error

2003-11-04 Thread Rajat Pandit
http://www.mail-archive.com/[EMAIL PROTECTED]/msg48219.html pls have a look at this, i am facing a similar problem. can someone pls help me with this? -- Rajat Pandit | [EMAIL PROTECTED] +91 612 3117606 [ Developer and Part Time Human Being]

Re: Working with UTF-8 and problems with German Umlauts

2003-11-04 Thread Jim Theodoridis
I had the same problem in Greeks The first steep is to follow the instructions below http://www.anassina.com/struts/i18n ( If the page dos not displays tell me to send u via email ) The second step, if u use a database, to retrieve data to work on UTF-8 so database driver must support it. for

Struts, Tomcat And Performance

2003-11-04 Thread Jonathan Holloway
Does anybody have any information, case studies or figures they can share on the performance of struts under tomcat. Whats the maximum number of simultaneous users that can be supported by a single tomcat instance running struts? I've got up to around 40-60 but need to increase this to more

RE: Application objects

2003-11-04 Thread David Friedman
Mathieu and Ruth, If you want read-only access to session information like that, here are some taglibs around I saw last month (but never used) that might fit your needs: http://www.servletsuite.com/servlets/sesstag.htm And http://www.servletsuite.com/servlets/sessadmtag.htm -Original

RE: why jstl does not work rightly

2003-11-04 Thread Karr, David
Ok, let's see. Are you sure you have a valid taglib directive in your JSP page (not in the web.xml)? Do a view source on the generated page to make sure you don't have c:out ... in the generated page. Have you tried the same application in the latest Tomcat 4.1.x version? -Original

Re: OT: Formatting Negative Numbers

2003-11-04 Thread Kris Schneider
Check the JavaDoc for java.text.DecimalFormat. A format pattern can contain an optional negative subpattern. Once your pattern's defined, you can use JSTL's fmt:formatNumber (or Struts' bean:write) to format the output. Quoting Menke, John [EMAIL PROTECTED]: I have asked this question on the

RE: Problem with html:select tag calling set method in form

2003-11-04 Thread damian_bradicich
We have a couple of pages which use the same form (advanced and basic search), so the reset method can't be used to clear the fields (as you would for any normal pages). I was hoping that the setter would be called to reset the field, so I am putting javascript in to null out the field in the

Re: Struts, Tomcat And Performance

2003-11-04 Thread Vic Cekvenich
You are of by a few orders of magnitude (2,000 to 4,000 concurrent is what I get using j:Rockit VM) A nice thing about layered MVC architecture is that you can stress test a layer, the Model layer for example. I use OpenSTA + DBMonster to simulate. I use JaMon to monitor live app., so I know

Re: html:link ???

2003-11-04 Thread Mauricio T. Ferraz
Thanks for help, Ruth, Brice []´s Mauricio - Original Message - From: Ruth, Brice [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 2:07 PM Subject: Re: html:link ??? the action attribute has to reflect an action-mapping that is defined

RE: Application objects

2003-11-04 Thread Yansheng Lin
This is what I did: implements javax.servlet.http.HttpSessionListener This way you don't get tied up with Struts. -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: November 4, 2003 9:24 AM To: Struts Users Mailing List Subject: RE: Application objects

Re: Struts, Tomcat And Performance

2003-11-04 Thread Brice Ruth
Hey, Vic - I'm looking to do some stress testing of our site before we deploy, can you recommend any good reference books/sites to get started in this area? Brice Vic Cekvenich wrote: You are of by a few orders of magnitude (2,000 to 4,000 concurrent is what I get using j:Rockit VM) A nice

[OT] Simple poll and shoutbox apps compatible with Struts?

2003-11-04 Thread jbaker
Hi: I'd appreciate any pointers to a simple 1-question poll app and/or a shoutbox app that are compatible with struts. There are zillions of these in php and asp, but I haven't been able to find any that are java-based. It wouldn't be a big task to build either of these from scratch, or port

RE: Beginner Struts

2003-11-04 Thread Ramadoss Chinnakuzhandai
-Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 5:26 PM To: Struts Users Mailing List Subject: Re: Beginner Struts Ramadoss Chinnakuzhandai wrote: Can anybody suggest which is the best book for beginner to understand Struts1.1 in a

Re: Debug output

2003-11-04 Thread Micael
Look in WEB-INF/classes. At 02:06 PM 11/3/2003, you wrote: How do I adjust the logging level of struts? I am getting way too many DEBUG messages.. Peter -- This message is intended only for the personal and

Re: What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-04 Thread Paul Thomas
On 04/11/2003 02:43 ZYD wrote: I tried to use Tomcat's datasource pool via JNDI, but things not going well. I got the following exception when I tried to get connection: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class ' ' for connect URL 'null', cause:

RE: Debug output

2003-11-04 Thread Norr, Peter
Does anyone have more detail on how to adjust the logging level in struts? Peter -Original Message- From: Micael [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 2:10 PM To: Struts Users Mailing List Subject: Re: Debug output Look in WEB-INF/classes. At 02:06 PM 11/3/2003,

RE: Debug output

2003-11-04 Thread Yee, Richard K,,DMDCWEST
Peter, Try setting the debug parameter for the action servlet in the web.xml file to 0. Also, if you use Log4j, you can set the logging level of org.apache.struts to something higher than DEBUG. -Richard -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: Struts, Tomcat And Performance

2003-11-04 Thread Vic Cekvenich
OpenSTA Read the great step by step tutorial that comes with it. Brice Ruth wrote: Hey, Vic - I'm looking to do some stress testing of our site before we deploy, can you recommend any good reference books/sites to get started in this area? Brice Vic Cekvenich wrote: You are of by a few

Re: Struts, Tomcat And Performance

2003-11-04 Thread Brice Ruth
From the homepage: ... OpenSTA is designed to be used by [snip] technically proficient individuals. ... Yikes! That's a tall order :) Vic Cekvenich wrote: OpenSTA Read the great step by step tutorial that comes with it. Brice Ruth wrote: Hey, Vic - I'm looking to do some stress testing

Struts Best Practices

2003-11-04 Thread Manish Singla
I am looking for resources (links/books/suggestions) for Struts best practices. We are migrating a huge WEB app from (40% struts 60% in 4 other MVC frameworks) to 100% struts. We want to document/standardize as our team is at 5 different geographic locations. Thanks Manish Singla

Re: Debug output

2003-11-04 Thread Manish Singla
Following link may answer your problem http://jakarta.apache.org/struts/userGuide/configuration.html#config_logging Thanks Manish Norr, Peter wrote: Does anyone have more detail on how to adjust the logging level in struts? Peter -Original Message- From: Micael [mailto:[EMAIL

Re: ActionMessage key location

2003-11-04 Thread Manish Singla
Hope this helps message-resources parameter=MyTerms null=false/ message-resources parameter=MyMsgs null=false key=messagesOne / message-resources parameter=resources.MyOtherMsgs null=false key=messagesTwo / Lukas Bradley wrote: Hi all, Is there any way to have an ActionMessage key/value pair

struts and filters

2003-11-04 Thread jeff
will struts work with filters ? i am using filters now, and want to start using struts. thanks, jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts Best Practices

2003-11-04 Thread Vic Cekvenich
iBatis.com Petstore 3 is a good place to start. I also try to make basicportal.sf.net a bP (best Practice) that build on above example. As far as books I am writing my 2nd Struts book (first one was out in 2001) that happens to be titled best practice Struts but the draft of it is only for

Re: struts and filters

2003-11-04 Thread atta-ur rehman
sure, it will! - Original Message - From: jeff [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 1:37 PM Subject: struts and filters will struts work with filters ? i am using filters now, and want to start using struts. thanks,

Re: struts and filters

2003-11-04 Thread Vic Cekvenich
jeff wrote: will struts work with filters ? Yes. .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts and filters

2003-11-04 Thread David Graham
--- jeff [EMAIL PROTECTED] wrote: will struts work with filters ? i am using filters now, and want to start using struts. The two topics are not really related. You can use one without the other or together. David thanks, jeff

html:text - Only ActionForm

2003-11-04 Thread Giovani Salvador
Hi all. Does the html:text tag work only with action form? For example, can an action class put an object in the request and the html:text tag obtain this object and its properties or this tag only works in conjunction with action form? Thanks in advance Giovani Salvador Procergs

RE: html:text - Only ActionForm

2003-11-04 Thread David Friedman
It works with beans in you have imported into your JSP page using the 'name=' attribute. name The attribute name of the bean whose properties are consulted when rendering the current value of this input field. If not specified, the bean associated with the form tag we are nested within is

Re: html:text - Only ActionForm

2003-11-04 Thread Giovani Salvador
Thanks David...i know it´s my friend :) I really did not see that. Giovani Salvador Procergs - Original Message - From: David Friedman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 9:36 PM Subject: RE: html:text - Only ActionForm It

Javascript question...

2003-11-04 Thread Jacob Wilson
Hi Folks... One more javascript question... I have a page that consists of date fields as select boxes... say optionDay, optionMonth, optionYear... I fill the selectboxes calling a javascript function... Now if I have values of day, month, year executing an action. How can I default those

RE: Javascript question...

2003-11-04 Thread Yee, Richard K,,DMDCWEST
Jacob, Why are you doing this in JavaScript to begin with? Why don't you use the struts html tags to display the select boxes and populate the options lists from collections. You can then set attributes in your form bean and have these fields be defaulted automatically. -Richard -Original

RE: Javascript question...

2003-11-04 Thread Jacob Wilson
unfortunately we aren't using Struts here... This is an requirement that comes across all pages -- thinking of making it more generic and Im trying this... Yee, Richard K,,DMDCWEST [EMAIL PROTECTED] wrote:Jacob, Why are you doing this in JavaScript to begin with? Why don't you use the struts

RE: Javascript question...

2003-11-04 Thread Yee, Richard K,,DMDCWEST
Jacob, You wrote: unfortunately we aren't using Struts here...? If you aren't using Struts then a) why are you asking this question on a Struts mailing list b) What do you mean then when you write Now if I have values of day, month, year executing an action. How can I default those values in the

trying to switch web modules - help

2003-11-04 Thread Marcella Turner
Hi - I've read the documentation but I must be missing something because I'm trying to switch web modules in my struts-config.xml in a local mapping as follows: forward name=goXXX contextRelative=true path=/modulePathHere/AnyServlet redirect=true

RE: Javascript question...

2003-11-04 Thread Jacob Wilson
Richard... I find this list to be more user friendly in terms of responding to questions... Also, not that I do not use Struts at all... for this particular requirement of an old project under maintenance, I am trying to do this... I consider this to be very much knowledge sharing list and

Re: What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-04 Thread ZYD
Thanks Paul, Could you please give me some code snippet about that factory parameter from the server.xml ? Thanks again. bruce You're mising the factory parameter from your server.xml ResourceParams section. BTW, you don't need that stuff in your struts config file if you're using JNDI.

RE: Javascript question...

2003-11-04 Thread Joe Krause
You need to put a space in front of the word selected. Right now your HTML output will contain: option value=2005selected2005/option This makes the value equal to 2005selected. By putting a space in between the quote and the word selected - you will change the value to 2005 and selected will be

RE: Javascript question...

2003-11-04 Thread Jacob Wilson
Oh... thanks buddy... I actually created an option object and finished this... After you saying I checked and yes how stupid I am !!! simple mistakes need an other eye... Thanks again... I did something like this -- this works fine too... var s = document.forms[0]; function

Fwd: trying to switch web modules - help

2003-11-04 Thread Marcella Turner
Also - the error that I'm getting is java.lang.ClassNotFoundException From: Marcella Turner [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: trying to switch web modules - help Date: Wed, 05 Nov 2003 00:53:27 + Hi - I've read the

RE: Application objects

2003-11-04 Thread Mahesh Joshi
http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html tells you Who's on your site/application and what they are doing? Mahesh -- Mahesh Joshi W- 408-543-7214 M- 408-829-8051 [EMAIL PROTECTED] -Original Message- From: Mathieu

Nested tags : Desperately trying to get recursion to work

2003-11-04 Thread Jyothi Panduranga
Hi, I am very new to nested tags and I am trying to display a tree using nested tags. I followed Arron's MonkeyTree example. I have been getting 'javax.servlet.ServletException: Cannot find bean in any scope' exception (I have pasted exception trace at the end of this email) . I cannot

Re: Nested tags : Desperately trying to get recursion to work

2003-11-04 Thread Max Cooper
I don't know anything about the nested tags, but it seems very unlikely that this code, as a complete JSP, could work: %@ taglib uri=/WEB-INF/tld/struts-nested.tld prefix=nested % nested:root nested:write property=objName / /nested:root What bean is objName a property of? This seems to

Re: ForwardAction not picking up Tiles defs?

2003-11-04 Thread John Cavacas
I've used and re-used the struts-blank.war distribution and never had a problem with the struts-config.xml file included in it... In fact I just used it a few days ago to start another app, which uses and is using Tiles without a problem. John At 04:34 PM 03/11/2003 -0600, you wrote: THAT WAS

ArrayList problem

2003-11-04 Thread Rajat Pandit
hello, i am stuck in a simple piece of code, for which i have spent the last 2hrs and i seriously dont know what is wrong with this. this is the setter method for an indexed property that i am using. sinci i dont know how the size required i am checking if the index is = the size and in that

Re: jboss-tomcat 3.2.2

2003-11-04 Thread Puneet Agarwal
Hi try html:base tag... Regards, Puneet Agarwal Tata Consultancy Services, C-56, Phase - II, NOIDA 201305 (India) Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1044) FAX              : +91-120-246 1521 Struts ... Action ... Struts in Action ... Action in Struts ...

RE: ArrayList problem

2003-11-04 Thread Jian Dai
The ArrayList.ensureCapacity(int min) does not change the size. So even the minimum capacity of this array increase, this size of this array still keeps same. if the size happens to be less than the minicapacity (in your case), the error will occurs. If you check the size value, I bet it will less