[ANNOUNCE] Struts-Silicon-Valley July 2nd meeting in Mountain View

2003-06-30 Thread Van Riper, Mike
The next Silicon Valley Struts User Group meeting is happening this week in Mountain View at 7pm on Wednesday, July 2nd. A demonstration of Exadel Struts Studio, by Igor Shabalov, will show why you need more than just a Java IDE to be a productive Struts User. This event is free and open to the

using struts datasource from a servlet

2003-06-30 Thread Richard Raquepo
can i call/use the a struts datasource in my servlet. the thing is, i have a struts app. then i created a servlet to do some specific thing. now my question is, can i use the datasource defined in my struts config file in my servlet. if so, how? example code will be very much appreciated.

RE: using struts datasource from a servlet

2003-06-30 Thread Steve Raeburn
Struts stores the datasources as servlet context attributes. You can access the default datasource in your servlet using - (DataSource) getServletContext().getAttribute(Globals.DATA_SOURCE_KEY); Take a look at the struts-config dtd for more info (particularly if you use modules)

Re: using struts datasource from a servlet

2003-06-30 Thread Richard Raquepo
ic... another question. what if it's not a servlet. just a class i made wherein i call it from one of my action or servlet but still i will need to use struts datasource. how can it be done. thanks everyone. -richard - Original Message - From: Steve Raeburn [EMAIL PROTECTED] To: Struts

RE : using struts datasource from a servlet

2003-06-30 Thread Nicolas Seinlet
Maybe you can pass the datasource as a parameter to the class. -Message d'origine- De : Richard Raquepo [mailto:[EMAIL PROTECTED] Envoyé : lundi 30 juin 2003 8:54 À : Struts Users Mailing List; [EMAIL PROTECTED] ic... another question. what if it's not a servlet. just a class i made

RE: using struts datasource from a servlet

2003-06-30 Thread Steve Raeburn
You can either pass the datasource from your servlet/action as a method parameter or you need to register the datasource somewhere that the class can access. That might be using JNDI, in which case you probably don't need to configure your datasource in Struts but in your container. Another

Modules and common files

2003-06-30 Thread geoff
Hi, We have just started using modules and have run into a problem when it comes to common files between the modules (eg: javascript, stylesheets, images). It appears that all files required for a module must be in that module's directory. Which means that if all modules used the same

RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Andrew Hill
WOOHOO! Great work guys :-) So does anyone know when 1.2 will be released? ;- -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Monday, 30 June 2003 15:39 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCEMENT] Struts 1.1 Final

Simplest way to show the matrix

2003-06-30 Thread BOULAY Arnaud
Hi ! I would like to know what is the best practise to show a 2d array of simple type like double or int in a .jsp using logic:iterate. regards, Arnaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Skip some FORM field(s) pre-population process

2003-06-30 Thread Alen Ribic
Hi all Can I some how exclude an html field (html:file / to be exact) from pre-populating info that is to be edited? My scenario follows: I have a form that is used to edit a product. It contains fields such as Product name==input/text, Product description==textarea, Product image==input/file,

Re: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Gemes Tibor
Andrew Hill rta: WOOHOO! Great work guys :-) So does anyone know when 1.2 will be released? ;- I bet not in the next 2 ys. :) However I don't care for releases, I just download nighties. Tib - To unsubscribe,

Re: Submiting a form through a link

2003-06-30 Thread Firat TIRYAKI
Well, filling the href parameter to tell that it should read javascript, you can use the below alternative. a href=javascript:// onclick=document.forms[0].submit(); F. - Original Message - From: Kruse, Matt [EMAIL PROTECTED] To: 'Struts Users Mailing List ' [EMAIL PROTECTED] Sent:

RE: Simplest way to show the matrix

2003-06-30 Thread Filip Polsakiewicz
hi, try: logic:iterate name=... property=ydirection id=y logic:iterate name=... property=xdirection id=x bean:define id=output value=%=myarray[x,y] %/ bean:write name=output/ /logic:iterate /logic:iterate HTH Filip -Original Message-

Re: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Nicolas De Loof
Great ! We deliver our application to our customer ... this afternoon ! Perhaps it will be the first Struts 1.1 FINAL application ? Nico. - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, June 30, 2003

