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

2003-07-02 Thread Samuel . Opoku-Boadu
Hello Martin and Marco, Its working perfectly now. Thanks a lot. Samuel -Ursprungliche Nachricht- Von: Martin Naskovski [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 1. Juli 2003 19:52 An: Opoku-Boadu, Samuel; Marco Maier Cc: [EMAIL PROTECTED] Betreff: Re: AW: AW: Can I have a nbsp;

Eclipse - Struts - Resin - MySQL

2003-07-02 Thread Valliappan Ramanathan
hi all, im new to struts... can anyone tell me how to set up the development environment for Eclipse - Struts - Resin - MySQL Thanks a lot... Tscuss :) Seenu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Eclipse - Struts - Resin - MySQL

2003-07-02 Thread Amjad Shahrour
You must be kidding !!! Is this a quistion? -Original Message- From: Valliappan Ramanathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:54 AM To: Struts Users Mailing List Subject: Eclipse - Struts - Resin - MySQL hi all, im new to struts... can anyone tell me how to

Re: Eclipse - Struts - Resin - MySQL

2003-07-02 Thread Alen Ribic
:-) - Original Message - From: Amjad Shahrour [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 9:07 AM Subject: RE: Eclipse - Struts - Resin - MySQL You must be kidding !!! Is this a quistion? -Original Message- From:

RE: Eclipse - Struts - Resin - MySQL

2003-07-02 Thread Panjrath, Charu
Have a look at :http://www.developer.com/java/ent/article.php/2107401 This might help u start with struts. -Original Message- From: Valliappan Ramanathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 4:54 PM To: Struts Users Mailing List Subject: Eclipse - Struts - Resin -

RE: Tiles Problem

2003-07-02 Thread Panjrath, Charu
Got it running . .. Thx -Original Message- From: Panjrath, Charu Sent: Wednesday, July 02, 2003 2:08 PM To: Struts Users Mailing List Subject: Tiles Problem Hi, I am trying to create a simple welcome page using tiles. I picked up the code from 'Struts Kick Start' - Chapter 16 Using

AW: Problem with Tiles definitions in XML File

2003-07-02 Thread Christian Ambach
Hi Peter! Thx a lot.. That worked. But why do 2 books not tell me this? Why do they omit this? Thx, you saved me :D Christian -Ursprüngliche Nachricht- Von: Peter Smith [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 1. Juli 2003 23:28 An: Struts Users Mailing List Betreff: Re:

arrays

2003-07-02 Thread Eugen Bushuev
Hi. I need to present user with list of some items (say, goods) as textfields and correspondent submit buttons to easy update those values. In PHP it looks something like that: ? if (!is_array($items)) { $items = array(1=aaa, 2=bbb, 3=ccc); } if (is_array($save)){ $key =

[ANNOUNCE] Scioworks Camino 3 Pro - Visual modeling for Struts

2003-07-02 Thread John Yu
Dear Struts Users, We are pleased to announce the release of Scioworks Camino 3 Professional Edition, a visual tool for Struts application development. This new edition supports visual modeling for Struts-Tiles, advanced UML-WAE style Storyboard, Application Model Verifier, Document Generation

Internationalization on a larger scale.

2003-07-02 Thread Linus Nikander
I'm pretty new to Struts usage so it might be i'm overlooking an obvious solution to this. The thing I've been looking at Internationalization issues concerned with Struts. The thought of being able to change the whole language of a site simply by changing the locale of the user really appeals to

response after include

2003-07-02 Thread
Hello, I used from another class (not Struts) include(request,response) for call Struts action by path. But after this action, I can't to add something into response, because response already committed by Struts action with return (null). How can I resolved this problem? Regards, Viatcheslav

Re: How do I define a bean for the first element in a Collection

2003-07-02 Thread Adam Hardy
Drop the [1] index from your bean:define Andrew van der Voort wrote: I am writing a jsp page that displays an unknown number of rows, with each row containing an unknown nuimber of columns. So in my form I have defined a Collection (reportRows) that holds the rows. Each element in reportRows is

Re: arrays

2003-07-02 Thread Adam Hardy
Use an iterate taglib tag - there's the standard struts ones or the JSTL ones. Or even the nested-beans tags. There are many ways to do this. Check out the Resources section on the struts website for examples or tutorials. Adam Eugen Bushuev wrote: Hi. I need to present user with list of some

Re: struts-user Digest 1 Jul 2003 13:07:49 -0000 Issue 3513

2003-07-02 Thread Heather Buch
Hi Adam, Thanks for the reply. In my step #2, I always save the dataset in a bean in the session or request. I never save data in the form bean from an action. If the idea is to save data in a form bean before showing the form to the user, than I'm probably doing it all wrong. Here is an

Re: Upgrading to Struts 1.1

2003-07-02 Thread Natalie D Rassmann
No I didn't type it manaually. My project doesn't use the commons logging utility. I use JDK 1.4 Logging API. I did some further investigation and I found that it was unable to load my servlet so it is making it unavailable. I will attach my struts-config and web.xml files. Maybe there is a clue

Re: view objects

2003-07-02 Thread george . baxter
Hi Adam, Thanks for your reply.. but I think perhaps the point may be missed... probably by me, but here goes... Suppose you have on your jsp a drop down menu... a list of options, perhaps a list of colors. This list is generated from a database query. What I do not want to do: I do not want

html:errors/ problems

2003-07-02 Thread Brian McSweeney
Hi all, I'm trying to display errors on a jsp to which my form returns if the data submitted is invalid. My form extends org.apache.struts.validator.ValidatorForm some fields use the validator form validation, but for custom server side validation I overwrite the validate method as follows:

bean:write problem

2003-07-02 Thread Linus Nikander
I saw this problem was already posted earlier, but no solution was found. I've got the same problem but I might be able to supply you with a bit more information. This is my first ever attempt at using Struts so I can't say if this problem occurs in 1.0.x since I started with 1.1 right off the

MVC, Security, and Redirect

2003-07-02 Thread Jing Zhou
All, The following is my experience about the subject over the years and also includes what I learned so far. What is the best practice for the security checking with the MVC design pattern? Over the years, I learned that the Struts developers have been using the following ideas for the security

Re: html:errors/ problems

2003-07-02 Thread vellosa
Hi Brian, I had a problem like that when I ommited the following values from my ApplicationResources file: errors.header = ul errors.footer = /ul errors.prefix = li errors.suffix = Once I added them it worked fine. Regards IV from:Brian McSweeney [EMAIL PROTECTED] date:

Re: Eclipse - Struts - Resin - MySQL

2003-07-02 Thread Valliappan Ramanathan
Thanks... Tschuss :) Seenu - Original Message - From: Panjrath, Charu [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 12:44 PM Subject: RE: Eclipse - Struts - Resin - MySQL Have a look at

RE: Upgrading to Struts 1.1

2003-07-02 Thread Andrew Hill
snip No I didn't type it manaually /snip So did you check your commons-logging.properties and make sure your spelling it correctly... its: 'apache' not 'apche'! -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, 2 July 2003 17:27 To: Struts

RE: view objects

2003-07-02 Thread Andrew Hill
Its recomended that you also pass through an Action before going to a JSP - this being a setup action as opposed to the one you hit after submitting from that JSP (though they are often different executes in the same dispatch action). Load your stuff into beans there and save it as a request

Re: Upgrading to Struts 1.1

2003-07-02 Thread Natalie D Rassmann
Thank you so much that was my problem; a stupid typo. Andrew Hill wrote: snip> No I didn't type it manaually /snip> So did you check your commons-logging.properties and make sure your spelling it correctly... its: 'apache' not 'apche'! -Original Message- From: Natalie D Rassmann

Sequence Diagram

2003-07-02 Thread Abhinav (Cognizant)
Is there a Sequence diagram of Struts 1.1 around ** Message from InterScan E-Mail VirusWall NT ** ** No virus found in attached file noname.htm No Virus detected in the attached file(s). * End of message *** This e-mail and any files

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
Hi IV, Thanks for the help. I gave that a go, Putting the error.stuff into my resource bundle. I am now getting back the bullet points for each Error but still cannot see the messages at all! This seems nuts to me, if I look at the ActionError constructor, it takes a string as it's parameter

Re: Internationalization on a larger scale.

2003-07-02 Thread Sebastien Flacher
Hi Linus, As a single textfile is used, when there are several thousand entries it will become difficult to manage. this link has details on Resource Bundles inheritance http://developer.java.sun.com/developer/technicalArticles/Intl/ResourceBundles/ So far I find the Struts framework pretty

RE: html:errors/ problems

2003-07-02 Thread vellosa
Brian, You want to have the message key in your ActionError and struts will resolve it from the ApplicationResources file for you. It is not something you manually need to do. However last time I tried to return a value which was not in the ApplicationResources file I got an exception thrown

Re: Struts - j2ee compliant

2003-07-02 Thread objectworlds
So if I have a requirement to use the Mail API with a web app then I should perhaps consider downloading EJBOSS and stateless session beans to compliment tomcat the struts framework , etc. [EMAIL PROTECTED] wrote: On Wed, 2 Jul 2003, objectworlds wrote: What is incomplete in tomcat ?

Best Way putting ArrayList of ValueObjects in Struts.

2003-07-02 Thread AshokD
Hi, I have doubt regarding some implementation in Form. I have a list of ValueObjects, some are editable and some are not editable. We can implement this, putting this list to a Form or putting this list into a Session. Which implementation is best in above two options ? Thanks Regards,

Any Possibility of Passing Parameters to a ActionMapping

2003-07-02 Thread AshokD
Hi, I have a question regarding ActionMapping and Forwards. I have a url which is configured in struts-config.xml as forward. From my Action class I can simply forward to this url, but I need to pass a parameter to this URL. Is it possible ? If yes how can we do this? Thanks in Advance,

RE: Any Possibility of Passing Parameters to a ActionMapping

2003-07-02 Thread Jimmy Emmanual
yes. you can do it in the config file if it is just a static parameter or in the Action Class. 1. forward name=test path=test.jsp?thistest=mytest 2. ActionForward forward = mapping.findForward(test); StingBuffer path = new StringBuffer(forward.getPath(); path.append(?thistest=mytest); return

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
IV, You want to have the message key in your ActionError and struts will resolve it from the ApplicationResources file for you. It is not something you manually need to do. That was the problem! Thanks so much! I didn't have the message in my Resource bundle. Once I put it in, everything worked

Re: struts-user Digest 1 Jul 2003 13:07:49 -0000 Issue 3513

2003-07-02 Thread Adam Hardy
OK, should I understand that all your forms are initially blank, without any text in the boxes? That would explain why I was talking confusingly. Anyway, you are doing fine NOT storing the select-box-data in the form. What you are doing seems complicated, although I can't really say. It

Re: MVC, Security, and Redirect

2003-07-02 Thread Adam Hardy
Jing Zhou wrote: All, The following is my experience about the subject over the years and also includes what I learned so far. What is the best practice for the security checking with the MVC design pattern? Over the years, I learned that the Struts developers have been using the following ideas

RE: html:errors/ problems

2003-07-02 Thread Kris Schneider
Brian, Now that the messages are working, one other thing you might want to check is whether your validator-based validation errors are really being captured. The first few lines of your validate method look like they just ignore the result of calling super.validate: public ActionErrors

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
Reasons why people should love this list: 1) People solve bugs for you that you didn't even know you had! Thanks SO much Kris, I turned off javascript, and yes, I was ignoring the other validation errors. Your code made it work perfectly. I really appreciate your help, Brian -Original

Custom Validation question

2003-07-02 Thread Brian McSweeney
Seeing as I'm doing so well today, getting my problems solved, I thought I'd give this one a go. I am validating some fields automatically using a ValidatorForm. However, some fields I validate myself by overwriting the validate method as follows: public ActionErrors validate(

RE: Internationalization on a larger scale.

2003-07-02 Thread James Childers
I'm pretty new to Struts usage so it might be i'm overlooking an obvious solution to this. The thing I've been looking at Internationalization issues concerned with Struts. The thought of being able to change the whole language of a site simply by changing the locale of the user really

RE: html:errors/ problems

2003-07-02 Thread Kris Schneider
;-) Glad it helped. Nothing like having billions and billions of other developers eyeballing your code... Quoting Brian McSweeney [EMAIL PROTECTED]: Reasons why people should love this list: 1) People solve bugs for you that you didn't even know you had! Thanks SO much Kris, I turned off

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
Absolutely! Large open-source projects...unbeatable!! Viva la revolucion! -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 14:23 To: Struts Users Mailing List Subject: RE: html:errors/ problems ;-) Glad it helped. Nothing like having billions and

Re: Internationalization on a larger scale.

2003-07-02 Thread Vic Cekvenich
There is a DB driven resource bundle on struts.sf.net. Sebastien Flacher wrote: Hi Linus, As a single textfile is used, when there are several thousand entries it will become difficult to manage. this link has details on Resource Bundles inheritance

Re: Using rewrite to reference HTML Assets - Tip #9 Question

2003-07-02 Thread Nicolas De Loof
Did you include the taglib definition on JSP header : %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % Look at generated HTML to see if html:rewrite tag has been fully translated by JSP compiler. Nico. Just signed up to the mailing list a few minutes ago so as you would probably

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

2003-07-02 Thread Kim Bilida
I think you need the classes12.jar file from Oracle for the thin client driver. This needs to be in the classpath for your server and for your application. Try looking for the download here: http://otn.oracle.com/sample_code/tech/java/oc4j/htdocs/jcookbook/index.htm Kim -Original

How do install/use struts in iWS 6.0? (VERY URGENT)

2003-07-02 Thread JavaXML Developer
i deployed struts application on iWS 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. 01/Jul/2003:15:01:02] info

