RE: Using modules and actionforward to an action

2003-06-26 Thread Abhinav (Cognizant)
BTW what is contextRelative=true all about .. ?? -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 10:54 AM To: Struts Users Mailing List Subject: RE: Using modules and actionforward to an action abhinav, the best solution is to keep /logout

RE: Using modules and actionforward to an action

2003-06-26 Thread Navjot Singh
say your context is /myapp you have module /modA and you have 2 files /myapp/login.jsp /myapp/modA/login.jsp if in modules' struts config, you say contextRelative=true, it will pick the first one. otherwsie, second one. RTM -navjot |-Original Message- |From: Abhinav (Cognizant)

submitting back to opener page

2003-06-26 Thread Nagendra Kumar O V S
hi, i have a jsp with a button which opens up a new pop-up window. when i say submit on the pop-up window , i want to close the pop-up window andgo to the action class(do the needful) and now i want to refresh the opener page(main jsp). can i do this, if yes

RE: submitting back to opener page

2003-06-26 Thread Andrew Hill
My app had a similar requirement so what I did was have the popup submit directly to the action and then the action returned a forward to a page (displayed in the popup) that had javascript to invoke a refresh method in the opener window and then to close its own (popup) window. -Original

iteration to create dynamic form

2003-06-26 Thread Piers Dunleavy
I have a logic:iterate tag which is supposed to create a dynamic form, filled with a checkbox for every object in a collection. (The checkbox is an option to delete one of those records from the database.) The form itself is a Map-Backed Action form with two methods (public void setValue(String

RE: submitting back to opener page

2003-06-26 Thread El Harouchi, Jaafar [IT]
If you want to submit the form in the original page, you can try javascript like: window.opener.document.forms[0].submit(); If you need to first set some values from the child window: window.opener.document.forms[0].elements[field name].value = value from child HTH -jaafar ps:

RE: iteration to create dynamic form

2003-06-26 Thread El Harouchi, Jaafar [IT]
try with multibox instead of checkbox: http://jakarta.apache.org/struts/struts-html.html#multibox -jaafar -Original Message- From: Piers Dunleavy [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 2:32 AM To: Struts Users Mailing List Subject: iteration to create dynamic

bean:define and JSP 1.1 restriction

2003-06-26 Thread Nicolas De Loof
Hi all, I can read in struts-bean doc this usage note for bean:define tag : There is a restriction in the JSP 1.1 Specification that disallows using the same value for an id attribute more than once in a single JSP page. Therefore, you will not be able to use bean:define for the same bean

Re: Question - how many of us?

2003-06-26 Thread Adam Hardy
Wow - average 70 to 100 thousand downloads per month according to those stats. Presume average 80,000 per month for the last 12 months, even if only 25% of the downloads lead to people using struts, that's 12 * 0.25 * 8 = 240,000 users. OK so there's some way to go yet before struts

LookupDispatchAction question part2

2003-06-26 Thread Frances Aleah Z. de Guzman
i had posted a question i think 3 days ago about submitting a form to a LookupDispatchAction without hitting any button and still having a default value of the parameter handler. someone advised me (im sorry i forgot your name) that i should have a hidden property of my parameter name, so that

Re: Looking for ideas for action servlet checking for logged in user.

2003-06-26 Thread Adam Hardy
The drawback to using filters compared to security constraints is that you would have to roll your own login mechanism - which seems unnecessary when you could use the container's authentication method. Did you mention having to change Tomcat to get it to use your JDBC realm? I'm not sure

installing examples

2003-06-26 Thread Anton Lehene
Hi all, I have downloaded struts 1.1 RC1 along with the source codes. I am trying to install the example under Tomcat using the ant, and the task install.example from the build file. Everything works well until the Tomcat task: install url=${catalina.url} username=${catalina.username}

RE: Question - how many of us?

2003-06-26 Thread Andrew Hill
240,000 eh? In other words, only about 1% of the users subscribe to the list, from which we can make the deduction that the other 99% do not need support for struts and have no trouble using it, so I guess that makes us list subscribers the intellectual bottom of the barrel? ;-) -Original

Re: Selecting a row in nested:iterate?

2003-06-26 Thread Adam Hardy
What do you mean - the user must select one? If so, with which HTML control? I did this with radio buttons that held a boolean indexed property that was in the bean along with all the other fields. When the user clicked one row's radio and did a submit (normally to select that row as the

Re: Question - how many of us?

2003-06-26 Thread Adam Hardy
Andrew Hill wrote: 240,000 eh? In other words, only about 1% of the users subscribe to the list, from which we can make the deduction that the other 99% do not need support for struts and have no trouble using it, so I guess that makes us list subscribers the intellectual bottom of the barrel?

RE: Question - how many of us?

2003-06-26 Thread Filip Polsakiewicz
-Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 10:38 AM To: Struts Users Mailing List Subject: Re: Question - how many of us? Andrew Hill wrote: 240,000 eh? In other words, only about 1% of the users subscribe to the list, from

RE: submitting back to opener page

2003-06-26 Thread Nagendra Kumar O V S
hi, window.opener.document.forms[0].submit();does't work for me, says "object does't support this property" i am using IE5.0 window.opener.document.location.href="" works for me ,but i want to submit the form to get the other form elements any

Re: LookupDispatchAction question part2

2003-06-26 Thread Jason Lea
Frances Aleah Z. de Guzman wrote: i had posted a question i think 3 days ago about submitting a form to a LookupDispatchAction without hitting any button and still having a default value of the parameter handler. someone advised me (im sorry i forgot your name) that i should have a hidden

RE: struts-config and tiles configuration

2003-06-26 Thread trang_nguyen
Hi, Do you have the plugin as the last element in your configuration file? (after your message resource definitions)? The error occurs because your file fails validation according to the struts DTD. Regards, Trang -Original Message- From: Bob Byron [mailto:[EMAIL PROTECTED] Sent:

Re: Looking for ideas for action servlet checking for logged in user.

2003-06-26 Thread Jason Lea
In case no one has mentioned it yet: http://securityfilter.sourceforge.net/ This emulates the container managed security but uses filters. You can define the security contraints in security-filter.xml (looks similar in structure to web.xml) eg security-constraint web-resource-collection

Re: iteration to create dynamic form.

2003-06-26 Thread Ajay Patil
Dear Piers, Please try the following code. logic:iterate id=record name=user property=siteSection.newRecords html:checkbox name=record value=off property=selectedFlag / /logic:iterate In your Form Bean, - Implement following methods. public Boolean [] getSelectedFlag(); public

RE: ActionForm DB validation

2003-06-26 Thread FrenzyGNX
I think that kind of validation is better to be done in the business logic layer. --- Fedor Smirnoff [EMAIL PROTECTED] wrote: Hey, I wanted to find out if its acceptable to access database in the validation stage of SOMEActionForm. Basically when a user enters email address to subscribe,

Re: Connection Pool: JPetStore Database Layer

2003-06-26 Thread FrenzyGNX
So maybe you can help me with the problem? I have posted the problem in Commons list and here, but have got no answer so far. Thanks. And to be precise, the error is not closed connection, but broken pipe. --- Adam Hardy [EMAIL PROTECTED] wrote: I just checked the Apache bugzilla and couldn't

Tiles Tab to Actions

2003-06-26 Thread Natalie D Rassmann
I am using the Tiles Tab Layout and I need the links to go to an action rather than a jsp page? Does anyone know how I go about do that. Here is my Tiles Def for the layout !-- tabs page -- definition name=prtr.pr.tabs.page extends=prtr.default put name=body-content

Re: LookupDispatchAction question part2

2003-06-26 Thread Frances Aleah Z. de Guzman
im sorry but im having the same exception On Thursday 26 June 2003 05:01 pm, Jason Lea wrote: Frances Aleah Z. de Guzman wrote: i had posted a question i think 3 days ago about submitting a form to a LookupDispatchAction without hitting any button and still having a default value of the

Re: LookupDispatchAction question part2

2003-06-26 Thread Jason Lea
Hi Frances, Frances Aleah Z. de Guzman wrote: im sorry but im having the same exception What does your html:link tag look like? What was the HTML output it produced? What do you have in your getKeyMethodMap()? What are the matching entries in your application.properties file? If you post those

Calling different actions in a JSP on the click of different Buttons....

2003-06-26 Thread MAMTA GUPTA
**Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use,

Help me to convince my boss to use Struts!!!

2003-06-26 Thread Alen Ribic
Hi Everyone I just have had a discussion with my boss with regards to why he prefers the way of using a push mechanism microsoft.xmlhttp to return data to client. (Client's browser doesn't reload when response is returned :) ) We are based in a very MS environment as you can see but he has been

Re: LookupDispatchAction question part2

2003-06-26 Thread Frances Aleah Z. de Guzman
thanks jason, i double checked my application.properties and i found out that the value of my action should be Edit with the capital E but what im putting a while ago is ehehehemy mistake! thanks again. On Thursday 26 June 2003 06:58 pm, Jason Lea wrote: Hi Frances, Frances Aleah Z.

Problem with html:multibox

2003-06-26 Thread O_Parthasarathy Kesavaraj
I am having a value object inside an arraylist.The array list i have declared as a property in my form bean.The value object contains id and name.The arraylist gets populated from my action class and i'm displaying like this. logic:iterate id=element name=MyForm property=MyCollection

RE: Tiles Tab to Actions

2003-06-26 Thread trang_nguyen
Hi, I have exactly the same question, so if someone can help us out, it would be great. Regards, Trang -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 26. Juni 2003 12:29 To: Struts Users Mailing List Subject: Tiles Tab to Actions I am using the

Re: Help me to convince my boss to use Struts!!!

2003-06-26 Thread SCOTT VENTER
Howdy, My suggestion is that you move from skaapstad up to jozi. I have encountered many developers here who have struts projects going, and the local industry seems to be keen on it too. We have just completed moving a banking legacy system to struts/EJBs and our client (Tebabank) insisted

Re: Problem with html:multibox

2003-06-26 Thread Sandeep Takhar
try and make id of iterate = property. may work... sandeep --- O_Parthasarathy Kesavaraj [EMAIL PROTECTED] wrote: I am having a value object inside an arraylist.The array list i have declared as a property in my form bean.The value object contains id and name.The arraylist gets populated

RE: Problem with html:multibox

2003-06-26 Thread O_Parthasarathy Kesavaraj
No.it is not working -- From: Sandeep Takhar[SMTP:[EMAIL PROTECTED] Reply To: Struts Users Mailing List Sent: Thursday, June 26, 2003 5:33 PM To: Struts Users Mailing List Subject: Re: Problem with html:multibox try and make id of iterate = property.

Re: Help me to convince my boss to use Struts!!!

2003-06-26 Thread Alen Ribic
Hi Scott, You know how the majority here in Cape Town take things easy. Well, not me!! :) I'm always looking for better ways in doing things / dealing with problems. I might get a chance to go to Johannesburg soon to work on a legacy system architecture conversion to J2EE architecture. (EJB,

RE: Tiles Tab to Actions

2003-06-26 Thread Sandeep Takhar
I looked at tabsLayout.jsp in rc2. Here is a code snippet: String href = request.getRequestURI() + ?+parameterName + = + index; // Don't add request URI prefix , but let the client compute the original URL // This allows to use a Struts action as page URL, and perform a forward.

Poolman?

2003-06-26 Thread bill blackmon
I'm looking for connection pooling for a Struts app. Everyone recommends Poolman but it's discontinued. Can anyone recommend something else or tell me where I can download Poolman? - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Problem with html:multibox

2003-06-26 Thread Sandeep Takhar
Is this the full error? Seems truncated sandeep --- O_Parthasarathy Kesavaraj [EMAIL PROTECTED] wrote: No.it is not working -- From: Sandeep Takhar[SMTP:[EMAIL PROTECTED] Reply To: Struts Users Mailing List Sent: Thursday, June 26, 2003 5:33 PM To:

Re: html:link / - add parameters

2003-06-26 Thread Alen Ribic
Ok. I forgot a very important peace in the puzzle. I'm running an iteration tag and my html:link / tags get generated inside the loop. So, as my iteration runs, a new html:link / gets generated. Now as you can see, each link will need specific/unique parameter list. e.g.

Re: Using modules and actionforward to an action

2003-06-26 Thread Jing Zhou
Have you tried this? return new ActionForward(/logout.do); I guess you are almost there. Jing - Original Message - From: Abhinav (Cognizant) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:58 PM Subject: RE: Using modules and

requiredif - simple example

2003-06-26 Thread Brian McSweeney
Hi all, The validator package works well for me. But I'm trying to use the requiredif and failing. I know there has been previous discussion of this, but I'm trying to a simple validation based on a checkbox so perhaps someone could tell me where I'm going wrong. For example, I want to

common-logging, Struts, Log4j

2003-06-26 Thread rablists
Hi. I have problem in using the common-logging with struts and Log4j. I am basically lost. I have short questions, I appreciate if anyone can help me little bit. these are the questions with examples: The file outputfile.log that I specify in log4j.appender.LOGFILE.File=outputfile.log where

RE: common-logging, Struts, Log4j

2003-06-26 Thread Michael Remijan
I had the same problem and was only able to solve it by forceably loading the log4j configuration file. I put the following in the servlet's init() method: // get log4j property file. java.net.URL log4jProps = ActionServlet.class.getClassLoader().getResource(log4j.properties);

bean:message and html tags in the propeties file.

2003-06-26 Thread Michael Remijan
Hi list: If I put messages in a properties file that have html tags, when I use the bean:message/ tag to retrieve them Struts will convert somthing like b into lt;bgt; so I actually see b in the browser window instead of bold text. Is there any way to prevent this from happening? Mike

[OT] Re: Poolman?

2003-06-26 Thread Melissa L Kelley
On Thu, 26 Jun 2003, bill blackmon wrote: The first place I would look would be with your app server. If your app server does not provide this service, then You can still download Poolman from SourceForge http://sourceforge.net/projects/poolman/ You can also look in the Jakarta-Commons DBCP

URLs not escaped

2003-06-26 Thread Eric Jain
The following JSP fragment jstl:url value=/view var=url jstl:param name=id value=1 / jstl:param name=format value=rdf / /jstl:url html:link href=${url}.../html:link generates a link with an invalid href attribute of http://x.org/app/view?id=1value=rdf instead of

Re: html:link / - add parameters

2003-06-26 Thread Kris Schneider
It's pretty easy to use JSTL to handle the Map: jsp:useBean id=paramMap class=java.util.HashMap/ c:forEach var=product items=${productList} c:set target=${paramMap} property=id value=${product.id}/ c:set target=${paramMap} property=secLevel value=${product.secLevel}/ html:link

controlling the View state in Struts w/Tiles

2003-06-26 Thread Witbeck, Shane
Im working on a solution to create a flexible solution in Struts to accomodate highly dynamic forms and error handling. Here is what Im after: Based on selections on a form, easily change other fields in the form such as show/hide, disable/enable, mark field as required/not required. I am open to

Re: Looking for ideas for action servlet checking for logged in user.

2003-06-26 Thread Jing Zhou
I have a little bit run away question. Since there is an existing login facility in our codes, is there a general facility that allows us to plug it into major application servers, like Oracle9iAS, WebLogic, ...? Or it is completely impossible as of today? Jing Netspread Carrier

Re: requiredif - simple example

2003-06-26 Thread Kevin Robair
The following worked for me. Note that in RC1, the var-name tag values are expected to be field-test[n], not fieldTest[n] and so on The requiredif check was removed because in 1.1RC1, requiredif would break a javascript validator such as mask. I used custom validation instead. field

Re: html:link / - add parameters

2003-06-26 Thread Alen Ribic
this seems good. does JSTL comp. come standard with Struts? do you prefer using JSTL for common tasks and why? --Alen - Original Message - From: Kris Schneider [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 3:18 PM Subject: Re: html:link

Re: html:link / - add parameters

2003-06-26 Thread Kris Schneider
JSTL is not part of Struts. It's a Java specification defined by JSR-52 (JSTL 1.0). http://java.sun.com/products/jsp/jstl/ Apache Jakarta provides an implementation: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html You might also be interested in the Struts-EL tag library. It

Any struts developments in Israel?

2003-06-26 Thread Ido Kobelkowsky Diaz
I started building application on the Struts framework and I wonder how common/ or not this framework is used here? And, as always, am appreciating close reference and assistant and vice versa... Ido Kobelkowsky Diaz - To

RE: html:link / - add parameters

2003-06-26 Thread Chen, Gin
Yes.. come to the light of JSTL.. [EMAIL PROTECTED] -Tim :) -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 9:52 AM To: Struts Users Mailing List Subject: Re: html:link / - add parameters JSTL is not part of Struts. It's a Java

RE: requiredif - simple example

2003-06-26 Thread Brian McSweeney
Hi Kevin, Thanks for the reply. I'm a little confused by your example though. First off - what does the ${4dig} mean? This won't validate a checkbox, right? Second, you have a lot of stuff commented out. Are these fields getting validated? Finally, if I wanted to just test against a boolean

RE: [OT] opening URI in mozilla

2003-06-26 Thread Kevin Peters
Ashish, Check out the mozilla site at http://www.mozilla.org/releases/mozilla1.4b/ and read the security section near the bottom of the page. There is a section that explains why this happens and how to get around it. Kevin -Original Message- From: Ashish Kulkarni [mailto:[EMAIL

RE: submitting back to opener page

2003-06-26 Thread Kevin Peters
Another option is to set the target attribute of the popup window's form to point to the opener window. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 2:22 AM To: Struts Users Mailing List Subject: RE: submitting back to opener page My app

servlet.getDebug()?

2003-06-26 Thread sgu88
Hi, guys: I have seen the above use of servlet variable without declaring it before its use. Why is it? thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Anchor tags in a page

2003-06-26 Thread Jonathan Holloway
Hi, I have a page that is quite large so i'm trying to put anchor a tags in the page so that i can redirect the user to a specific part of the page. this is quite easy to achieve so I'm told using the following piece of code in the struts-config.xml file: action path=/action

RE: servlet.getDebug()?

2003-06-26 Thread Filip Polsakiewicz
it's the same with: session, request, (i believe: log) and a few more. These variable a deklared automatically for usage within your servlets. HTH Filip -Original Message- From: sgu88 [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 4:15 PM To: [EMAIL PROTECTED] Subject:

Re: Help me to convince my boss to use Struts!!!

2003-06-26 Thread Ted Husted
You might take a look at Maverick. http://mavnet.sourceforge.net/ It's very much like Struts, and uses a site-map, but is simpler. It is also available for .NET (as well as .PHP). Perhaps the Maverick.NET framework might provide a way that you could combine the best of both worlds. IMHO, the

Re: Connection Pool: JPetStore Database Layer

2003-06-26 Thread Adam Hardy
love to help but how? I searched for a bug in the Commons bugzilla and didn't find one - your best bet would be to establish a test case for the problem and post it in bugzilla - you don't need to be an Apache developer to search or add bugs to their bugzilla. FrenzyGNX wrote: So maybe you can

Message Resources example using OJB

2003-06-26 Thread Srikanth Gubba
Hi all, Has anyone tried and used Message Resources example using OJB which can be used to place the application properties in a database instead of a properties file. If anyone has tried this, can u help me know what to do when a property is changed in the database, at present i am having to

RE: common-logging, Struts, Log4j

2003-06-26 Thread Pingili, Madhupal
I have the similar setup and works very well for me. log4j.appender.LOGFILE.File=outputfile.log where it is located? where I find it? is it physical file? It should be saved under the app. server bin dir like c:/tomcat-4.18/bin. I don't use tomcat. But websphere app. server

Re: display an image

2003-06-26 Thread Kris Schneider
If you've got an action that retrieves image data from a database, it should be doing something like (error handling ignored): public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,

RE: [OT] Re: Poolman?

2003-06-26 Thread Richard J. Duncan
I have a Tomcat project that uses jakarta commons DBCP which is based on commons pooling. You configure it thru the tomcat config and access the pool via JNDI lookup of a datasource (just like a in WebLogic app). It appears to work well. Regards,   Rich -Original Message- From:

Re: Problem with html:multibox

2003-06-26 Thread Prashanth.S
Hi Partha, I think u have completely messed up iterate and multibox... So instead of myself suggesting u changes to be done u better take a look at the below url http://article.gmane.org/gmane.comp.jakarta.struts.user/52790/match=html+multibox+ Cheers Prashanth O_Parthasarathy Kesavaraj [EMAIL

Re: Help me to convince my boss to use Struts!!!

2003-06-26 Thread Alen Ribic
thx Ted. Could you perhaps give me some really strong points as to why they would benefit from switching over to Struts or do you believe that switching over to Struts would only merely be debatable? I really wanna use Struts in our dev. env. :-) --Alen - Original Message - From: Ted

RE: submitting back to opener page

2003-06-26 Thread El Harouchi, Jaafar [IT]
Try: opener.document.forms[0].submit(); If that doesn't work, debug by doing alert(opener.document.forms[0]); We have this working in IE 5+, NS 4.7+ HTH -jaafar -Original Message- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 4:50 AM To:

Upload Error

2003-06-26 Thread Flo
I applied the folowing example to my project but a get an error : java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)

