Re: html:button

2007-02-27 Thread Romu
html:button property=ok value=Ok onclick=validateSomething() / n 2007/2/26, Michael Jouravlev [EMAIL PROTECTED]: I have no idea, but does it work without Javascript assigned to the button? On 2/25/07, Strachan, Paul [EMAIL PROTECTED] wrote: Hi, I realise this is probably not a struts

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Shuai Zheng
Dear All, Thanks very much for useful help. Just fight with this for 24 hours and get some improvement. I want to apology first because I am so stupid. Last evening I do a profiling again. The OGNL is not the main bottleneck, but it is still a problem. My previous page loading is around 3-5

Re: html:button

2007-02-27 Thread Romu
try with html tag may be ? html:button property=ok value=Ok onclick=validateSomething() / 2007/2/27, Romu [EMAIL PROTECTED]: html:button property=ok value=Ok onclick=validateSomething() / 2007/2/26, Michael Jouravlev [EMAIL PROTECTED]: I have no idea, but does it work without

struts and bulk inserts

2007-02-27 Thread Praveen, Galagali \(IE10\)
Hi, I have a scenario where my form can contain large number of rows say 100 (or even more ) and each row contains some fields. There is a save operation that needs to be done on this data which basically puts as 100 records in database . Since there is only going to be one formbean for a form

How to make the file to download when clicking on a link

2007-02-27 Thread Satheesh
How to make the file to download when clicking on a link using JSP... Please send me the code...

Re: How to make the file to download when clicking on a link

2007-02-27 Thread Prithivirajan Dhamodharan
follow the below steps For HttpServletResponse set the response.setContentType(.) ; response.setHeader(Content-Disposition,attachment;filename=\ + s2 + \) //s2-- is file if required set Pragma cache-control in header. name response.setContentLength() //file length; Get

Validator question

2007-02-27 Thread Tom Bednarz
I have a FormBean derived from ValidatorActionForm. I define validation rules for certain properties in validation.xml. No I like to add some additional validations which depend on user input. I thought, I can handle this in the validate(..) method but it gets never called! I implemented

Problem with 2.0.6

2007-02-27 Thread Piero Sartini
upgraded to 2.0.6 - now the error below is thrown when accessing an Action with validators. dont know if it is important, but ajax-validation is enabled and the annotation looks like this: --- code --- @RequiredStringValidator(message = Login is required, key = error.loginname.missing)

Load MessageResource from custom file path

2007-02-27 Thread Andrzej Bengner | e-direct Polska Sp. z o.o.
Hello I can not load MessageResources from my custom file path. I can load for fmt:message/ taglib, but how can I do with bean:message/? For example, here is my Struts action snippet: URL[] urls = new URL[1]; try { urls[0] = new URL(file:c:/my_dir/messages/); } catch

Need Help in Applying error Style class for html:select

2007-02-27 Thread Prithivirajan Dhamodharan
In case of error in html:select property i required to display them with red border. i couldn't able to apply border for html combo box. but able to change other properties like fonts, color of text inside combo box Suggest me with best solution.

Re: Strange problem with Validators in Struts 1.2.9