Re: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Nicolas De Loof
Great ! We deliver our application to our customer ... this afternoon ! Perhaps it will be the first Struts 1.1 FINAL application ? Nico. - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 30, 2003 9:47 AM Subject:

RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Andrew Hill
snip However I don't care for releases, I just download nighties. /snip Im gonna need a lot of counselling to recover from that mental image hehe ;-) -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED] Sent: Monday, 30 June 2003 15:47 To: Struts Users Mailing List Subject:

Re: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Gemes Tibor
Andrew Hill rta: snip However I don't care for releases, I just download nighties. /snip Im gonna need a lot of counselling to recover from that mental image hehe ;-) I tell the truth. Maybe I download and use nighties, but the managers turned really happy hearing the news. So good work

File Upload size restriction ??

2003-06-30 Thread Marc
Hallo, I have short question according file-upload with struts: What happens, when the configured maximal buffersize (element controller maxFileSize=2500K / in struts-config) is exceeded by an user-upload ? The data seems to be ignored, but how can I deteced such a case so that I can send an

Re: using struts datasource from a servlet

2003-06-30 Thread Richard Raquepo
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 thanks a lot. - Original Message -

File Upload size restriction ??

2003-06-30 Thread Marc
Hallo, I have short question according file-upload with struts: What happens, when the configured maximal buffersize (element controller maxFileSize=2500K / in struts-config) is exceeded by an user-upload ? The data seems to be ignored, but how can I deteced such a case so that I can send an

[ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Martin Cooper
The Struts team is proud, and extremely pleased, to announce the Final release of Struts 1.1. This release includes significant new functionality, as well as numerous fixes for bugs which were reported against the previous release, and supersedes the earlier 1.0.2 version as the latest official

About Value Object

2003-06-30 Thread Shashank Dixit
Hello All I am designing a framework using struts which involvs support for EJB too. I got one prob of sending value objects to app servr and taking it back. I am creating value objects from FORM beans and then sending it to AppServer. Then after EJB call and whatever is the

RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Andrew Hill
Hehe, sorry Gemes , was just making a bit of a wordplay on your mis-spelling of nightlies!, - but speaking seriously the impression Ive had of the nightly builds based on what people have said in the mailing list is that they have been pretty stable since 1.1 reached RC status. Weve actually been

Re: About Value Object

2003-06-30 Thread Gemes Tibor
Shashank Dixit rta: Hello All I am designing a framework using struts which involvs support for EJB too. I got one prob of sending value objects to app servr and taking it back. I am creating value objects from FORM beans and then sending it to AppServer. Then after EJB call and

Re: DynaValidationForm

2003-06-30 Thread Matthias Wessendorf
thank you, but my problem is, i can not create a instance of a DynaActionForm in my execute() i have something like this: ... BusinessData bd = Application.getBusinessObject(); Hashtable ht = new Hashtable(); ht.put(Name, bd.getName()); ht.put(Foo, bd.getFoo()); request.setAttribute(data,ht);

Re: URGENT GREEK CHARACTER SUPPORT

2003-06-30 Thread Konstadinis Euaggelos
Dimitri to lusate to problhma me ta ellhnika ? Vangos. - Original Message - From: Karapiperis Dimitris [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc: Stogiannopoulos Kleandros [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 12:16 PM Subject: URGENT GREEK

RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Daniel Joshua
Congradulations thanks to all who helped make this happen. You'all make our lifes easier... Regards, Daniel -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Monday, 30 June, 2003 3:39 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject:

Re: URGENT GREEK CHARACTER SUPPORT

2003-06-30 Thread Konstadinis Euaggelos
Sorry, this wasn't for the list. - Original Message - From: Konstadinis Euaggelos [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 30, 2003 12:02 PM Subject: Re: URGENT GREEK CHARACTER SUPPORT Dimitri to lusate to problhma me ta ellhnika ?

Re: File Upload size restriction ??

2003-06-30 Thread Marc
Uups, found the answer in one of the strus-examples. Here it is for those who are interested. Regards Markus /** * Check to make sure the client hasn't exceeded the maximum allowed upload size inside of this * validate method. */ public ActionErrors

RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Stephen Ting
Great works.. Thanks guys. -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: 30 June 2003 15:39 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCEMENT] Struts 1.1 Final released The Struts team is proud, and extremely pleased, to

Re: File Upload size restriction ??

2003-06-30 Thread Nicolas De Loof
I'm using fileupload too and have difficulties to send errors about file size. Are you able to send an error message with this code ? In my application validate method returns errors (I can see it in logs) when file is too large, but browser does'nt display error JSP (waintg ...). I thing it is

Re: File Upload size restriction ??

2003-06-30 Thread Nicolas De Loof
In fact I've got this strange behaviour : - Form-bean is validated a first time. MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEEDED is setted and an ActionError is returned by validate(). - browser go on uploading for a long time ... (5 minutes for 10Mo upload on localhost) - validate is

RE: struts-logon

2003-06-30 Thread Rupinder Singh Mazara
Hi Can some please tell me how to get this sample application ? I could not find it in the Binary or Source distributions thanks Rupinder -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: 29 June 2003 20:06 To: Struts Users Mailing List Subject:

Re: File Upload size restriction ??

2003-06-30 Thread Gemes Tibor
Nicolas De Loof rta: - browser go on uploading for a long time ... (5 minutes for 10Mo upload on localhost) Thou this is not your main problem, I'd like to add a bit: I experienced similar behaviour w/ IE and found that changing the URL from http://localhost:8080/myontext to

File Upload size restriction ??--another question--urgent

2003-06-30 Thread Prashanth.S
Hi all, Is there any limit on the size of the file to be uploaded when i use struts... Iam using FormFile interface for struts upload... Is there any limit on the size of the file that is being uploaded...Iam getting error when i am uploading large files even though iam not using any

Re: File Upload size restriction ??

2003-06-30 Thread Vic Cekvenich
Try this API. http://www.servlets.com/cos/index.html .V Nicolas De Loof wrote: In fact I've got this strange behaviour : - Form-bean is validated a first time. MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEEDED is setted and an ActionError is returned by validate(). - browser go on uploading

Re: File Upload size restriction ??--another question--urgent

2003-06-30 Thread Marc
Prashanth.S wrote: Hi all, Is there any limit on the size of the file to be uploaded when i use struts... Iam using FormFile interface for struts upload... Is there any limit on the size of the file that is being uploaded...Iam getting error when i am uploading large files even though iam not

Re: File Upload size restriction ??

2003-06-30 Thread Marc
Nicolas De Loof wrote: In fact I've got this strange behaviour : - Form-bean is validated a first time. MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEEDED is setted and an ActionError is returned by validate(). - browser go on uploading for a long time ... (5 minutes for 10Mo upload on

Validator Still confusing me

2003-06-30 Thread MaFai
Hello, struts-user, Attemptto implement the simplest validator in 3 days,I nearly exhuasted. Pls give me a hand. My strut project as the following: validator-rules.xml !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN

Re: Validator Still confusing me

2003-06-30 Thread Gemes Tibor
MaFai rta: validator-rules.xml !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN http://jakarta.apache.org/commons/dtds/validator_1_0.dtd; form-validation global validator name=required

Re: File Upload size restriction ??

2003-06-30 Thread Nicolas De Loof
I Tried Struts upload example App and it works fine. So browser or tomcat conf are not responsible. Do you have any idea what I can look at to discover what works wrong on my app ? Nico. Nicolas De Loof wrote: In fact I've got this strange behaviour : - Form-bean is validated a

Re: File Upload size restriction ??

2003-06-30 Thread Nicolas De Loof
That's what I was trying to do and discovered that upload behaviour changes when going over Struts configured file-size limit (4Mo in my case) With a 3Mo file it works fine. With a 4,4Mo file I get errors on logs but upload goes on in the browser, and after a long while (3 minutes) I get others

Regarding isCancelled(request)

2003-06-30 Thread Prashanth.S
Hi all, Iam using submit and cancel buttons inside form action so that on pressing any of the buttons action is getting called...but dont want validate method to get called on pressing cancel buttonso is there any way to do so...do i need to specify submit and cancel as buttons instead of

Re: Re: Validator Still confusing me

2003-06-30 Thread MaFai
Hello, Gemes Tibor, why?I only need the require function. and which validator must be add in validator-rules.xml? === At 2003-06-30, 13:31:00 you wrote: === MaFai írta: validator-rules.xml !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator

Re: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Adam Hardy
Excellent work, all you struts committers out there. Adam Martin Cooper wrote: The Struts team is proud, and extremely pleased, to announce the Final release of Struts 1.1. This release includes significant new functionality, as well as numerous fixes for bugs which were reported against the

Re: struts-logon

2003-06-30 Thread objectworlds
You'll find that example and others on this page. http://jakarta.apache.org/struts/resources/examples.html [EMAIL PROTECTED] wrote: Hi Can some please tell me how to get this sample application ? I could not find it in the Binary or Source distributions thanks Rupinder

Re: File Upload size restriction ??

2003-06-30 Thread Marc
Nicolas De Loof wrote: That's what I was trying to do and discovered that upload behaviour changes when going over Struts configured file-size limit (4Mo in my case) With a 3Mo file it works fine. With a 4,4Mo file I get errors on logs but upload goes on in the browser, and after a long while (3

Re: Regarding isCancelled(request)

2003-06-30 Thread Adam Hardy
Hi Prashanth, if you use a html:submit and html:cancel, then the correct HTML for struts will be produced, which results in the struts controller servlet NOT executing the validation when the user clicks cancel. Adam Prashanth.S wrote: Hi all, Iam using submit and cancel buttons inside form

Fw: date validation

2003-06-30 Thread Nagendra Kumar O V S
HI, can i validate a date field to be less than or greater than the current date using validator plug-in can anyone post the code here.. TIA --nagi Nagendra Kumar O V S Member Technical Staff Ikigo

Re: Validator Still confusing me

2003-06-30 Thread Gemes Tibor
MaFai rta: Hello, Gemes Tibor, why?I only need the require function. This line of yours contradicts the above statement: fieldproperty=symbol depends=required,mask,minlength and which validator must be add in validator-rules.xml? Why cannot be all of them

Re: DynaValidationForm -DynaActionForm

2003-06-30 Thread Matthias Wessendorf
just again a question about the creation of a dynaAtionForm... now i have this code to create a form: FormBeanConfig fbc = new FormBeanConfig(); fbc.setName(myForm); DynaActionFormClass dafc = DynaActionFormClass.createDynaActionFormClass(fbc);

RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Raible, Matt
Looks great guys - nice work! test-all: BUILD SUCCESSFUL Total time: 5 minutes 35 seconds Matt -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 1:39 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCEMENT] Struts

Re: Regarding isCancelled(request)

2003-06-30 Thread Prashanth.S
Hi adam, Thank you very much for ur reply.When i was exploring iscancelled() in action class i came to know that validate method wont be called when user presses cancel...so i came to know finally that even though cancel button is inside form ,validate method wont be called according to the

site root going straight to a .do

2003-06-30 Thread Simon Kelly
Hi all, Sorry about the subject line, it's the best I can do in one sentance. What I'm trying to do, is set up the wecome file, so that instead of having to go via a html or jsp page, I can go straight to an action class! Any ideas? If someone types in htt://our.site.com/ourapp then it should

view objects

2003-06-30 Thread george . baxter
Hey all, Forgive a newbie his questions! I'm trying to understand a bit of struts and I'm having one key problem. When a with a form jsp runs, there may be dynamic data there that is not related to user input directly. Examples might include the 'step number' in a wizard or perhaps some values

Re: site root going straight to a .do

2003-06-30 Thread Johan
In the default blank struts there is an index.html (or jsp) that forwards to a global welcome. But your welcome to forward it to your start action. Johan Simon Kelly wrote: Hi all, Sorry about the subject line, it's the best I can do in one sentance. What I'm trying to do, is set up the

Re: site root going straight to a .do

2003-06-30 Thread Simon Kelly
Ok. Thanks for that. Cheers Simon - Original Message - From: Johan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 30, 2003 5:10 PM Subject: Re: site root going straight to a .do In the default blank struts there is an index.html (or jsp) that

Action Errors?

2003-06-30 Thread Kevin . Niekamp
Hi, Is there anyway to dynamically pass in a Action Error instead of always having to pass in something from a Resource File (see code below)? Also, when I go to display the error messages using html:errors/ how are the error messages sorted ? Thanks for any help! Kevin

Re: site root going straight to a .do

2003-06-30 Thread Prashanth.S
Hi simon kelly, I dont know why do u want to do that If u would still need to do that, in the struts-config.xml action path=/welcome.jspthis is important type=...GetEventChangeAction .. .. .. /action Than i think it will directly go to the action and displays the result which is

Using URLConnection to get a list of files in a directory.

2003-06-30 Thread Simon Kelly
Hi all, I am trying to make my webapp, path safe, by only using the URLs to get at all the resources, so that I can get at the files even if the war has not been unpacked. However, I need to get a list of files contained within a directory within the WEB-INF/ and record their names in a String[],

Re: site root going straight to a .do

2003-06-30 Thread Simon Kelly
Prashanth I'm not using jsp for the output, but xml instead. Everything is handled from within the Action classes and I was hoping to find a way of elliminating the need for any hard coded html files. Cheers Simon - Original Message - From: Prashanth.S [EMAIL PROTECTED] To: Struts

Re: File Upload size restriction ?? [TilesRequestProcessor ?]

2003-06-30 Thread Nicolas De Loof
I'm back with my FileUpload problem ... Here is what I've done to search the problem : I added struts-upload example classes and mappings to my app : it works I migrate it to use my classes (form-bean, actions) : it works I migrate it to use my JSPs : it works I migrate it to use my Tiles

RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread PILGRIM, Peter, FM
-Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] The Struts team is proud, and extremely pleased, to announce the Final release of Struts 1.1. This release includes significant new functionality, as well as numerous fixes for bugs which were reported against the