Difference between ValidatorForm and ValidatorActionForm?

2003-06-26 Thread Yansheng Lin
I kind of understand it. ValidatorForm validates the form and ValidatorActionForm validates the form based on action path. But why would you prefer one over the other? I mean you can achieve almost the same effect with either. Thanks!

Re: Help me to convince my boss to use Struts!!!

2003-06-26 Thread Susan Bradeen
Alen, Take a look at this ... http://www.strutskickstart.com/ There's a link in the sidebar, Powerpoint: Selling Struts to Management, to download a presentation that might be helpful for you. I haven't read it myself (thankfully haven't needed to), but others on this list have been

Cannot start expanded struts/tiles web app in Weblogic 6.1sp4

2003-06-26 Thread Denham, Martin
Hi, I have had lots of problems attempting to upgrade from struts rc1 to struts rc2 on weblogic 6.1sp4 and have all but given up. Has anybody else managed it? This simple test fails on my box: 1. Deploying tiles-documentation.war to weblogic works fine. 2. Expand tiles-documentation.war to be

RE: submitting back to opener page

2003-06-26 Thread Jones, Ted
Just as an FYI - If you are referencing an opener from a page with frames, you need to reference the top level of your current window to get to the opener. For example: window.top.window.opener.document.forms[0].submit() Ted -Original Message- From: El Harouchi, Jaafar [IT]