Re: Using rewrite to reference HTML Assets - Tip #9 Question

2003-07-02 Thread Richard_Shearin
Yes, the taglib def for html and other tags are in the header and all tags (html, logic, etc.) work fine everywhere else. Here's the generated html: SCRIPT language='javascript' SRC='/js/overlib_mini.js' /SCRIPT SCRIPT language='javascript' SRC='/js/calendar.js' /SCRIPT Also, I noticed

RE: Sequence Diagram

2003-07-02 Thread NYIMI Jose (BMB)
Have a look to : http://www.mycgiserver.com/~eboudrant/images/requestSequence.gif http://www.mycgiserver.com/~eboudrant/#uml11 HTH, José. -Original Message- From: Abhinav (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 12:11 PM To: Struts Users Mailing List

Upgrading to Struts 1.1 problem with commons-collections

2003-07-02 Thread Kim Bilida
Hello all, I've upgraded to Struts 1.1 and everything compiles, deploys and runs fine. (I'm using SilverStream4.0) It's when I do a second deploy that I get the following error message. I then need to restart the server in order to redeploy. Yes, I have commons-collections.jar in the

RE: Using rewrite to reference HTML Assets - Tip #9 Question

2003-07-02 Thread Raible, Matt
You might try a the HTML4/XHTML standard way of writing this: script type=text/javascript src=/js/overlib_mini.js/script Notice the all lowercase attributes and the /script is on the same line. And ype, this is backwards compatible with all browsers to my knowledge. Matt -Original