2007-02-27 Thread Dave Newton
--- Tom Bednarz [EMAIL PROTECTED] wrote: I still do not feel very comfortable with writing that many actions around 'CRUDing' an object. I generally use a single action for CRUD. You may want to look at DispatchAction (or something like that, it's been awhile) and consider the GET/POST

[s2] ww-1747

2007-02-27 Thread Mike Baroukh
Hi. I actually have a bug on 2.0.6 related to this ticket that is marked fixed in 2.0.7. (I tried select.ftl and ContainUtil.java from trunk and it works ... no more exception from freemaker) For now, I included the fix in my project but, will it be reported on 2.0.6 branch (2.0.6.1 ???) ?

Re: Ajax Requirement

2007-02-27 Thread Musachy Barroso
If you are using the autocompleter tag, this is done already, and there is an example on showcase. If not, you will have to do everything my hand, for which I would recommend using a framework that already has it, like AjaxTags, not sure if Java Web Parts has something like this also, Frank?

Re: [S2] Ajax Requirement

2007-02-27 Thread Tim Azzopardi
i dont think struts2 provides any specific support for this. DWR (not part of struts2) is very good at doing what you describe if you need to go to the server to get the States list each time you change the Country. siva-2 wrote: Hi, I am new to Struts 2. I have following requirement on

Re: 1.2.9 html:action

2007-02-27 Thread Jim Reynolds
I guess when I was working with 1.2.4 a while back, I did things like document.form.element.name.submit, etc. Not using the dom. I was trying to convert to 1.2.9 and I guess I ended up with xhtml type. Makes sense, thanks for the info. On 2/26/07, Laurie Harper [EMAIL PROTECTED] wrote: Jim

Re: Ajax Requirement

2007-02-27 Thread Frank W. Zammetti
JWP doesn't offer ready-made components such as this (yet!!), but it *does* make developing them very simple (and without you having to code Javascript usually)... this particular case is actually one of our cookbook examples, so I suppose you could in fact say it offer this particular item :)

struts sub-modules and file upload

2007-02-27 Thread Massimiliano Cuccia
Hi allI'm using struts 1.3.5 and I defined a struts sub module (a new struts-config-mymodule.xml), when I try to call an action of the mymodule module to upload a file I get Corrupt form data: premature ending . If I define the action inside the default module it works.There is a bug somewhere

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Shuai Zheng
Dear All, Still do research on the debug log and try to get performance improvement, because I try to beat another .net system on speed(it can shows all the pages in 0.5 second,sigh). One more thing I just find out, if the log does not cheat me:) Although I have enabled the property

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Shuai Zheng
One more thing, this only happens on template/xhtml/hidden.ftl. Should I report this as a bug? On 2/27/07, Shuai Zheng [EMAIL PROTECTED] wrote: Dear All, Still do research on the debug log and try to get performance improvement, because I try to beat another .net system on speed(it can shows

Struts 2 Action Classes (HELP!)

2007-02-27 Thread Paul Saumets | Merge
I'm having some difficulty passing along params from my action forms with Struts 2. I have a basic jsp form declared as follows: s:form id=loginForm action=executeLogin validate=true nomespace=/ s:textfield id=c_username name=userName required=true / s:password id=c_password name=userPassword

RE: How to make the file to download when clicking on a link --use DownloadAction in struts 1.2.8

2007-02-27 Thread Raghu
In Struts 1.2.8 we have DownloadAction write a class that extends extends DownloadAction implement folloing meyhod - import org.apache.struts.actions.DownloadAction; public class TestDownloadAction extends DownloadAction { protected StreamInfo

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Shuai Zheng
Sorry to disturb again. This issue is because default the s:hidden tag will use xhtml as theme, but actually in the distribution, there is no template/xhtml/hidden.ftl. It always get from template/simple/hidden.ftl. But the cache does not know it. Then this template is recompiled again and

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Tom Schneider
This is not a bug per se. The xhtml theme extends the simple theme. If a template doesn't exist in the xhtml theme it will fall back the simple theme. From a performance perspective, you simple need to copy the simple theme hidden.ftl to the xhtml directory. This will allow freemarker to cache

RE: struts sub-modules and file upload

2007-02-27 Thread Massimiliano Cuccia
GOT IT!! -- the problem was due to incompatibility between struts modules and common Oreilly servlet (cos). -- No problems using MultipartRequestHandler! -- bye -- Hi allI'm using struts 1.3.5 and I defined a struts sub module (a new struts-config-mymodule.xml), when I try to call an action of

Re: Struts 2 Action Classes (HELP!)

2007-02-27 Thread Gabe Hamilton
I believe the Parameters Interceptor will call your setUserName() method. I would check that that interceptor is in the stack used for LoginAction. -Gabe On 2/27/07, Paul Saumets | Merge [EMAIL PROTECTED] wrote: I'm having some difficulty passing along params from my action forms with Struts

RE: [S2] Struts 2 Action Classes (HELP!)

2007-02-27 Thread Paul Saumets | Merge
Could we explain this good example then? http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html Here we can see there is a form (index.jsp) calling the save() action on the PersonAction class. The first call on the save action is the service.save(person). Where does the Person person

Re: Struts 2 Action Classes (HELP!)

2007-02-27 Thread Nuwan Chandrasoma
Hi, can we see your struts.xml? Thanks, Nuwan. - Original Message - From: Paul Saumets | Merge [EMAIL PROTECTED] To: user@struts.apache.org Sent: Tuesday, February 27, 2007 2:50 PM Subject: Struts 2 Action Classes (HELP!) I'm having some difficulty passing along params from my

Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
We've upgraded to struts 2.0.6 and we can't make spring-plugin work. The spring factory isn't being called and we are getting ClassNotFoundException for the beans that reference spring. This is working with struts 2.0.1. What changed? Thanks a lot, João

RE: Problems using spring plugin and struts 2.0.6

2007-02-27 Thread Paul Saumets | Merge
Perhaps obvious question but, Do you have constant name=struts.objectFactory value=spring / set inside your struts.xml? -Original Message- From: João Vieira da Luz [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 12:42 PM To: user@struts.apache.org Subject: Problems using

Re: Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
We use that property struts.properties: struts.objectFactory = spring This same configuration works well on struts 2.0.1. A part of the stacktrace: [2007-56-27 05:56:27] ERROR (XWorkConverter.java:645) Conversion registration error java.lang.ClassNotFoundException: enumTypeConverter at

FileUploadInterceptor not intercepting

2007-02-27 Thread String Larson
I'm trying to get file upload working (struts 2.0.5). It seems that FilterDispatcher.prepareAndWrapRequest is not creating the MultiPartRequestWrapper as required by FileUploadInterceptor. prepareAndWrapRequest is just skipping the wrapping. Is this a configuration issue ?

Scriptlets in Struts tag

2007-02-27 Thread Chaudhary, Harsh
My code: logic:iterate name=FDA3Form property=dependentsInfoAl id=element indexId=indexVal html:text name=element property=dependentName size=20 maxlength=35 indexed=true style=display:block; styleId='BLABLABLA-%= indexVal %-'/ /logic:iterate The code within the - and

Repeat Question: Struts Profiling

2007-02-27 Thread Rahul Patel
Anybody use a good profiling tool with Struts/ Web Application? This is a repeat question. Is this not the forum for these kind of questions? -RP

Re: Scriptlets in Struts tag

2007-02-27 Thread Nuwan Chandrasoma
hi, try this code. %=indexVal.intValue()% Regards, Nuwan. - Original Message - From: Chaudhary, Harsh [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, February 27, 2007 6:22 PM Subject: Scriptlets in Struts tag My code: logic:iterate

RE: Struts 2 Action Classes (HELP!)

2007-02-27 Thread cilquirm
That example is using the null property handling feature of the XW type-conversion system : http://struts.apache.org/2.x/docs/type-conversion.html Basically, when xw/ognl sees ( evaluates ) person.firstName, it calls getPerson() , which returns null. XW goes to work and creates an empty

RE: Problems using spring plugin and struts 2.0.6

2007-02-27 Thread cilquirm
Technically, this isn't necessary when you have the struts-spring-plugin.jar in your WEB-INF/lib since it's already specified by the struts-plugin.xml file I think, however, seeing a more complete stack trace for the CNFE would be helpful since I have 2.0.6 with the spring plugin just fine.

RE: Scriptlets in Struts tag

2007-02-27 Thread Chaudhary, Harsh
I tried that. But in the HTML rendered, the id attribute is rendered as: id='BLABLA%=indexVal.intValue()%' Harsh. -Original Message- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 6:09 PM To: Struts Users Mailing List Subject: Re: Scriptlets in

Re: [S2] Problem with 2.0.6

2007-02-27 Thread cilquirm
I see errors like that on occasion ( mine is with the JSONResult type and the location property ), but they've always been warnings. Is yours logged at the ERROR level? Piero Sartini-3 wrote: upgraded to 2.0.6 - now the error below is thrown when accessing an Action with validators.

RE: Scriptlets in Struts tag

2007-02-27 Thread Frank W. Zammetti
I believe your running into something I ran into the other day, something I didn't know... if you have an attribute: someAttribute=123%=someVar% ...the value of someVar isn't inserted. However, if you do: % someVar = 123 + someVar % someAttribute=%=someVar% ...that works. The combination of

Re: Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
Well we've made progresses. The problem is on registering converters on XWorkConverter. We are trying to register converters using spring. On application-context.xml we have this, bean id=enumTypeConverter class=presentation.converter.EnumTypeConverter / and on xwork-conversion.properties,

RE: Scriptlets in Struts tag

2007-02-27 Thread Chaudhary, Harsh
Works like a charm. Thanks a lot. My guess is that my problem could be due to the fact that anything within attributes like styleid etc. are just parsed as a string. Harsh. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 12:50 PM

RE: Scriptlets in Struts tag

2007-02-27 Thread Frank W. Zammetti
I don't think so... if that was true you'd expect it to work as you first wrote it... it seems to be the specific combination of static content in the attribute value PLUS a scriplet (actually, I guess that's an expression, I always forget the difference). In any case, glad that worked :) I know

Re: [S2] Problems using spring plugin and struts 2.0.6

2007-02-27 Thread cilquirm
I'm not sure type converters are instantiated via the ObjectFactory mechanism, but you can just as easily say : domain.security.PermissionType = presentation.converter.EnumTypeConverter You will probably need to refactor some code if your EnumTypeConverter expects to be in a Spring context.

Re: [S2] Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
Ok, that's a solution. We were trying to avoid to do that... Hope somebody could help us on this. Thanks again, João On 2/27/07, cilquirm [EMAIL PROTECTED] wrote: I'm not sure type converters are instantiated via the ObjectFactory mechanism, but you can just as easily say :

Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread mraible
I'm using *.html as my default extension, which causes a whole host of issues with Dojo. Regardless, I want to fight through it and see if I can come up with a solution. I noticed that FilterDispatcher allows you to serve up static files from the classpath. Is it possible to configure this

Re: Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread Musachy Barroso
Quoting the doc: Common static content that is needed by the framework (JavaScript and CSS files, etc.) is served automatically by the FilterDispatcher filter. Any request starting with /struts/ denotes that static content is required, and then mapping the value after /struts/ to common

Re: Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread Musachy Barroso
Is there a FAQ for S2 somewhere? musachy On 2/27/07, Musachy Barroso [EMAIL PROTECTED] wrote: Quoting the doc: Common static content that is needed by the framework (JavaScript and CSS files, etc.) is served automatically by the FilterDispatcher filter. Any request starting with /struts/

Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread mraible
Right, it can serve up static content from the classpath, but I want to do it from the webapp. Matt Musachy Barroso wrote: Quoting the doc: Common static content that is needed by the framework (JavaScript and CSS files, etc.) is served automatically by the FilterDispatcher filter. Any

Re: Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread Stuart Piltch
mraible matt at raibledesigns.com writes: I'm using *.html as my default extension, which causes a whole host of issues with Dojo. Regardless, I want to fight through it and see if I can come up with a solution. Hi Matt, I'm not sure about your specific FilterDispatcher question, but we also

Re: [S2] [ANN] Struts 2.0.6 GA release available

2007-02-27 Thread walidito
Congratulations !! Pedro Herrera wrote: Congratulations to Struts team for this release!! Best Regards Pedo Herrera husted wrote: The Apache Struts group is pleased to announce that Struts 2.0.6 is available as a General Availability release. The GA designation is our

Re: [S2] JNLP with struts ?

2007-02-27 Thread Maya menon
Anyone has any idea ? I have to call a jnlp file to download some app specific files upon proper logon of the users. So, if a user logs in, if its a valid user, then jnlp file has to be downloaded and the user's result page should appear simultaneously.. Any help thoughts,

Re: [s2] Validation 'magic' on 'input'

2007-02-27 Thread Laurie Harper
Just to follow up on this for the archives, there is now an even easier way: annotate methods for which no validation should fire with @SkipValidation. I believe (?) that annotation is new with 2.0.6, or at least it's a recent addition. Anyway, it works very well. L. Don Brown wrote: Nah,

[s2] how to upgrade to 2.0.6

2007-02-27 Thread walidito
I have alreasy start my project with 2.0.1 and it is working well. However, I'd like to upgrade to 2.0.6. Can someone explain me how to do it ? thanks -- View this message in context: http://www.nabble.com/-s2--how-to-upgrade-to-2.0.6-tf3304713.html#a9192617 Sent from the Struts - User mailing

Re: [s2] how to upgrade to 2.0.6

2007-02-27 Thread Paul Saumets
Well, For each previous release I've just created a brand new user library (I use Eclipse) and imported the latest libraries from the build. Eg. I'll have various folders where I have unarchived the latest builds Struts-2.0.1 Struts-2.0.4 Struts-2.0.6 In Eclipse I just create a user library

[S2] LoginAction - Best approach feedback?

2007-02-27 Thread Paul Saumets
AcceptTentativeDeclineCalendar AcceptTentativeDeclineCalendar Hey, Looking for feedback on best way to implement a login action mechanism using Struts2/Spring/JPA Initially I had declared

Re: [S2] how to upgrade to 2.0.6

2007-02-27 Thread walidito
thanks, When you say library, are you talkin about the set of jars in web-inf/lib ? If I understand well, you create a project each time ??! Or do you always work on your old project and just update the jars ? If so, could you please be more precise about other things that has to be upgrades

Re: [s2] Validation 'magic' on 'input'

2007-02-27 Thread Musachy Barroso
Is there any @SkipX annotation to skip populating a property by the ParamsInterceptor? musachy On 2/27/07, Laurie Harper [EMAIL PROTECTED] wrote: Just to follow up on this for the archives, there is now an even easier way: annotate methods for which no validation should fire with

Re: Scriptlets in Struts tag

2007-02-27 Thread Laurie Harper
Yup, that's the way the spec says it should work :-) An attribute can be *either* a static String *or* a Runtime Expression. You can't mix both, so you have to make the any static text part of the RT as you showed. L. Frank W. Zammetti wrote: I don't think so... if that was true you'd expect

Re: [S2] LoginAction - Best approach feedback?

2007-02-27 Thread abpicol
Are you working on this for fun or you are really intending to do this on an production environment? If you are considering a real world solution, maybe it would be interesting to use web-container-based authorization: I use this throughout my intranet site and I like it very much, because I

Re: [S2] how to upgrade to 2.0.6

2007-02-27 Thread Paul Saumets
no. when I say library I mean all the struts2 related libraries found in the /lib folder of any distribution you download. If you go and download the latest struts-2.0-6-all.zip file you should find a /lib folder there. In Eclipse if you right click on one of your projects go to Properties -

Re: [S2] how to upgrade to 2.0.6

2007-02-27 Thread walidito
Ok thank you very much for this concrete explaination. I got it. The only think I'm still wondering, is if what you describe is enough to upgrade because this looks (too) easy... Of course I know you can not figure all the possible problems that can happen, but if you or somebody could give other

Re: struts and bulk inserts

2007-02-27 Thread Laurie Harper
Praveen, Galagali (IE10) wrote: Hi, I have a scenario where my form can contain large number of rows say 100 (or even more ) and each row contains some fields. There is a save operation that needs to be done on this data which basically puts as 100 records in database . Since there is only

[S2] Single quote in package.properties

2007-02-27 Thread Eric Rank
This should be an easy one. When putting a single quote in a package.properties resource bundle entry, by default, the quote get's removed and none of the variables in the entry get loaded. 1. What's the best way to have an entry with a single quote? Using apos; with s:property

Re: Validator question

2007-02-27 Thread Laurie Harper
Tom Bednarz wrote: I have a FormBean derived from ValidatorActionForm. I define validation rules for certain properties in validation.xml. No I like to add some additional validations which depend on user input. I thought, I can handle this in the validate(..) method but it gets never

Re: [S2] Single quote in package.properties

2007-02-27 Thread abpicol
It really is, Eric. package.properties is nothing more than a standard java.util.Properties file. See the javadoc for this class and you get this question answered, and will see many more interesting things ;-) Alexander Eric Rank [EMAIL PROTECTED] 27/02/2007 19:32 Please respond to

Re: Load MessageResource from custom file path

2007-02-27 Thread Laurie Harper
The ususal way to expose resource bundles for use with Struts1 is to include the properties files in the webapp's classpath, configure them in struts-config.xml and let Struts deal with loading them. Is there a reason you need to store the files external to the webapp and load them manually?

Re: [s2] ww-1747

2007-02-27 Thread Laurie Harper
Mike Baroukh wrote: Hi. I actually have a bug on 2.0.6 related to this ticket that is marked fixed in 2.0.7. (I tried select.ftl and ContainUtil.java from trunk and it works ... no more exception from freemaker) For now, I included the fix in my project but, will it be reported on 2.0.6

Re: [S2] how to upgrade to 2.0.6

2007-02-27 Thread Laurie Harper
See the release notes for detailed info on what's changed between releases. That should tell you what, if anything, needs to change in your project: http://struts.apache.org/2.x/docs/release-notes-202.html http://struts.apache.org/2.x/docs/release-notes-203.html

Re: [S2] The performance issue about OGNL

2007-02-27 Thread Ted Husted
On 2/27/07, Shuai Zheng [EMAIL PROTECTED] wrote: First of all, when I saw Vlad's email, I copy out the template and delete the original from struts-core.jar. You shouldn't have to delete the one in the JAR. The one under WEB-INF is earlier on the classpath, and it's first come first served.

Re: [s2] Validation 'magic' on 'input'

2007-02-27 Thread Laurie Harper
Doesn't look like it, though I'd mostly want to apply such an annotation to properties I *don't* have, so I wouldn't get all those OGNL warnings logged with huge stack traces! ;-) Musachy Barroso wrote: Is there any @SkipX annotation to skip populating a property by the ParamsInterceptor?

Re: [S2] Single quote in package.properties

2007-02-27 Thread Eric Rank
Thanks Alexander, I still think I'm missing something though. From the Javadoc: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html snip Escapes are not necessary for single and double quotes; however, by the rule above, single and double quote characters preceded by a

Validator validWhen

2007-02-27 Thread jmpdev
Hi, I would like to know if it is possible to call validWhen on the client side? I didn't find validWhen.js is it possible to find it somewhere? Thanks, Regards, Jean-Marie.

Re: [s2] Validation 'magic' on 'input'

2007-02-27 Thread Musachy Barroso
I could use it for security reasons, like populating an object model directly, but making sure that nobody sets the id property for example. I know I can do it using ParameterNameAware, but having an annotation would be nicer. musachy On 2/27/07, Laurie Harper [EMAIL PROTECTED] wrote: Doesn't

Re: Validator validWhen

2007-02-27 Thread Niall Pemberton
No its server-side only. Niall On 2/27/07, jmpdev [EMAIL PROTECTED] wrote: Hi, I would like to know if it is possible to call validWhen on the client side? I didn't find validWhen.js is it possible to find it somewhere? Thanks, Regards, Jean-Marie.

Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread mraible
I came up with a StaticFilter (from http://issues.appfuse.org/browse/APF-431) that seems to work (see code below). However, it causes another issue for me. In my SiteMesh decorator, I'm including a messages.jsp that has calls to the valueStack: %-- ActionError Messages - usually set in Actions

logic:iterate is not compiling on Websphere6

2007-02-27 Thread Trasca Virgil
Hi all, I have this piece of struts html:logic code logic:iterate id=addlInfoLabel name=registrationForm property=addlInfoLabels indexId=i tr td class=smallbean:write name=addlInfoLabel//td td

Fileupload in JBOSS AS

2007-02-27 Thread torben
I have problem to upload a file using strut2 in an jboss server, version 4.0.5 In the jsp page I have: s:form action=FileUpload method=POST enctype=multipart/form-data s:file name=FileName value=Browse... size=50 accept=application/vnd.ms-powerpoint/

Need suggestion to load resource properties file dynamically

2007-02-27 Thread Prithivirajan Dhamodharan
Help required to load values in properties file(MessageResources) without restarting/reloading the server. Kindly give your suggestions.

RE: Load MessageResource from custom file path

2007-02-27 Thread Andrzej Bengner | e-direct Polska Sp. z o.o.
The ususal way to expose resource bundles for use with Struts1 is to include the properties files in the webapp's classpath, configure them in struts-config.xml and let Struts deal with loading them. Is there a reason you need to store the files external to the webapp and load them manually?

Issue with forwarding to another .do

2007-02-27 Thread Jay
Hi, I hope every one is fine. Iam forwarding a 'login.do' to another path like this action path=/public/login type=blah blah forward name=success path=/public/defaultPage.do /forward action path=/public/defaultPage type=org.apache.struts.actions.ForwardAction