Looking for File Upload Example

2003-06-26 Thread Flo
Hi i'm looking for un example of using File UPLOAD whith Struts API The servlet and JSP code Thanks Flo

RE: Upload Error

2003-06-26 Thread Bailey, Shane C.
Looks like you need commons-fileupload.jar in your classpath. It appears org/apache/commons/fileupload/FileUploadException is an apache commons file which can't be found to be loaded. The struts file upload code must throw that exception or something. -Original Message- From: Flo

Re: common-logging, Struts, Log4j

2003-06-26 Thread Markus Holzem
By default the property-files commons-logging.properties log4j.properties are located in the directory WEB-INF/classes Usually you put them in your workbench in the root of the Java Source directory. If you build with ant you simply copy them there from your chosen source directory Markus

RE: Difference between ValidatorForm and ValidatorActionForm?

2003-06-26 Thread Butash, Bob
Yansheng, Since ActionForms are intended to be reused across multiple actions, you might have different validation requirements depending on the context that the ActionForm is being used. One Action might require a certain field but that field may not be required for another Action that is using

Re: Help me to convince my boss to use Struts!!!

2003-06-26 Thread Alen Ribic
Great! Thanks Susan. This is definitely something I'll be able to use. Regards, --Alen - Original Message - From: Susan Bradeen [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 6:13 PM Subject: Re: Help me to convince my boss to use