Re: Using rewrite to reference HTML Assets - Tip #9 Question

2003-07-02 Thread Nicolas De Loof
About the syntax error, just change SCRIPT language='javascript' SRC='html:rewrite page=/js/overlib_mini.js/' ... to SCRIPT language='javascript' SRC='html:rewrite page=/js/overlib_mini.js/' ... (no more after language attribute) About your context, I don't know why it would'nt work.

Re: Using rewrite to reference HTML Assets - Tip #9 Question

2003-07-02 Thread Richard_Shearin
OK, I think that I've fixed it now. In tip #9, there is a at the end of the first line leaving what appears to be an extra at the end of the 2nd line. I originally noticed this but being fairly new to Struts, I just assumed that it was there for a reason. However, after getting a syntax error

org/apache/struts/legacy/GenericDataSource error

2003-07-02 Thread Ricardo de Souza Moura
I am getting this error when I try access my action: java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource But I perceived that this class don't exist inside the struts.jar. Where is this class ? What Can I do to resolve this problem ? Thanks

Re: Upgrading to Struts 1.1 problem with commons-collections

2003-07-02 Thread Adam Hardy
Did you upgrade the commons-collections.jar in your appserver directory to the one from the struts 1.1 install? Kim Bilida wrote: Hello all, I've upgraded to Struts 1.1 and everything compiles, deploys and runs fine. (I'm using SilverStream4.0) It's when I do a second deploy that I get the

