Help on installing struts-el

2003-07-06 Thread Richard Mixon
Where can I find instructions on how to use the struts-el version of struts instead of the standard struts lib files? The README does not cover this and that seems to be all there is in the way of doc. I'm laboring under the assumption that struts-el is a super-set of struts. I should be able to

Re: Help on installing struts-el

2003-07-06 Thread David M. Karr
Richard == Richard Mixon [EMAIL PROTECTED] writes: Richard Where can I find instructions on how to use the struts-el version of struts Richard instead of the standard struts lib files? The README does not cover this Richard and that seems to be all there is in the way of doc.

logic:iterate question

2003-07-06 Thread Marco.Mistroni
hi all, i have a Map-backed action Form which contains an HashMap the ActionForm is as follows public MapActionForm extends ActionForm { HashMap table = new HashMap(); public void setValue(String key, String value) { ... } public Object

Re: javascipt error in IE

2003-07-06 Thread Adam Hardy
Well, I just upgraded to IE6 (SP1) and I don't get any errors for credit card nor required, nor in fact any errors at all. I just checked to make sure javascript errors were notified. I seem to have wiped out IE5.5, which I wanted to keep for testing. I installed IE6 in a different directory,

ActionForms and errors?

2003-07-06 Thread Terje Hopsø
Hello, I am trying to figure out how ActionForm and validate()-function work. If I returns an error (ActionErrors) from my ActionForm it fail (se below for output). Returning null everything works fine. I thought that when returning an error I would return to my loginpage automatically. But I

How can I set the defualt selection?

2003-07-06 Thread leon
I am a beginner of struts. I can't use the 'selected' property of the select tag in struts to set the default selection like I used it in a normal html. It's happened in 'checked' property of struts radio tag. Could you tell me how to set a defualt selection.

Action forward to another action without form

2003-07-06 Thread Benjamin Stewart
Greetings, I have a form that submits values. From the Action class I would (in some circumstances) like to go directly to another action class and then forward to a view. Is this possible ? Thanks Ben - To unsubscribe, e-mail:

Do any one send me the simplest validate strut for me?

2003-07-06 Thread MaFai
Hello, struts-user, I have read the strut example again and again.Attempt to use the simple validate in my validateform.But it failed,I still can not find the reason,so do any one send me the example which is only need to validate the field required. Thanks! Best

Re: Action forward to another action without form

2003-07-06 Thread Dan Tran
Yes;) - Original Message - From: Benjamin Stewart [EMAIL PROTECTED] Newsgroups: Struts Sent: Sunday, July 06, 2003 6:59 PM Subject: Action forward to another action without form Greetings, I have a form that submits values. From the Action class I would (in some circumstances)

Re: Action forward to another action without form

2003-07-06 Thread Benjamin Stewart
Can you point me in the right direction, none of my books talk about it, cant find examples etc. Ben Dan Tran wrote: Yes;) - Original Message - From: Benjamin Stewart [EMAIL PROTECTED] Newsgroups: Struts Sent: Sunday, July 06, 2003 6:59 PM Subject: Action forward to another action

Re: Action forward to another action without form

2003-07-06 Thread Frances Aleah Z. de Guzman
you can define it to your forward in your struts-config, instead of forwarding it to a page, forward it to an action. but this is not a good practice though. On Monday 07 July 2003 10:31 am, Benjamin Stewart wrote: Can you point me in the right direction, none of my books talk about it, cant

Re: How can I set the defualt selection?

2003-07-06 Thread leonZ
I make it more clear here: A normal html: select name=select1 option value=1first/option option value=2 SELECTEDsecond/option option value=3third/option /select how can I use the 'SELECTED' to set a defualt option with struts tags. html:select property=select1

Re: How can I set the defualt selection?

2003-07-06 Thread Caroline Jen
I have similar questions. What is the syntax of the html:option tag? Just take the example given by you, are the codes shown below correct? Will the default selection shown? html:select property=select1 html:option property=1 labelProperty=first html:option property=2

RE: extending Action problems