RE: Looking for File Upload Example

2003-06-26 Thread Bailey, Shane C.
Struts config (only because I am using a Dyna form): !-- Load Request form bean -- form-bean name=loadReqCompForm type=org.apache.struts.validator.DynaValidatorActionForm form-property

RE: Looking for ideas for action servlet checking for logged in user.

2003-06-26 Thread Bailey, Shane C.
I didn't know about this project. I am very interested. Anybody deploy this with JRun4? -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 5:34 AM To: Struts Users Mailing List Subject: Re: Looking for ideas for action servlet checking for logged

RE: Difference between ValidatorForm and ValidatorActionForm?

2003-06-26 Thread Kamholz, Keith (corp-staff) USX
So do you have to do anything differently in your validation.xml? Also, where can I find some documentation on this? - Keith -Original Message- From: Butash, Bob [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 12:59 PM To: 'Struts Users Mailing List' Subject: RE: Difference

RE: Tiles Tab to Actions

2003-06-26 Thread Bailey, Shane C.
Where were you guys two days ago. :) I spent over a day writing my own tabs. I didn't know struts had built in tab support. Any documentation you can point me to? -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 6:29 AM To: Struts

Anyone using SSLExt with Container Managed Security JAAS?

2003-06-26 Thread Mick Knutson
Is Anyone using SSLExt with Container Managed Security JAAS? --- Thanks... Mick Knutson --- _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