RE: Upgrading to Struts 1.1 problem with commons-collections

2003-07-02 Thread Kim Bilida
Yes indeed. That was the first thing I verified when I got the error. Plus, the commons-collections has not been modified since Oct 2002! Kim -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 10:51 AM To: Struts Users Mailing List Subject: Re:

Are .jsp files required ?

2003-07-02 Thread BOULAY Arnaud
Hi ! Are .jsp files physically required on a production server ? I would prevent any change by my customer and think that reloading=false is not safe enougth. I think that .class should be enougth but delete a .jsp file generates an exception (even with reloading=false in web.xml).. I want

RE: org/apache/struts/legacy/GenericDataSource error

2003-07-02 Thread David Bolsover
Assuming that you are using the Struts 1.1 relaese, you need to make sure the contents of struts-legacy.jar are in your classpath. db -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 15:50 To: [EMAIL PROTECTED] Subject:

RE: Are .jsp files required ?

2003-07-02 Thread James Childers
Hi ! Are .jsp files physically required on a production server ? If you are wanting to use JSPs, then yes. I would prevent any change by my customer and think that reloading=false is not safe enougth. Prevent any changes by the customer to what? The JSPs? The customer can't change the

RE: Upgrading to Struts 1.1 problem with commons-collections

2003-07-02 Thread Kim Bilida
Here's the message SilverStream is giving me when the deployment fails: AgoDeploymentException: Upload of deployment data to the server failed. Archive: CM_kim(CM_kim.war) com.sssw.srvtools.deploy.AgoDeploymentException: Upload of deployment data to the server failed.