Re: site root going straight to a .do

2003-06-30 Thread Affan Qureshi
Have you tried configuring the welcome-file-list in web.xml. I guess you can do all this there. Affan Simon Kelly [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Sorry about the subject line, it's the best I can do in one sentance. What I'm trying to do, is set up the

Re: view objects

2003-06-30 Thread Adam Hardy
Hi George, perhaps you should take a look at the flow-of-control diagrams or UML graphics that can be found on the struts website. Basically the form bean is created if you configure one, when the struts action servlet is given the request. It calls the reset() method and then the validate()

Re: site root going straight to a .do

2003-06-30 Thread Simon Kelly
Yep. Done it! Should have posted to say it's all working ok. My bad ;-) Cheers Simon - Original Message - From: Affan Qureshi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 30, 2003 3:00 PM Subject: Re: site root going straight to a .do Have you tried configuring the

Re: site root going straight to a .do

2003-06-30 Thread Prashanth.S
Hi kelly How did u accomplished ur requirements..pls let us know.. Thanks Prashanth Simon Kelly [EMAIL PROTECTED] wrote: Yep. Done it! Should have posted to say it's all working ok. My bad ;-) Cheers Simon - Original Message - From: Affan Qureshi To: Sent: Monday, June 30, 2003

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

2003-06-30 Thread Nicolas De Loof
Making lot of tests, it seems that my problem does occur if the generated HTML is long. I made this test on struts-upload example webapp : install struts-upload.war edit /upload.jsp to add long text (I use struts-validator javascript : 730 lines ) try to upload a 2Mo file - jsp is compiled

Re: site root going straight to a .do

2003-06-30 Thread Simon Kelly
I just used a blank html with a refresh of 0 in the metea data pointing to the welcome.do file. I'll attempt to do it without the html page later, as I was getting a bit to angry to both earlier, and my log4j was playing up as well which was not doing my blood pressure any favours. Cheers Simon

scope:request doubt

2003-06-30 Thread Suresh Babu
Hi, What is the default scope in Struts??? I think it is request. My doubt is, I have a property called companyId in my JSP. The value is retained till the control comes to the Formbean. After this it is reset to null. This problem occurs if scope=request is set in my struts-config. Once this

Re: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Carlos Duque
Yes, a hearty congratulations and thanks. Simply super stuff. Great dedication. Carlos At 12:39 AM 6/30/2003, you wrote: The Struts team is proud, and extremely pleased, to announce the Final release of Struts 1.1. This release includes significant new functionality, as well as numerous fixes

RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Mark Galbreath
Does this mean Struts is finally compatible with Flash? Mark -Original Message- From: Carlos Duque [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 11:26 AM To: Struts Users Mailing List Subject: Re: [ANNOUNCEMENT] Struts 1.1 Final released Yes, a hearty congratulations and

Re: Modules and common files

2003-06-30 Thread Sandeep Takhar
I have not done it, but there are definitions in each request processor that can tell whether or not paths are relative. So the struts-config for the module has a request processor element that has global configuration info for the module. sandeep --- [EMAIL PROTECTED] wrote: Hi, We have

Empty ForwardAction using Tiles definitions not working (Struts 1.0)

2003-06-30 Thread James Childers
I'm trying to do something apparently simple, unfortunately without success. I would like to have a simple mapping which forwards to a tiles definition defined in tiles-defs.xml. Embarrasing caveat: We're having to use struts 1.0 for various reasons. Here's my setup: web.xml:

How to do this

2003-06-30 Thread Sashi Ravipati
Hi I have a lookup table which has approx(1000 rows) with Code and Description. (Say 1=Office,2=home etc) The user will input data(Say code=1) in a text field and when he moves to next field he wants the description (Office) to be displayed. Did somebody have similar situation or does struts

How To: Encapsulate URI to Cocoon App in ForwardAction?

2003-06-30 Thread douglas reames
I need to send a request to a cocoon-based application to output a Struts ActionForm as an excel spreadsheet. The URI to access the cocoon app is: http://localhost:8080/cocoon-reports/reames.xla;. All I want to do right now is execute a cocoon request via Struts, and I am attempting this

tiles-def.xml

2003-06-30 Thread Lai, Kenny
hello all, is there a setting somewhere that i can tweak, that recognizes changes to tiles-def.xml without me having to restart tomcat everytime? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: tiles-def.xml

2003-06-30 Thread Peter Smith
I just use the tomcat manager application and reload the webapp. Peter -- Peter Smith Software Engineer InfoNow Corporation From: Lai, Kenny [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] Date: Mon, 30 Jun 2003 11:59:46 -0400 To: 'Struts Users Mailing List' [EMAIL

RE: tiles-def.xml

2003-06-30 Thread James Childers
Short answer is no, but there is a workaround. Generally speaking you can't change server configuration files without requiring a server restart. However, you can put your definitions in a JSP file and include that file on the pages you are working on. After you get everything working you can

RE: Action Errors?

2003-06-30 Thread Alex Shneyderman
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 9:19 AM To: [EMAIL PROTECTED] Subject: Action Errors? Hi, Is there anyway to dynamically pass in a Action Error instead of always having to pass in something from a Resource File

Re: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread gfaerman
Congratulations, You´ve done a terrific job. Thank you very for providing us with such an incredible framework. Gustavo Faerman Faerman Solari Consultants, Buenos Aires, Argentina.

Re: site root going straight to a .do

2003-06-30 Thread K.C. Baltz
My understanding is that the webapp spec requires that files in the welcome-file-list be actual files, not servlets, because it has to test for their existence to decide which welcome file to use. So, /index.do won't work. K.C. Affan Qureshi wrote: Have you tried configuring the

Congratulations on the struts 1.1 final release

2003-06-30 Thread Mounagurusamy, Jayakumar (HAL)
Congratulations, Struts team You guys have done a marvelous work, keep the good work and provide the JAVA world with better solutions thanks Jay -- x-- x-- x-- x-- x-- x-- x-- x-- Jayakumar Mounagurusamy Email:

Re: site root going straight to a .do

2003-06-30 Thread Mark McBride
I've placed a blank index.do under my webapp and everything works great! I believe the web container first checks for the existence of the file before submitting the request. If file = true request is submitted and struts magic begins =) -Mark At 09:13 AM 6/30/2003 -0700, you wrote: My

Re: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Mark McBride
I've noticed that all the library versions are noted here http://jakarta.apache.org/struts/userGuide/release-notes-1.1.html except for jakarta oro. What version of oro is being released with 1.1? -Mark At 01:33 PM 6/30/2003 -0300, you wrote: Congratulations, You´ve done a terrific job. Thank

RE: site root going straight to a .do

2003-06-30 Thread Giampiero De Ciantis
I had to do the exact same thing for one of my apps. So I just did a logic:forward to my starting action in a file called index.jsp. Then in the welcome-file-list I put the index.jsp file. It's not clean, but it works. -Original Message- From: K.C. Baltz [mailto:[EMAIL PROTECTED] Sent:

Authentication question and user accounts.

2003-06-30 Thread mike . witt
I am using container managed security in Tomcat 4.1.24 with a database realm. All this is working fine. However, I'd like to give the user the possibility of creating a user acount when the login.jsp is displayed. When the user creates the account, I would like to do the login with the supplied

Anyone getting a file not found error after upgrading to 1.1 final

2003-06-30 Thread Giampiero De Ciantis
I was using 1.1 rc2 to develop an application. I switched the jars to the 1.1 final build and now when my web app is initializing in the container I get a fileNotFound error. Here is the trace. All I did was replace the rc2 jars with final release jars, repackage, and redeploy. I am using Jboss

Re: Anyone getting a file not found error after upgrading to 1.1 final

2003-06-30 Thread gfaerman
Check your xml parser version deployed with your app. We had the same error when deploying under Websphere. Included xerces and voila! It worked fine again. Regards, Gustavo. Giampiero De Ciantis [EMAIL PROTECTED] 30/06/2003 01:50 p.m. Please respond to Struts Users Mailing List [EMAIL

RE: Anyone getting a file not found error after upgrading to 1.1 final

2003-06-30 Thread Giampiero De Ciantis
Nevermind, the JBoss VM was pulling tricks on me. -Original Message- From: Giampiero De Ciantis [mailto:[EMAIL PROTECTED] Sent: June 30, 2003 12:50 PM To: Struts User Mailing List ([EMAIL PROTECTED]) Subject: Anyone getting a file not found error after upgrading to 1.1 final I was

Re: Struts/Jboss 3.2.x

2003-06-30 Thread Konstadinis Euaggelos
You must define where your Rmi Server is listening , by default in Jboss is 1099. - Original Message - From: Buics [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 5:01 AM Subject: Re: Struts/Jboss 3.2.x I still have this exception

Re: Reference to local DTD files

2003-06-30 Thread Ashish Kulkarni
Hi, sorry for attaching my question to this, but i have a same problem, i have xml file and dtd file in same folder under web-inf. but i get error dtd not found , my groups.xml definiation is some thing like below ?xml version=1.0? !DOCTYPE groups SYSTEM groupsdtd.dtd where groups.dtd is in the

RE: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Assenza, Chris
Great news, congrats. :) -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 3:39 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCEMENT] Struts 1.1 Final released The Struts team is proud, and extremely pleased, to

Re: [ANNOUNCEMENT] Struts 1.1 Final released

2003-06-30 Thread Jing Zhou
This is really a GREAT JOB! Congratulations to all committers, developers, users who make this happen. Jing Netspread Carrier http://www.netspread.com - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday,

Help! - java.security.AccessControlException

2003-06-30 Thread White, Joshua A (HTSC, CASD)
Hello all, I am now receiving the below error when attempting to upload files (I was not receiving this message before). Has something changed? How do I resolve this problem? Joshua java.security.AccessControlException: access denied (java.io.FilePermission

Struts 1.1 bean:write problem

2003-06-30 Thread David Jiao
Hi, I developed my application using struts 1.0.2. Today I updated it to struts 1.1 and found the following error messages (listed the end of this mail). I found the problem is in here. bean:write name=beanname property=propertyname/ When property is a long (maybe numeric) value, it throws the

RE: Struts 1.1 bean:write problem

2003-06-30 Thread Steve Raeburn
Works for me with both Long and long properties. The exception message doesn't seem to be anything to do with this. Often it's a sympton that the ActionServlet has not initialised properly. Check your logs for other error messages that may have prevented ActionServlet from loading. Steve

RE: site root going straight to a .do

2003-06-30 Thread Steve Raeburn
I'd be interested to see what you've put in your WEB.XML file and which container you're using. I've just tried adding a welcome.do entry in mine for Tomcat 4.1.24 and it does not work. My understanding is the same as K.C. - that it currently requires a physical file, but that this is slated to

RE: site root going straight to a .do

2003-06-30 Thread Steve Raeburn
FYI doesn't work in Tomcat 5 either. Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: June 30, 2003 1:42 PM To: Struts Users Mailing List Subject: RE: site root going straight to a .do I'd be interested to see what you've put in your WEB.XML file and

RE: site root going straight to a .do

2003-06-30 Thread Mark McBride
This is my entry running under Resin2.X welcome-file-list welcome-fileindex.do/welcome-file /welcome-file-list There is a physical file there but it's blank. Seems that resin just checks for existence before passing on the request. -Mark At 01:41 PM 6/30/2003 -0700, you wrote: I'd be interested

  1   2   >