RE: Looking for ideas for action servlet checking for logged in user.

2003-06-26 Thread Bailey, Shane C.
I just got the securityfilter-example.war deployed successfully in no time. Hmmm. I may have to look into this. I have been looking for a cross container way to have authentication done and be able to use the request methods (like isUserInRole, etc.). -Original Message- From: Bailey,

Application Properties

2003-06-26 Thread Srikanth Gubba
Is there any way to avoid reloading the application in the server(tomcat 4.1.18) when an appliaction property is changed, I mean any methods or code is appreciated. Thanks in advance, Srikanth. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26,

RE: Message Resources example using OJB

2003-06-26 Thread Hookom, Jacob
Check source forge www.sf.net, I think James from this list created one about 6 months ago and he was very happy with the performance of it. -Original Message- From: Srikanth Gubba [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 9:37 AM To: '[EMAIL PROTECTED]' Subject: Message

RE: [OT] Empty Result Set

2003-06-26 Thread Kamholz, Keith (corp-staff) USX
Does the ResultSet have to be scrollable for this to work? I'm getting an error that tells me that my result set isn't scrollable. I think it's weird because I can make a call on rs.next() in a while loop using a default resultset without a problem. Confusing... - Keith -Original

Re: Looking for ideas for action servlet checking for logged in user.

2003-06-26 Thread Alen Ribic
I'll definitely will be able to make good use of some type of cross-container authentication in the system I'm building now. I never new that this was even possible. :) ...reading though project docs now... --Alen - Original Message - From: Bailey, Shane C. [EMAIL PROTECTED] To: 'Struts