Re: Struts - j2ee compliant

2003-07-02 Thread Sandeep Takhar
Two other things that come up on the list a lot are filters and struts-el. These require servlet 2.3 and jsp 1.2. sandeep --- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Tue, 1 Jul 2003, objectworlds wrote: Date: Tue, 01 Jul 2003 21:51:01 +0100 From: objectworlds [EMAIL PROTECTED]

How the Values will Update in Session List if I Used Nested Iterator

2003-07-02 Thread AshokD
Hi, 1) I am displaying a list of ValueObjects(which are editable) in a page by setting a ArrayList to form.. When I submit the form the values are updating into form arraylist variable. What is the logic behind in updation of list in a from when I submit the form. 2) I am displaying a list

DynaValidatorActionForm

2003-07-02 Thread Adam Hardy
I set up the Validator to do automatic validation with normal action forms and it worked fine. Now I'm trying to incorporate dynaforms but I'm not having any luck. I'm not getting server-side validation carried out. I see from delving into the source code for struts and commons-validator

Re: Upgrading to Struts 1.1 problem with commons-collections

2003-07-02 Thread Adam Hardy
did you actually look inside your commons-collections.jar to see that you have that class in there, and that the jar is definitely on the class path for silverstream, not just in the WEB-INF/lib where I believe the server processes can't see it? It may well at the point of unloading the war

