Re: Authentication question and user accounts.

2003-07-01 Thread Dan Allen
Adam Hardy ([EMAIL PROTECTED]) wrote: Well it is slightly off-topic because it's more a tomcat issue, but in short I don't think you can achieve what you want to achieve using a standard realm and container-managed security. You could easily put a link to create a new account in your

Can I have a nbsp; _not_ URL encoded?

2003-07-01 Thread Martin Naskovski
I have a LabelValueBean, and the Label property contains spaces. However, they do not get encoded into nbsp;'s. If I actually include the nbsp; tag, I get a 'nbsp;' on the screen verbatim :), instead of what I really wanted - a space. Is this some catch-22 or is there really a way to specify a

Re: html:img / how to?

2003-07-01 Thread Alen Ribic
Thanks Wendy This will do just what I want. The reason I was looking for a custom tag option, was so that the designers are more familiar with the tag based presentation development and maintenance. I wanna use minimal amount of Java code in my view pages. --Alen - Original Message -

RE: Modules and common files

2003-07-01 Thread Karapiperis Dimitris
I am doing the same with ant/build process, is there any aother way? Is there a way to keep these files in a acommon place? -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: , 1 2003 6:15 To: 'Struts Users Mailing List' Subject: RE: Modules and common files Thanks

AW: Can I have a nbsp; _not_ URL encoded?