RE: Message Resources example using OJB

2003-06-26 Thread Srikanth Gubba
Hi, I am currently using this which is very good, but want to know the ways to avoid relocading the application when a property is changed. Thanks, Srikanth. -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 11:25 AM To: 'Struts Users Mailing

Question reguarding ActionForms

2003-06-26 Thread Jamie M. Guillemette
Hi Everyone, Ok.. we have been using struts for sometime now and have recently come a realization that i would love to get confirmed or corrected. ActionForms: All variables that are editable should be Strings! no wrappers or other toString() tricks.. if you want to use validation and struts

RE: Difference between ValidatorForm and ValidatorActionForm?

2003-06-26 Thread Butash, Bob
Keith, I'm currently reading Programming Jakarta Struts by Chuck Cavaness. It has been a really good book so far and gives you a strong foundation to build on. In you validation.xml file for the form element's name attribute you need to give the action's name that you want the validation rule

Re: Message Resources example using OJB

2003-06-26 Thread James Mitchell
On Thursday 26 June 2003 11:25, Hookom, Jacob wrote: Check source forge www.sf.net, I think James from this list created one about 6 months ago and he was very happy with the performance of it. That is the one Srikanth is speaking about. We had an off-line discussion about caching, and I

RE: [OT] Empty Result Set