Html-El Form and Indexed Tags Problem

2003-07-02 Thread Brown, Melonie S. - Contractor
I have a form with a list that is made up of UserMenuItem objects. I want to allow the user to set various properties of the individual UserMenuItem objects. The action the form is submitted to would take the list with the user's input and process it. To accomplish this, I'm trying to do

Can anyone address this issue ? (VERY URGENT)

2003-07-02 Thread JavaXML Developer
i deployed struts application on iWS 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. 01/Jul/2003:15:01:02] info

Testing Frameworks - experience/recommendation

2003-07-02 Thread Brian McSweeney
Hi all, I know this has been discussed previously, but I’d like some user feedback. I’m going to start writing test cases soon, and I’d like to know people’s experience using the various frameworks available. First off, my environment: I’m using Struts talking to ejbs (session façade to

RE: MySQL Problems

2003-07-02 Thread Chip Paul
Struts w/ mysql will drop the connection after a while. There's on option in the data sources config that will make it auto-reconnect when the connection drops. I had to specify this flag in my app or the connection would drop after a couple hours and never come back. data-source

RE: Testing Frameworks - experience/recommendation

2003-07-02 Thread Chappell, Simon P
Brian, I'm currently trying JMeter (also a Jakarta project) and am finding it very useful. It has the advantage that it is possible to record web sessions and play them back in testing mode. This eliminates the need for coding of tests. The tools that extend Junit typically require coding, so

Validation Problems

2003-07-02 Thread Nathan Ewing
I'm trying to set up struts validation (using the validate() function in the actionForm) and I'm getting a few problems. First, as soon as I open the form it shows the validation errors. It doesn't wait until I fill out the form. Is there a way to prevent this? Second if I fill out the form

Re: Are .jsp files required : more precise needs

2003-07-02 Thread BOULAY Arnaud
Thanks for your previous answers ! but I must be more precise : My customer is not a web navigator user but a corporate system administrator in a factory across the world that must deploy a webapp that my development team gives to him. I'll give him a archive file (without .jsp files) and he

Re: Testing Frameworks - experience/recommendation

2003-07-02 Thread Erik Price
Brian McSweeney wrote: Hi all, I know this has been discussed previously, but Id like some user feedback. Im going to start writing test cases soon, and Id like to know peoples experience using the various frameworks available. First off, my environment: Im using Struts talking to ejbs

Re: DynaValidatorActionForm

2003-07-02 Thread Adam Hardy
Hmm., just realised the name of the form here is actually the action mapping path. Should I be naming the forms in validation.xml after the action mappings then rather than the form-beans from struts-config? Adam Hardy wrote: I set up the Validator to do automatic validation with normal action

Re: Validation Problems

2003-07-02 Thread Adam Hardy
Nathan Ewing wrote: I'm trying to set up struts validation (using the validate() function in the actionForm) and I'm getting a few problems. First, as soon as I open the form it shows the validation errors. It doesn't wait until I fill out the form. Is there a way to prevent this? yes sure, you

Re: Are .jsp files required : more precise needs

2003-07-02 Thread Jamie M. Guillemette
Dont know if you saw my previous post but your answer is to distribute only class files. Hence you need to precompile the jsps. By doing this they will automatically become servlets. ( this does not change how you build your app ) This way you client cant alter the code even if they wanted to.

Matching multiple URL's in web.xml and filtering them in struts

2003-07-02 Thread David Erickson
I'd like to have at least 2 URL pattern matches in web.xml, say *.do and /pdf/* then in struts match them up. I got it to work like that, but what happens is it takes any of the *.do actions and writes the url as /mywebapp/pdf/whatever.do even though the request was for /mywebapp/action.do.

Re: Validation Problems

2003-07-02 Thread Nathan Ewing
I did as you suggested and it doesn't show the validation errors the first time (although I'm a bit disappointed I have to do 2 separate actions just for the same thing. Now if I hit submit I get the nullpointer exception regardless of whether I fill in the form correctly or not. Nathan ---

Re: Matching multiple URL's in web.xml and filtering them in struts

2003-07-02 Thread Dirk Markert
Hello David, put *.do as the *last* mapping in your web.xml. *** DE I'd like to have at least 2 URL pattern matches in web.xml, say *.do and DE /pdf/* then in struts match them up. I got it to work like that, but what DE happens is

RE: Validation Problems

2003-07-02 Thread Wendy Smoak
Nathan wrote: I'm trying to set up struts validation (using the validate() function in the actionForm) and I'm getting a few problems. First, as soon as I open the form it shows the validation errors. It doesn't wait until I fill out the form. Is there a way to prevent this? Search the

Re: MVC, Security, and Redirect

2003-07-02 Thread Jing Zhou
- Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:16 AM Subject: Re: MVC, Security, and Redirect Jing Zhou wrote: All, The following is my experience about the subject over the years and

RE: Validation Problems

2003-07-02 Thread Nathan Ewing
Actually version 1.1.b3 Maybe I should try the final release. Nathan --- Wendy Smoak [EMAIL PROTECTED] wrote: Nathan wrote: I'm trying to set up struts validation (using the validate() function in the actionForm) and I'm getting a few problems. First, as soon as I open the form it

RE: Are .jsp files required : more precise needs

2003-07-02 Thread James Childers
This won't work. You can precompile the JSPs and distribute the .class files, but when the container tries to read the JSP it won't find it and will give a 404 to the user. Try it. Basically the only way to do what Arnaud wants is to go with a pure servlet solution: for every JSP, create a

Re: Are .jsp files required : more precise needs

2003-07-02 Thread Jamie M. Guillemette
James / Arnaud, We do this right now in our production environment and it works great. When you precompile the jsps they do get converted into servlets. a xml file is also created that contains mapping from the jsp url to the servlet. That way when you request the jsp file it will map it to the

generate html:link parameters by iterating over a list

2003-07-02 Thread SuniX
hi i want to generate parameter according to a iterated bean property Here is my source code and i wan to add a parameter ( shares property : name) to the link thanks for any help and sorry for my poor english :p % java.util.HashMap hashmap = new java.util.HashMap(); hashmap.put(method,

Christopher Seekamp/Raleigh/IBM is out of the office.

2003-07-02 Thread Christopher Seekamp
I will be out of the office starting July 2, 2003 and will not return until July 7, 2003. I will respond to your message when I return. If earlier action is necessary, please contact my manager, Ken Miller. - To

RE: Validation Problems

2003-07-02 Thread Nathan Ewing
Upgraded, didn't help. Nathan --- Nathan Ewing [EMAIL PROTECTED] wrote: Actually version 1.1.b3 Maybe I should try the final release. Nathan --- Wendy Smoak [EMAIL PROTECTED] wrote: Nathan wrote: I'm trying to set up struts validation (using the validate() function in

Switching between HTTP and HTTPS

2003-07-02 Thread Mounagurusamy, Jayakumar (HAL)
Hello, I was reading the SSL Extension for Struts HTTP/HTTPS switching document, it explains about using SecureRequestProcessor, and initialization handled through Plugin. Also says Please give it a try and let us know what you think. Download the distribution. Look at the example apps,

Struts + iBatis Database Layer

2003-07-02 Thread Andy Cheng
Hi! All Basically I have made the ibatis and struts examples working, and I can build some simple apps with both. However, I do not really know how to link both of them together. The current solution (I think is rather stupid) is to get an instance of the sqlMap by calling the sqlMap =

Re: [ANNOUNCEMENT] Struts 1.1 Final released

2003-07-02 Thread Martin Cooper
Arnaud HERITIER [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I believe that it is the 2.0.7 release. Actually, ORO 2.0.6 is bundled with Struts 1.1. -- Martin Cooper Arnaud. -Message d'origine- De : Mark McBride [mailto:[EMAIL PROTECTED] Envoyé : lundi 30 juin

RE: MySQL Problems

2003-07-02 Thread Met @ Uber
I was putting the MySQL connection info directly into my service class. So how would I go about grabbing that data-source information? And I'm guessing it goes somewhere in my struts-config.xml file? ~ Matthew On Wed, 2003-07-02 at 12:06, Chip Paul wrote: Struts w/ mysql will drop the

Re: Switching between HTTP and HTTPS

2003-07-02 Thread David Erickson
We've started using it here at work, I recompiled it with the struts 1.1 libs and it seems to work pretty well.. its not fully implemented but it is capable of redirecting you in and out of an HTTPS session. I have heard there is a bug maintaining a session though when you switch from https back

RE: Are .jsp files required : more precise needs

2003-07-02 Thread James Childers
Cool! So what generates your xml data? XDoclet? If so, where do you put your XDoclet information? -= J -Original Message- From: Jamie M. Guillemette [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 11:55 AM To: Struts Users Mailing List Subject: Re: Are .jsp files

Re: Struts - j2ee compliant

2003-07-02 Thread Martin Cooper
objectworlds [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] So if I have a requirement to use the Mail API with a web app then I should perhaps consider downloading EJBOSS and stateless session beans to compliment tomcat the struts framework , etc. If, by the Mail API, you

Re: Struts + iBatis Database Layer

2003-07-02 Thread Vic Cekvenich
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/bPproj/src/war/com/baseBeans/scaFfoldingXpress/base/util/DAOIBaseHelper.java Andy Cheng wrote: Hi! All Basically I have made the ibatis and struts examples working, and I can build some simple apps with both. However, I do not really

Session ID always being appended even with cookies enabled?

2003-07-02 Thread David Erickson
Well I've been setting up struts and for some reason struts is always rewriting my urls with the session id in it, even though I know for sure that cookies are enabled.. I know this is pretty vague but does anyone know what would cause this? thanks -David

Re: Are .jsp files required : more precise needs

2003-07-02 Thread Jamie M. Guillemette
Im currently using Tomcat as my server. I use the jspc command that comes with tomcat. If your using another server it probably has an equivilent command. If not write back and ill give details on how to run it without tomcat. as for the xml... it gets generated by the jspc command it self. The

Webapp Security?

2003-07-02 Thread David Erickson
Just curious how others have gone about protecting the resouces within their webapp.. in our personal setup we would like to control access to every resource if possible, we have our own custom login page that sets session variables, and pulls the data from the database. We can authenticate

Re: DynaValidatorActionForm

2003-07-02 Thread Kris Schneider
If you're using DynaValidatorActionForm, the name attribute of the form element in validation.xml should be the same as the path attribute of the action element in struts-config.xml. Quoting Adam Hardy [EMAIL PROTECTED]: Hmm., just realised the name of the form here is actually the action

More Validation Problems

2003-07-02 Thread Nathan Ewing
Well I figured out why I was getting a validation error. I was returning a null error if there were no errors. Unfortunately now I find my real problem. My form shows correctly (more or less), but if I hit submit instead of just popping back up with validation errors it goes to the Action class

Re: More Validation Problems

2003-07-02 Thread Nathan Ewing
Omg I figured it out :) In my validation, to see if someone had filled in a required field I was checking to see if the field was null. Because of this whenever the form displayed the bean would be created with null fields and errors would display. Then when I hit submit it would make the blank

RE: Webapp Security?

2003-07-02 Thread Raible, Matt
How about using container managed security with tomcat's realms? It works great for me. Here's an example app if you're interested: http://tinyurl.com/fuvq HTH, Matt -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 11:27 AM To: Struts

Re: generate html:link parameters by iterating over a list

2003-07-02 Thread Kris Schneider
JSTL is your friend: jsp:useBean id=hashmap class=java.util.HashMap/ c:set target=${hashmap} property=method value=supprimeShare/ c:forEach var=shares items=${sharesDocFile} c:set var=name value=${shares.name}/ c:set var=refFileSyst value=${shares.refFileSyst}/ c:set target=${hashmap}

  1   2   >