2003-07-01 Thread Samuel . Opoku-Boadu
Yes I have the same problem. Were you able to silve it? Sam -Ursprungliche Nachricht- Von: Martin Naskovski [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 1. Juli 2003 08:12 An: Struts Users Betreff: Can I have a nbsp; _not_ URL encoded? I have a LabelValueBean, and the Label property

Re: AW: Can I have a nbsp; _not_ URL encoded?

2003-07-01 Thread Martin Naskovski
Hi Samuel - unfortunately no. I looked through the source code, I do not see how one could turn off (by a switch of some sort) url encoding. As a matter of fact, there is an unanswered FAQ questions that asks Why is it not possible to disable URL encoding in Struts? - so it isn't even asking HOW,

Re: Can I have a nbsp; _not_ URL encoded?

2003-07-01 Thread Marco Maier
Hi Martin, try to set the filter attribute of the bean:write tag to false e.g. bean:write name=someForm property=someProperty filter=false/ Marco Martin Naskovski wrote: I have a LabelValueBean, and the Label property contains spaces. However, they do not get encoded into nbsp;'s. If I actually

Re: File Upload size restriction ?? IT DOESN'T WORK ON STRUTS-EXAMPLE

2003-07-01 Thread Nicolas De Loof
I made some test on another Win2k PC with tomcat 4.1.24 I get the same browser waiting bug with *long* JSP on this config. I can send a modified struts-upload.war file (1Mo) if you want to test (upload.jsp changed to add 900 HTML lines) Nico Making lot of tests, it seems that my problem does

Re[2]: Can I have a nbsp; _not_ URL encoded?

2003-07-01 Thread Martin Naskovski
Hallo Marco, Here's my code: html:select property=unitLocation bean:define id=unitLocationOptions name=searchForm property=unitLocationOptions type=java.util.Collection/ html:option

bean:message tag

2003-07-01 Thread ashwani . kalra
hi, I am trying to print the message as follows using bean tag lib. bean:message name=logonform / Where logonform is the name of the bean in request scope. Here is what the javadoc says about the name attribute: name :Specifies the attribute name of the bean whose property is accessed to

RE: bean:message tag

2003-07-01 Thread Filip Polsakiewicz
Hi, bean:message works only with PropertyResourceBundles. Those are specified by name if you don't use the default ones. If you want to print the property of your Form use bean:write name=logonForm property=username/ instead. HTH Filip -Original Message- From: [EMAIL PROTECTED]

logic:equal with sessionAttributes

2003-07-01 Thread Filip Polsakiewicz
Hi, i need to check for the value of a specific session Attribute. I know that i can use logic:equal with request-parameters. Now how would i check if a session attribute foo equals the value of bar? Thanks Filip - To

show selected value in html:options field

2003-07-01 Thread Stefan Schaebel
Hello! I'm using html:select and html:options to display a vector: html:select property=selected multiple=true size=6 html:options property=vector/ /html:select Now I would like to show the selected option when the options-field is rendered (the size of the vector is larger than 6), or

Re: logic:equal with sessionAttributes

2003-07-01 Thread Nicolas De Loof
use the scope attribute (it is the same for lot's of struts tags) logic:equal name=foo scope=session value=bar ... /logic:equal http://jakarta.apache.org/struts/userGuide/struts-logic.html#equal Notice Struts will automatically look in scopes for you if you don't use scope : page - request -

RE: logic:equal with sessionAttributes

2003-07-01 Thread Filip Polsakiewicz
Thanks. I will try that. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 10:50 AM To: Struts Users Mailing List Subject: Re: logic:equal with sessionAttributes use the scope attribute (it is the same for lot's of struts tags)

RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-07-01 Thread Arnaud HERITIER
I believe that it is the 2.0.7 release. Arnaud. -Message d'origine- De : Mark McBride [mailto:[EMAIL PROTECTED] Envoyé : lundi 30 juin 2003 18:26 À : Struts Users Mailing List Objet : Re: [ANNOUNCEMENT] Struts 1.1 Final released I've noticed that all the library versions are

Re: Can I have a nbsp; _not_ URL encoded?

2003-07-01 Thread Marco Maier
amp; nbsp; you get only if the the filter is set to true. see implementation of filter (org.apache.struts.util.ResponseUtils) public static String filter(String value) { if (value == null) return (null); char content[] = new char[value.length()];

AW: AW: Can I have a nbsp; _not_ URL encoded?

2003-07-01 Thread Samuel . Opoku-Boadu
Thanks Martin. I had particular problems for example with displaying a link, for example a href=blablabla/a that had been saved as a string in a bean. using the bean:write tag to write the String out in the jsp displayed the actual syntax instead of the link ie. a href=blablabla/a maybe someone

Re: setting input for action

2003-07-01 Thread thart
There are probably 100 ways to solve this problem but based on the information provided this is what I would suggest. First of all, it sounds like you need to abstract some of the logic from your actions into a business framework of sorts, or you may already have something you need to adapt

Validations in Struts 1.0

2003-07-01 Thread sriram
Hi, I am currently using Struts 1.0 (ActionForms). I would like to know what is the best method of implementing input validations (efor ex., validating emails, mobile numbers etc). In Struts 1.1, we can use the validations framework. Is there any similar option in Struts 1.0? Any

Populating select boxes dynamically

2003-07-01 Thread sriram
Hi, I am fairly new to struts. I am using struts 1.0. I have couple of list boxes in my input form which need to populated with data retrieved from the database. What is the process to be followed? Can somebody give me links to related examples on the net? Any information would be very

disabling form element

2003-07-01 Thread Frances Aleah Z. de Guzman
can anyone tell me how to disable a form element via javascript. i have a combo box and i want to use the onchange event to disable a certain textbox... nested:select property=paramType onchange=javascript:change() html:optionsCollection name=lookup property=applications/

Re: disabling form element

2003-07-01 Thread Mark Lowe
//I prefer this way of drilling through the DOM. But document.forms[0].remarks should be fine as well. document.forms[0].elements['remarks'].disabled = true; the onchange event doesn't require the javascript: i only use this when I'm calling functions from a href. onchange=change() HTH mark

REPOST: Help! - java.security.AccessControlException

2003-07-01 Thread White, Joshua A (HTSC, CASD)
-Original Message- From: White, Joshua A (HTSC, CASD) Sent: Monday, June 30, 2003 3:32 PM To: [EMAIL PROTECTED] Subject: Help! - java.security.AccessControlException Hello all, I am now receiving the below error when attempting to upload files (I was not receiving this message

Problem With Struts1.1 Example

2003-07-01 Thread Saroj Kumar Choudhury
Hi There, I downloaded Struts1.1(Final Release) . While deploying struts-example.war I got the Parsing Error /WEB-INF/struts-config.xml, /WEb-INF/struts-config-registration.xml. The entry for the web.xml file is servlet servlet-nameaction/servlet-name

knowing which DispatchAction called an Action

2003-07-01 Thread Ionel Gardais
Hi, is it possible to know which dispatchAction called an Action inside this action ? thanks, ionel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

where does a form element get and put it's data

2003-07-01 Thread Heather Buch
I know the Struts form bean raises a lot of discussion. Personally, form beans cause me a lot of confusion too, maybe not in the same way that they confuse others, but maybe so. I'll attempt to explain. I feel like it is not consistent whether a form bean is first used upon creating, or

Newbie question: DispatchAction subclassing

2003-07-01 Thread Paula Coll
Hi, I am currently developing a webapp with Struts 1.1 and I have decided to use the DispatchAction to group functionality, instead of having a large bunch of single Action classes. Now I face the following problem: I want to have some pre-processing generic code invoked for every action, but I'd

Re: where does a form element get and put it's data

2003-07-01 Thread Adam Hardy
Surely you have the same issue with selecting the correct option in the select box as you do with the radio buttons? If I understand correctly what you are saying, you are actually talking about 2 seperate datasets: the dataset that you are going to edit in the form, and the dataset that you

Upgrading to Struts 1.1

2003-07-01 Thread Natalie D Rassmann
Hi, Is anyone having trouble upgrading to Struts 1.1? I upgraded to Struts RC2 a few weeks ago no problem but when I try and upgrade to Struts 1.1; I gett the following errors. Can anyone help? exception javax.servlet.ServletException at

Display table contents

2003-07-01 Thread Arnost Foo
Hi everybody, I'm trying struts, it works fine but I hava one problem: * Simply said: I want to se result of select * from table1 in web page. * I can do simple things like connectiong to server, selecting data, displaying data, etc. But I don't know how to make it in struts. What should be in

RE: Populating select boxes dynamically

2003-07-01 Thread Alex Shneyderman
What is the process to be followed? Can somebody give me links to related examples on the net? There are many different ways. From do it yourself to get your options From a collection that is a bean in one of the contexts. I will explain do it yourself method the others are similar with an

Tag to remove jsp from cache???

2003-07-01 Thread Prashanth.S
Hi all, Is there any tag in struts to remove cache?? Whenever i hit Browser 'Back' button it should not take from the cache.. Any help is appreciated.. or is there any option to do that Thanks Prashanth - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

External style sheets and tiles.

2003-07-01 Thread James Watkins
Is it possible to define a link to an external style sheet using html:link (or something similar)? I am using tiles and I have a base layout which contains the HEAD/HEAD part of each page. Since my link to the style sheet must go inside HEAD/HEAD, I will need to have the URL dynamically

RE: Tag to remove jsp from cache???

2003-07-01 Thread Alex Shneyderman
Before you send any data in the response you can Send the following thru your response object: % response.setDateHeader (Expires, 0); response.setHeader (Pragma, no-cache); if (request.getProtocol().equals (HTTP/1.1)) { response.setHeader (Cache-Control, no-cache); } % Note,

Re: External style sheets and tiles.

2003-07-01 Thread Nicolas De Loof
Struts html:link and HTML link tags are confusing. html:link is used to create a hyperlink (a tag) In your layout, you can use this : link rel=stylesheet type=text/css href=html:rewrite page=/styles/main.css/ / it use html:rewrite to build the absolute path to your css

Re: Tag to remove jsp from cache???

2003-07-01 Thread Nicolas De Loof
You can configure Struts to ad HTTP no-cache headers to every response : in struts-config.xml : controller nocache=true/ You can add some HTTP directives to your JSP (or tiles layouts) like this : head meta http-equiv=expires content=now meta http-equiv=pragma content=no-cache

Could not parse deployment descriptor: java.io.IOException: cannot resolve '/WEB-INF/struts-bean.tld' into a valid tag library

2003-07-01 Thread PREETAM Balijepalli
kindly guide me when does this error come - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Could not parse deployment descriptor: java.io.IOException: cannotresolve '/WEB-INF/struts-bean.tld' into a valid tag library

2003-07-01 Thread Adam Hardy
I presume you have corrupted your struts-bean.tld somehow. Adam PREETAM Balijepalli wrote: kindly guide me when does this error come - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Upgrading to Struts 1.1

2003-07-01 Thread Hajratwala, Nayan (N.)
If you look near the bottom of your error messages, it says: Caused by: java.lang.ClassNotFoundException: org.apche.commons.logging.impl.SimpleLog Possibly you don't have commons-logging in your project any more? --- - Nayan Hajratwala - Chikli Consulting LLC - http://www.chikli.com

RE: Populating select boxes dynamically

2003-07-01 Thread James Childers
-Original Message- From: sriram [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 4:18 AM To: '[EMAIL PROTECTED]' Subject: Populating select boxes dynamically I am fairly new to struts. I am using struts 1.0. I have couple of list boxes in my input form which need to

FieldChecks.validateMinLengths()

2003-07-01 Thread Adam Hardy
I started using struts validator. I just copied a bunch of stuff from the struts example and started using that, and found that the minlength validation actually returns true when the text field is blank. This was my first attempt and I was trying to make sure I had got the validator plug-in

SET ACTION FORM ATTRIBUTE IN JSP

2003-07-01 Thread Anurag Garg
Hello All, In my JSP I want to set the values of some of the attributes in action form on the basis of some condition. I am checking that condition using the logic:equal tag. For e.g . logic:equal name=actionform property=myProperty value=abc /logic:equal

Re: FieldChecks.validateMinLengths()

2003-07-01 Thread Nicolas De Loof
I think this is the correct behaviour since blank fields have to be considered using the required rule. You can use both required + minlength rules if field is mandatory. Nico. I started using struts validator. I just copied a bunch of stuff from the struts example and started using that,

Re: FieldChecks.validateMinLengths()

2003-07-01 Thread David Graham
--- Adam Hardy [EMAIL PROTECTED] wrote: I started using struts validator. I just copied a bunch of stuff from the struts example and started using that, and found that the minlength validation actually returns true when the text field is blank. This was my first attempt and I was trying to

Logging with Struts and Tomcat

2003-07-01 Thread Ludovic Maitre
Hello, I use Struts 1.1 and Tomcat 4.1.24 and i cannot use correctly the logging functionnality of Struts. More exactly i don't know which settings i must set and in which file. It is said in the doc that Struts use the logging facilities of the underlying logging implementation : *

Re: Tag to remove jsp from cache???

2003-07-01 Thread Prashanth.S
Hi Nicolas , Thank u very much for ur response. I have done whatever u said in my struts-config but i dont know how come my controller element is not at all getting called.. Here is my struts-config snapshot. action-mappings .. .. .. action path=/logout type=gfgf scope=request forward

Initialize Struts form with request parameters

2003-07-01 Thread Tien Nguyen
Hi all, I have a problem with struts form. The form is: html:form action=chooseTrainee html:hidden property=traineeId/ html:text property=name/ html:submit value=Submit/ /html:form and the ActionForm has the following properties (fields and getters/setters): traineeId name What I want is: the

Re: Tag to remove jsp from cache???

2003-07-01 Thread Nicolas De Loof
use struts-config_1_1.dtd to get infos and validate your struts-config. Your snapshot looks good. How do you know your controller element is not at all getting called ? Nico. Hi Nicolas , Thank u very much for ur response. I have done whatever u said in my struts-config but i dont know

RE: Initialize Struts form with request parameters

2003-07-01 Thread James Childers
Well, honestly it isn't recommended that you do things this way. Struts is all about separating your model from your view, and you are wanting to modify the model. That's smack dab in the realm of Actions, so you should be doing it there. The Action would then forward to your JSP. Modifying

Re: FieldChecks.validateMinLengths()

2003-07-01 Thread Adam Hardy
Oh. I see. But the client-side validation does not behave this way. I have just max and min length specified, and with javascript on, I cannot submit if the field is blank. David Graham wrote: This is actually a good thing :-). Minlength will only fail if there is some text in the control and

Re: Initialize Struts form with request parameters

2003-07-01 Thread Adam Hardy
This would happen automatically if you access the JSP via an action mapping in your struts-config. You specify the action class, the action form and the forward/jsp. struts will automatically instantiate the form when the request comes in and populate the form properties with any equivalent

validwhen

2003-07-01 Thread Eugen Bushuev
Hi. I can't make validwhen to work with a DynaForm. My validation.xml looks like form-validation formset form name=countryForm field property=name depends=validwhen arg0 key=countryForm.name.label/ var var-nametest/var-name var-value(1==-1)/var-value /var /field /form

RE: validwhen

2003-07-01 Thread Chen, Gin
Validwhen is not available yet. It will be available in 1.2 (see other posts in archives regarding this). -Tim -Original Message- From: Eugen Bushuev [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 10:31 AM To: [EMAIL PROTECTED] Subject: validwhen Hi. I can't make validwhen to

Re: FieldChecks.validateMinLengths()

2003-07-01 Thread David Graham
--- Adam Hardy [EMAIL PROTECTED] wrote: Oh. I see. But the client-side validation does not behave this way. I have just max and min length specified, and with javascript on, I cannot submit if the field is blank. Client and server checks should be the same in 1.1 final. If you generated

Iterate over an Iterator question

2003-07-01 Thread Mykola Ostapchuk
Hello, I'm having a problem to iterate with logic:iterate .. tag. I have an Iterator object allUsers. Here's my code: logic:iterate id=users name=allUsers scope=request type=com.web.users.UsersVO bean:write name=users scope=page property=userFirstName/ /logic:iterate In Action class:

Re: using struts datasource from a servlet

2003-07-01 Thread Erik Price
Richard Raquepo wrote: Another option would be to configure the DS in struts but register it with a singleton (Service Locator) that can retrieve the datasource in your data access classes. maybe you can give me some link about this? tutorials maybe? any code maybe? :p As you wish:

RE: External style sheets and tiles.

2003-07-01 Thread James Watkins
Cheers Nico, that's exactly what I was after. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: 01 July 2003 13:38 To: Struts Users Mailing List Subject: Re: External style sheets and tiles. Struts html:link and HTML link tags are confusing. html:link is

Re: Simplest way to show the matrix

2003-07-01 Thread Erik Price
Take the red pill. Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Nested Tag

2003-07-01 Thread Sloan Seaman
I'm trying to do a tree using the nested tags and I'm having some issues. I've got a NodeBean (like the TreeBean in the monkey bean example) with the following: public NodeBean() { key=MonkeyTree; value=MonkeyTree; NodeBean n1 = new NodeBean(1, 1); NodeBean n2 = new NodeBean(2, 2);

Re: Initialize Struts form with request parameters

2003-07-01 Thread Dan Tran
Adam's answer is absolutely correct, however let me add more details to make your job a little bit easier. 1. Create and action called loadTrainee.do and associate this action with your form. with a forward to chooseTraineePage.jsp 2. Invoke chooseTranies.do?traineeId=, struts, will

RE: Upgrading to Struts 1.1

2003-07-01 Thread Karr, David
Why does it say apche? You didn't type this in manually, did you? -Original Message- From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED] If you look near the bottom of your error messages, it says: Caused by: java.lang.ClassNotFoundException:

Re: setting input for action

2003-07-01 Thread Fedor Smirnoff
Thanks Troy, you right this does help. I was thinking actually between two solutions after some research, one utilizing DispatchAction and regular ActionForm and another simply separating create/update/delete into 3 actions, 3 .jsp views all using 1 formbean, more work but full control. However,

RE: Logging with Struts and Tomcat

2003-07-01 Thread Wendy Smoak
I use Struts 1.1 and Tomcat 4.1.24 and i cannot use correctly the logging functionnality of Struts. More exactly i don't know which settings i must set and in which file. What underlying logging implementation do you want to use? If you do nothing, you get Commons logging. Look at the

Trouble with html:link forward

2003-07-01 Thread Davidson, Glenn
I am relatively new to Struts and am having what I hope is an easy problem to fix. Background. I am creating an ArrayList (listofdocs) of simple objects and place them in the session. I then have a JSP that will iterate over these objects and display some object attributes. This works just fine.

RE: Display table contents

2003-07-01 Thread Yuriy Zubarev
Take a look at http://sourceforge.net/projects/htmltable (home page link will take you to examples). Yuriy ZUbarev -Original Message- From: Arnost Foo [mailto:[EMAIL PROTECTED] Sent: July 1, 2003 4:42 AM To: [EMAIL PROTECTED] Subject: Display table contents Hi everybody, I'm trying

RE: Could not parse deployment descriptor: java.io.IOException: cannot resolve '/WEB-INF/struts-bean.tld' into a valid tag library

2003-07-01 Thread PREETAM Balijepalli
weblogic.servlet.jsp.JspException: (line 2): Could not parse deployment descript or: java.io.IOException: cannot resolve '/WEB-INF/struts-bean.tld' into a valid tag library -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 6:25 PM To: Struts

RE: Could not parse deployment descriptor: java.io.IOException: cannot resolve '/WEB-INF/struts-bean.tld' into a valid tag library

2003-07-01 Thread James Childers
Are you referencing other TLDs in your web.xml? You might want to check your path. The forward slash before WEB-INF may be a problem. -= J -Original Message- From: PREETAM Balijepalli [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 11:07 AM To: Struts Users Mailing List Cc:

RE: Could not parse deployment descriptor: java.io.IOException: cannot resolve '/WEB-INF/struts-bean.tld' into a valid tag library

2003-07-01 Thread PREETAM Balijepalli
can u be more clear i am not able to get u -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 9:42 PM To: Struts Users Mailing List Subject: RE: Could not parse deployment descriptor: java.io.IOException: cannot resolve

Re: FieldChecks.validateMinLengths()

2003-07-01 Thread Adam Hardy
I shutdown and deleted my deploys and builds and recompiled and redeployed everything, and I have the html:javascript static=true tag in the staticJavascript.jsp which I link into my page with the script tag, so I am pretty confident I don't have any old version of the static javascript cached

Re: Tag to remove jsp from cache???

2003-07-01 Thread Dan Tran
question: can I just configure the controller .. and dothing on the page? -D - Original Message - From: Nicolas De Loof [EMAIL PROTECTED] Newsgroups: Struts Sent: Tuesday, July 01, 2003 5:41 AM Subject: Re: Tag to remove jsp from cache??? You can configure Struts to ad HTTP no-cache

Re: Could not parse deployment descriptor: java.io.IOException: cannotresolve '/WEB-INF/struts-bean.tld' into a valid tag library

2003-07-01 Thread Adam Hardy
Sorry, I don't understand if you are asking something. PREETAM Balijepalli wrote: weblogic.servlet.jsp.JspException: (line 2): Could not parse deployment descript or: java.io.IOException: cannot resolve '/WEB-INF/struts-bean.tld' into a valid tag library -Original Message- From: Adam

RE: Could not parse deployment descriptor: java.io.IOException: cannot resolve '/WEB-INF/struts-bean.tld' into a valid tag library

2003-07-01 Thread PREETAM Balijepalli
i need whats the error -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 9:49 PM To: Struts Users Mailing List Subject: Re: Could not parse deployment descriptor: java.io.IOException: cannot resolve '/WEB-INF/struts-bean.tld' into a valid tag

RE: Tag to remove jsp from cache???

2003-07-01 Thread James Childers
-Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 11:20 AM To: Struts Users Mailing List Subject: Re: Tag to remove jsp from cache??? question: can I just configure the controller .. and dothing on the page? That's correct. See:

Re: Could not parse deployment descriptor: java.io.IOException: cannot resolve '/WEB-INF/struts-bean.tld' into a valid tag library

2003-07-01 Thread Micael
This usually is because prior to reading the tld address in the xml file, there is another parsing problem. Check right before the tld in the xml file and you will probably find the problem. At 06:19 PM 7/1/03 +0200, you wrote: Sorry, I don't understand if you are asking something. PREETAM

Re: Tag to remove jsp from cache???

2003-07-01 Thread Dan Tran
Just to confirm, I dont need to place the following META HTTP-EQUIV=Expires CONTENT=-1 META HTTP-EQUIV=Pragma CONTENT=no-cache META HTTP-EQUIV=Cache-Control CONTENT=no-cache In my pages? It is cool not to see these repeated lines in all my pages -Dan - Original Message - From:

Any interest in a tag for URL parameters?

2003-07-01 Thread Christopher Bare
I'm thinking of coding up a new tag for the html tag set called 'parameter' that could be nested inside the html:link tag. Usage of this tag would be like these examples: html:link page=/myaction.do html:parameter id=param1 name=mybean property=myproperty/ html:parameter id=param2 name=mybean

RE: Any interest in a tag for URL parameters?

2003-07-01 Thread Mike Jasnowski
BTW, they have this same feature in the JSTL url tag. -Original Message- From: Christopher Bare [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 12:46 PM To: [EMAIL PROTECTED] Subject: Any interest in a tag for URL parameters? I'm thinking of coding up a new tag for the html tag

dynaActionForm bean ?

2003-07-01 Thread Mark Galbreath
I have a bean named approved of type HashMap. I have an HTML checkbox like such: input type=checkbox name=approved value=bean:write name=userid property=value/ where userid is a JavaBean of string email addresses. I am getting a runtime error: cannot put string value in type

Re: AW: AW: Can I have a nbsp; _not_ URL encoded?

2003-07-01 Thread Martin Naskovski
Hi Samuel, and thank you Marco, the filter=false worked very well for me for the html:options. I just never bothered to look it up. I do know Struts :), but I don't know it THAT much :). Samuel, the answer is - use filter=false to avoid the character transformations. Thank you. Martin

RE: Trouble with html:link forward

2003-07-01 Thread Davidson, Glenn
Never Mind. I found the problem. Thanks Glenn -Original Message- From: Davidson, Glenn Sent: Tuesday, July 01, 2003 11:48 AM To: 'Struts Users Mailing List' Subject: Trouble with html:link forward I am relatively new to Struts and am having what I hope is an easy problem to fix.

[OT] Best Practice Converters

2003-07-01 Thread Chen, Gin
Where is the best place to put a call to ConvertUtils.register when you need to register a Converter in a Struts project? -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

findForward question

2003-07-01 Thread Fedor Smirnoff
Hey guys I am abit confused about using findForward. I have tried several different apporaches and for some reason one of them doesnt work and the other two do work. However, I think its the best to use the first one since it doesnt not create a new ActionForward: return actionMapping.findForward

Struts issue on iPlanet web server 6.0 with SP1

2003-07-01 Thread JavaXML Developer
I am trying to deploy my struts application onto iPlanet web server 6.0 (which has SP1). I deployed it usind wdeploy. It deployed under C:\iPlanet\Servers\docs . Now issue is; when i start up iPlanet web server i get following error message in error log.

RE: findForward question

2003-07-01 Thread Steve Raeburn
getInputForward() returns the ActionForward for your input page. Steve -Original Message- From: Fedor Smirnoff [mailto:[EMAIL PROTECTED] Sent: July 1, 2003 11:57 AM To: Struts Users Mailing List Subject: findForward question Hey guys I am abit confused about using findForward.

Re: Struts - subproject

2003-07-01 Thread objectworlds
I have been informed that Jakarta Struts framework is a subproject of jakarta. Jakarta tomcat must also be a subproject of Jakarta. Does this mean that Tomcat is always current with Struts framework ? There are also a number of commercial application servers which also implement struts

Re: Struts - subproject

2003-07-01 Thread David Graham
--- objectworlds [EMAIL PROTECTED] wrote: I have been informed that Jakarta Struts framework is a subproject of jakarta. Jakarta tomcat must also be a subproject of Jakarta. Does this mean that Tomcat is always current with Struts framework ? The similarities between Tomcat and Struts end

Re: Struts issue on iPlanet web server 6.0 with SP1

2003-07-01 Thread JavaXML Developer
I badly need to get this work on iPlanet web server 6.0 with SP1. Can anyone be at help? Thanks a bunch, Vik JavaXML Developer [EMAIL PROTECTED] wrote: I am trying to deploy my struts application onto iPlanet web server 6.0 (which has SP1). I deployed it usind wdeploy. It deployed under

Struts issue on iPlanet web server 6.0 with SP1

2003-07-01 Thread JavaXML Developer
I badly need to get this work on iPlanet web server 6.0 with SP1. Can anyone be at help? Thanks a bunch, Vik JavaXML Developer [EMAIL PROTECTED] wrote: I am trying to deploy my struts application onto iPlanet web server 6.0 (which has SP1). I deployed it usind wdeploy. It deployed under

Re: FieldChecks.validateMinLengths()

2003-07-01 Thread Adam Hardy
formset form name=sectionForm field property=id depends=integer arg0 key=sections.validate.id/ /field field property=title depends=minlength,maxlength bundle=alternate arg0 key=sections.validate.title/ arg1

Re: FieldChecks.validateMinLengths()

2003-07-01 Thread David Graham
Remove the field bundle attribute because that's not supported. What text are you typing into the input box? David --- Adam Hardy [EMAIL PROTECTED] wrote: formset form name=sectionForm field property=id depends=integer arg0 key=sections.validate.id/

RE: struts-user Digest 1 Jul 2003 19:24:40 -0000 Issue 3515

2003-07-01 Thread LoverBoyMexico
Hi Does anybody have use Struts with Oracle Database?, I have configured database in struts-config.xml but i sends me an error... its like it does not find the JDBC class... These what i code in struts-config.xml: data-sources data-source autoCommit=false description=Oracle

[OT] where's IRC #struts_users?

2003-07-01 Thread Brandon Goodin
I can't locate #struts_users on irc.darkmyst.org... does anyone know what's going on? Brandon Goodin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FieldChecks.validateMinLengths()

2003-07-01 Thread Adam Hardy
I'm sorry, it was my fault. I had forgotten to replace the validator-rules.xml with the new version. David Graham wrote: Remove the field bundle attribute because that's not supported. What text are you typing into the input box? David --- Adam Hardy [EMAIL PROTECTED] wrote: formset form

Re: FieldChecks.validateMinLengths()

2003-07-01 Thread Adam Hardy
Hi David is there any reason to suspect I am doing something with the resource string as well? With the all-up-to-date version :) I get the correct validation message for the minvalue, but the maxvalue msg says: Title cannot be greater than null characters Any pointers? Adam Adam Hardy

Repost: Validator indexed property not working in Struts 1.1 Final Release

2003-07-01 Thread Wu, Feng
Seems like my previous email to the list did not make it. Here it goes again. Thanks. By the way, I can work around the problem of nested:messagePresent not finding the ActionError by mannualy generating the property attribute like this: nested:messagesPresent property='%= nameList[ +

RE: Where's the irc channel?

2003-07-01 Thread Mark Galbreath
That's because you are on acid. irc.darkmyst.org 6667 Mark -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 4:20 PM To: Mark Galbreath Subject: Where's the irc channel? What happened? Where did everyone go? I can't find the channel.

RE: [OT] where's IRC #struts_users?

2003-07-01 Thread Mark Galbreath
server split, dude...just hang on for a few minutes -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 4:01 PM To: Struts User List Subject: [OT] where's IRC #struts_users? I can't locate #struts_users on irc.darkmyst.org... does anyone

Re: Struts - j2ee compliant

2003-07-01 Thread objectworlds
To use struts framework does the server have to be J2EE compliant ? if so is that the case for model 1 model 2 ? Is tomcat always J2EE compliant ? [EMAIL PROTECTED] wrote: --- objectworlds [EMAIL PROTECTED] wrote: I have been informed that Jakarta Struts framework is a subproject of

Want immediate answers to your Struts questions?

2003-07-01 Thread Mark Galbreath
and have a good time as well? get an IRC client and go to irc.darkmyst.org 6667 channel #struts_users and we are particularly looking for Wendy. The #struts_users gang - To unsubscribe, e-mail: [EMAIL PROTECTED] For

  1   2   >