2003-06-26 Thread David Graham
--- Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED] wrote: Does the ResultSet have to be scrollable for this to work? I'm getting an error that tells me that my result set isn't scrollable. I think it's weird because I can make a call on rs.next() in a while loop using a default

Re: Message Resources example using OJB

2003-06-26 Thread James Mitchell
On Thursday 26 June 2003 13:30, James Mitchell wrote: On Thursday 26 June 2003 11:25, Hookom, Jacob wrote: Check source forge www.sf.net, I think James from this list created one about 6 months ago and he was very happy with the performance of it. That is the one Srikanth is speaking

Re: Difference between ValidatorForm and ValidatorActionForm?

2003-06-26 Thread Jamie M. Guillemette
The core difference is what will be used as reference when running the validation lets say you have an form object that spans 3 actions ( is shared by ) and all of them have validate = true in the struts-config.xml if you use ValidatorForm to then all of the validation rules you specify will be

entity refs in struts config files

2003-06-26 Thread Derek Scherger
Does anyone know if entity refs (such as those described at the bottom of http://jamesholmes.com/struts/) work properly in struts 1.0.2 config files? They sort of seem to work for me, except that relative references seem to be relative to ${TOMCAT_HOME)/bin rather than

Re: common-logging, Struts, Log4j

2003-06-26 Thread Dan Tran
Rabih, You place the properties files at the wrong place. Move them to WEB-INF/classes -D - Original Message - From: rablists [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 5:50 AM Subject: common-logging, Struts, Log4j Hi. I have problem in using the

Re: common-logging, Struts, Log4j

2003-06-26 Thread rablists
Thank you. It worked fine. The properties files should be under WEB- INF/classes directly. Plus, the major problem was with the commons- logging jar files: I should put in the WEB-INF/lib only the commons- logging.jar, and delete the commons-logging-api.jar, which should be placed instead under

Re: Question - how many of us?

2003-06-26 Thread Craig R. McClanahan
On Thu, 26 Jun 2003, Adam Hardy wrote: Date: Thu, 26 Jun 2003 10:21:51 +0200 From: Adam Hardy [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Question - how many of us? Wow - average 70 to 100 thousand

  1   2   >