2003-07-06 Thread Andrew Hill
1.) Probably not ;-) 2.) Yes. Ive never tried my hacky way - I only thought it up while I was thinking about your problem, so there is a good chance that it wont work as expected. (And worse = if it fails its likely to fail in a subtle way that is hard to reproduce consistently as it will

Re: javascipt error in IE

2003-07-06 Thread David Graham
--- Adam Hardy [EMAIL PROTECTED] wrote: Well, I just upgraded to IE6 (SP1) and I don't get any errors for credit card nor required, nor in fact any errors at all. I just checked to make sure javascript errors were notified. I seem to have wiped out IE5.5, which I wanted to keep for

RE: javascipt error in IE

2003-07-06 Thread Andrew Hill
Yes. Its a big nuisance. Ive had to stick with IE5 and hope if it works in 5 it works in 6. Not always the case , but more so than the other way round! Glad to say Ive had no trouble running NS6 and Mozilla together on the same machine - at the same time too. -Original Message- From:

Validate() in netscape

2003-07-06 Thread sriram
I'm using Struts 1.0 and I have written some validations in the validate() method in ActionForm . For example, some of the fields on the form are mandatory and so if the form is submitted with giving input in those fields, appropriate messages are displayed. This is working fine in Internet

RE: Why html:xxx tags? / Dreamweaver and .do extension

2003-07-06 Thread Andrew Hill
Another plus to the struts tags is the nesting ability, which imho rocks! (Though Im not actually using JSP so had to render the nesting details the hard way...) -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Sunday, 6 July 2003 05:02 To: Struts Users Mailing List

Missing message Exception

2003-07-06 Thread Saroj Kumar Choudhury
Hi, I am new to Struts World. I wanted to do one Login Application, using DynaValidatorForm. while accessing http://localhost:7001/dynaForm I am getting the following error message: Jul 7, 2003 9:41:08 AM IST Error HTTP [WebAppServletContext(3512032,dynaF orm,/dynaForm)] Root cause of

Re: Why html:xxx tags? / Dreamweaver and .do extension

2003-07-06 Thread Denis Baranov
Oh-oh. Another limitation? WYSIWYG HTML anymore? Anybody? (nesting rocks indeed) Denis. Andrew Hill wrote: Another plus to the struts tags is the nesting ability, which imho rocks! (Though Im not actually using JSP so had to render the nesting details the hard way...) -Original

Re: Webapp Security?

2003-07-06 Thread Rick Reumann
On Thu, 2003-07-03 at 16:42, Craig R. McClanahan wrote: Why are you trying to mess with the container's implementation of authentication at all? Why not just write a Filter that does an RD.forward() to some safe place if it sees that the session does not contain the right stuff (because

RE: extending Action problems

2003-07-06 Thread Andrew Hill
Ahhh... this might interest you. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5395 Its an enhancement request for struts (to have an ActionContext object) that Ted apparently logged a while ago and has re-opened to look at now that 1.1 is out the door. Im wondering though if its worth

db connection pooling

2003-07-06 Thread jailani . s
Hi, Is there any ways to achieve db connection pooling and access of such pooled connection though jndi in struts action classes. Regards, Jailani.S This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or

RE: [OT] - Realm Security - How to set overlapping constraints?

2003-07-06 Thread Navjot Singh
Thanks Craig, Reversing the order of constraints does work. I should have RTFM. But now, there is another problem. When user is authenticated once, and then i accessed a resource that needs login to admin. It simply throws 403. Can't it throw LOGIN PAGE? I can replace the default 403 page with

RE: db connection pooling

2003-07-06 Thread Navjot Singh
why not? Simply configure one jndi data source in struts-config and you are on. HTH -navjot |-Original Message- |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] |Sent: Monday, July 07, 2003 10:09 AM |To: [EMAIL PROTECTED] |Subject: db connection pooling | | |Hi, | |Is there any ways

RE: db connection pooling

2003-07-06 Thread J, Sadhasivam (Cognizant)
That depends upon the Server Infrastruture. U can implement connection pooling and Datasournce throught the strutsconfig datasournce seqment. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 10:09 AM To: [EMAIL PROTECTED] Subject: db

RE: Missing message Exception

2003-07-06 Thread Sinclair, Mark
In web.xml try param-value/dynaform/ApplicationResources/param-value -Original Message- From: Saroj Kumar Choudhury [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 7:28 AM To: Struts Users Mailing List Subject: Missing message Exception Hi, I am new to Struts World. I wanted

html:img and nested:img problems

2003-07-06 Thread Kornelis Sietsma
I am trying to write some images to a web page, where the image source comes from a servlet. The only thing I can get to work reasonably is to use a raw html image tag, with struts tags to write all the parameters - for example: (note 'cell' is a bean with various useful properties including a

Re: db connection pooling

2003-07-06 Thread Micael
Use a plugin. At 10:09 AM 7/7/03 +0530, you wrote: Hi, Is there any ways to achieve db connection pooling and access of such pooled connection though jndi in struts action classes. Regards, Jailani.S - To unsubscribe,