Validating dynamic fields on form-URGENT

2004-05-12 Thread Vinita Keswani
Hello All, Could someone please suggest if there is a way to validate fields created dynamically on the form ? For eg: If I have 5 text boxes being created dynamically on some action say ADD and I want to have "required" validation on it how could I use struts validation.xml to create some

XML stream input to Struts Action class

2004-05-12 Thread Ashish Goswami, Noida
Hi , i am facing a problem where i am getting xml input from another server over http to my servlet.i use request.getInputStream() to get the xml file parse it and use JAXB to marashall into java objects.My question is can i use struts in this case as a framework.does struts supports population of

Problem on upload multiple files with Struts

2004-05-12 Thread dlayman
Hi all, I am currently working on a file upload function with struts. The original upload function allows multiple file uploads, with JSP's html form submitted to the action. the uploadform uses dynamic properties, and the jsp file refers to them with formFile[0], formFile[1] ... No

Problem on upload multiple files with Struts

2004-05-12 Thread dlayman
Hi all, I am currently working on a file upload function with struts. The original upload function allows multiple file uploads, with JSP's html form submitted to the action. the uploadform uses dynamic properties, and the jsp file refers to them with formFile[0], formFile[1] ... No

struts:layout examples

2004-05-12 Thread Dilip Nagarajan
hi, Can anyone help me out in starting off with struts:layout. I couldn't able to see some good examples , explanations in the site. If anyone has already done this in your application, please help me out. Thank you regards, Dilip --

Using DispatchAction with Images

2004-05-12 Thread Matt and Ange Campbell
Hi I would like to use Dispatch Action to avoid using nested ifs in my Action Class. Currently I am using javaScript functions that are called by clicking images. They set a flag in my form bean then submit the form, the action class then determines the value of the flag in if statements. fun

Re: LIL OT sercurityfilter question

2004-05-12 Thread Steven J. Owens
On Wed, May 12, 2004 at 11:46:30PM -0400, Steven J. Owens wrote: > > >From: Nathan Maves [mailto:[EMAIL PROTECTED] > > > > > >I have been using the sercurityfilter by Max Cooper. > > > > > >I wanted to know the best way to incorporate SSL into the picture. > > >What is the best way to ensure that t

Re: LIL OT sercurityfilter question

2004-05-12 Thread Steven J. Owens
> >From: Nathan Maves [mailto:[EMAIL PROTECTED] > > > >I have been using the sercurityfilter by Max Cooper. > > > >I wanted to know the best way to incorporate SSL into the picture. > >What is the best way to ensure that the login page and submission > >action is encrypted? For something simi

Re: [OT] Jobs

2004-05-12 Thread ksitron
Is telecommuting an option. James Mitchell wrote: I am trying to find 10 descent struts developers to fill open positions. I tell ya, its nice to be needed instead of how it was a year ago where we were all under bidding each other. -- James Mitchell Software Engineer / Open Source Evangelist Ed

Re: [OT] Jobs

2004-05-12 Thread James Mitchell
I am trying to find 10 descent struts developers to fill open positions. I tell ya, its nice to be needed instead of how it was a year ago where we were all under bidding each other. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Ori

RE: reuse of request parameter in application flow

2004-05-12 Thread Michael McGrady
The people that emailed me can get the application at: http://wiki.apache.org/struts/StrutsCatalog under StrutsCatalogDoUndoRedo. Michael At 11:53 AM 5/12/2004, Jeffrey Goodwin wrote: Hi Michael, I am also working on a similar application and would be interested in your application. Thanks, Jef

Re: ValidatorForm exception handling

2004-05-12 Thread kimbuba
> Now as you say, the validate method of the ActionForm doesn't handle > exceptions. So my suggestion was to move your validation out of the > ActionForm's validate method and into the Action's execute method. That way > if your DAO throws an exception, you could handle it using the struts > except

DynaValidatorForm question

2004-05-12 Thread Sifuentes, Ben
Currently, I have a function defined within my DynaValidatorForm which checks the elements of the form for data and returns the first element of the form which contains data so that I can place a focus call on the first field that has content like so: // Check if a field has content in it

RE: close pop-up window

2004-05-12 Thread Venegas, Frank
Possibly related: I have a similar problem and it seems to be an IE bug. If I set a local file as the starting point for my app and use it as the IE home page, when I click a popup link, I lose the web session. If I load the file (yes, the same one that is set as the home page) everything wor

Re: Populating a form before displaying it

2004-05-12 Thread Miguel Arroz
Hi again! Found the problem... sorry! I have to specify scope="request" on both actions! Thanks for your help! Yours Miguel Arroz On 12 de mai de 2004, at 12:55, Riyad Kalla wrote: Miguel, I had this problem alot when I was developing a management system. For example, on my DeleteConf

Re: composing dynamic url

2004-05-12 Thread Ryan . Hoffmann
Finally found a solution using getProperty tag. "> I am new to STRUTS so I am struggling with the use of the "page or href" attribute in the html:link statement. I don't see a need to specify an action in the con

RE: equal tag question

2004-05-12 Thread Williams, Robert E
No need to pretend, thanks for the help! Rob -Original Message- From: Riyad Kalla [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 5:01 PM To: Struts Users Mailing List Subject: Re: equal tag question Using the dot operator to separate method calls should work: This us

Re: Populating a form before displaying it

2004-05-12 Thread Miguel Arroz
Hi again! I'm sorry, I can't make this work... I always get an empty form! Can you send me 2 entries from your config file, and a prepare execute() method? Maybe you forgot some important detail, or maybe it's just me doing a stupid mistake, but anyway, it doesn't work! :-( Yours Miguel

RE: forwarding to action needing different request parameters

2004-05-12 Thread None None
Yeah, I thought those things would be true based on what you stated originally. I think the query string suggestion probably is your best bet then, probably the least intrusive to existing code and easiest to implement. From: "Nimmons, Buster" <[EMAIL PROTECTED]> Reply-To: "Struts Users Maili

RE: [OT] Jobs

2004-05-12 Thread Chappell, Simon P
James, Is that desperate to fill a job vacancy or desperate to get one? Simon >-Original Message- >From: James Mitchell [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 12, 2004 3:14 PM >To: Struts Users Mailing List >Subject: [OT] Jobs > > >Please forgive the off topic post, but I'm desp

RE: global forward to tile definition does NOT work

2004-05-12 Thread Pingili, Madhupal
You don't even have to give type="xxx.xxx.xx". Just use this syntax: Above works well for me. --- Reddy > -Original Message- > From: Mark Lowe [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 5:05 PM > To: Struts Users Mailing List > Subject: Re: global forward to ti

RE: global forward to tile definition does NOT work

2004-05-12 Thread Keith Bottner
Thanks for the feedback, that is what I am currently doing. My understanding is that this should work by specifying the tiles definition directly and therefore bypassing yet another action configuration, if so I wanted to find out what black magic was necessary for it to actually work. Is there a w

Re: global forward to tile definition does NOT work

2004-05-12 Thread Riyad Kalla
I sure hope there is a nicer way around it than this... is this really what it takes to use Tiles in this situation? On Wednesday 12 May 2004 02:05 pm, Mark Lowe wrote: > Use an empty action. > > > > > > the action just needs to return this. > return (mapping.findForward("success")); > >

Re: global forward to tile definition does NOT work

2004-05-12 Thread Mark Lowe
Use an empty action. the action just needs to return this. return (mapping.findForward("success")); and you'll be there. On 12 May 2004, at 22:58, Keith Bottner wrote: I am trying to forward directly to a tiles definition from the with # struts-config.xml My JSP page uses: BLA

Re: equal tag question

2004-05-12 Thread Riyad Kalla
Using the dot operator to separate method calls should work: This user is currently Inactive That should call: assignUserForm.getAssignUser().getName(), and then compare it to "Bob". If the above doesn't work, then pretend someone else told you to do it. Best, Riyad On Wednesday 12

equal tag question

2004-05-12 Thread Williams, Robert E
Hello all, I have been trying to get a piece of code to work in my JSP. I understand how to do a comparison using a String attribute on the form bean. Is it possible to use a Value Object on the form bean, in the "property" attribute of the tag? Drilling into the VO to get a String value for co

global forward to tile definition does NOT work

2004-05-12 Thread Keith Bottner
I am trying to forward directly to a tiles definition from the with # struts-config.xml BLAH URL However when the JSP is generated it actually generates BLAH URL Any ideas on why global-forwards to tile definitions do not work? Thanks in advance, Keith ---

RE: forwarding to action needing different request parameters

2004-05-12 Thread Nimmons, Buster
I really don't want to modify the second servlet since it's already in production. Also the ActionForm associated with my Action does not have the member variable needed by the second servlet. I really didn't want to add fields to the ActionForm that weren't needed for this Action -Original Me

[OT] Jobs

2004-05-12 Thread James Mitchell
Please forgive the off topic post, but I'm desperate. If you are in or near Atlanta GA, and looking for a Struts job. Please send me a direct email. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx ---

Re: Accessing ResourceBundle items from Action class

2004-05-12 Thread None None
(in my best StrongBad voice)... That's right, bow to my awesome superiorityness ;) Seriously though, I've been getting a ton of help from people on this list the past few days as I go through the exercise of learning Struts, so if I can give back even a little, that's very cool in my book. Fro

RE: forwarding to action needing different request parameters

2004-05-12 Thread None None
I see what you mean... But, and again, I am new to Struts, I think the ActionForm is already in the request object, and since it was passed by reference to your Action's execute() method, you are altering the ActionForm itself (pass by reference? For some reason I always get pass by reference

Re: Accessing ResourceBundle items from Action class

2004-05-12 Thread Riyad Kalla
On Wednesday 12 May 2004 01:04 pm, None None wrote: > Thank you for that answer Riyad. I think I actually found another > (better?) way in my stumbling about trying to solve it on my own... No you didn't, mine is the BEST :*D > > All I did is in my Action, after all my real processing, is this:

Re: Accessing ResourceBundle items from Action class

2004-05-12 Thread None None
Thank you for that answer Riyad. I think I actually found another (better?) way in my stumbling about trying to solve it on my own... All I did is in my Action, after all my real processing, is this: MessageResources mr = getResources(request); lpcaf.setMessage(mr.getMessage("messages.deleteFai

Re: Accessing ResourceBundle items from Action class

2004-05-12 Thread Riyad Kalla
I swear I answered this question yesterday yes I did, but it was from someone else: -- You could subclass the ActionServlet with your own instance that in its init method reads the properties file... I think this should do the trick, please fix the path when necessary: Prope

validator-rules.xml question

2004-05-12 Thread Sifuentes, Ben
Does the need to be unique? Can you have two different validators with the same name but with different class="..." definitions -Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Accessing ResourceBundle items from Action class

2004-05-12 Thread None None
Hello all. I have in my app a resouce bundle, and I can use it in my JSP's no problem... my question though is how can I access those items from an Action? Specifically, I have some error messages that I want to return to the view. At present they are hardcoded in my Action classes and they a

RE: forwarding to action needing different request parameters

2004-05-12 Thread Nimmons, Buster
I see what you are saying about using the ActionForm.. The forward I'm mapping to is not a Struts action but a servlet mapping specified in the web.xml.. It's an older servlet created before we started using struts so it does have to get the required parameters from the request object -Origina

RE: forwarding to action needing different request parameters

2004-05-12 Thread None None
I'm pretty new to Struts, and it's entirely possible I'm not following what your saying, but... If the first Action is getting an ActionForm with the four parameters populated, you can simply instantiate the second Action, passing it the ActionForm, and then return from the first Action the Act

RE: forwarding to action needing different request parameters

2004-05-12 Thread Nimmons, Buster
I did not create a new ActionForward... I attempted to modify the ActionForward I retreived from the findForward method I am trying this way now -Original Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 2:34 PM To: Struts Users Mailing List Subject: RE

RE: forwarding to action needing different request parameters

2004-05-12 Thread Geeta Ramani
I am pretty sure I got this to work. Here's how I remember it: Create a new Actionforward. Set it equal to the path (got from getPath). Then add the params you want and then use setPath. Is this what you did? > -Original Message- > From: Nimmons, Buster [mailto:[EMAIL PROTECTED] > Sent: W

RE: forwarding to action needing different request parameters

2004-05-12 Thread Robert Taylor
Buster, you will have to create a new ActionForward and populate it with the path you wish. Check out ParameterActionForward: http://www.mail-archive.com/[EMAIL PROTECTED]/msg96372.html robert > -Original Message- > From: Nimmons, Buster [mailto:[EMAIL PROTECTED] > Sent: Wednesday, Ma

RE: forwarding to action needing different request parameters

2004-05-12 Thread Nimmons, Buster
I tried this and got the following exception java.lang.IllegalStateException: Configuration is frozen at org.apache.struts.config.ForwardConfig.setPath(ForwardConfig.java:208) at com.sbec.folderview.po.actions.UploadPoDocument.perform(UploadPoDocument.jav a:80) -Original Message-

RE: forwarding to action needing different request parameters

2004-05-12 Thread Arvind Rajpurohit
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:59 PM To: [EMAIL PROTECTED] Subject: RE: forwarding to action needing different request parameters I think you can do this: get the ActionForward object as usual. Then use the ActionFor

RE: forwarding to action needing different request parameters

2004-05-12 Thread Geeta Ramani
I think you can do this: get the ActionForward object as usual. Then use the ActionForward's getPath and setPath methods to add the rest of your params as query string parameters to the original path. This I am pretty sure will work. But if you want to look at a nicer solution, maybe the Request

forwarding to action needing different request parameters

2004-05-12 Thread Nimmons, Buster
I have an Action which is usualy accessed from an html form page... It requires 4 request parameters. I need to forward to this action from another action but the action I'm forwarding from does not have all 4 of the reuired request parameters. I know what the value of the parameters should be but

RE: reuse of request parameter in application flow

2004-05-12 Thread Jeffrey Goodwin
Hi Michael, I am also working on a similar application and would be interested in your application. Thanks, Jeff -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 2:22 PM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject:

createActionForm nullpointerException

2004-05-12 Thread koen boutsen
Hi I'm really stuck on this one. I get the following error when submitting a form. E SRVE0026E: [Servlet Error]-[action]: java.lang.NullPointerException at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:784) In my actionmapping in the struts-config, I v' put the

Re: reuse of request parameter in application flow

2004-05-12 Thread Michael McGrady
This whole area is fraught with opportunity, Samuel. People have been trying to find sensible ways of doing this. Have you thought of building a do/undo/redo application to handle these issues for your user/gui data? If that interests you, I have a simple, but effective rather generic command

Re: reuse of request parameter in application flow

2004-05-12 Thread Riyad Kalla
Samuel, I've had this problem as well and what I ended up doing was to add 'hidden' tags to the top of my html:form element that encapsulated the parameters that I wanted to persist to the next page. Something like: ... User Name: Join Date: .

Re: generate dynamic Microsoft PowerPoint presentation

2004-05-12 Thread Mark Lowe
SVG would be the the thing to use. I have no idea whether power-point supports svg. http://xml.apache.org/batik/ Tomcat 5 comes with a working example using batik with JSP. On 12 May 2004, at 18:34, Joe Germuska wrote: At 9:54 PM +0530 5/12/04, Navjot Singh wrote: i did something of this sort

reuse of request parameter in application flow

2004-05-12 Thread Samuel Rochas
Hello, I am using an Action which puts some data in the request scope. That's just fine to display the data in the (exactly one) next jsp page (let's call it target.jsp). I am submiting a form in target.jsp which should do some action an show again the target.jsp page. How can I tell my page

RE: generate dynamic Microsoft PowerPoint presentation

2004-05-12 Thread Joe Germuska
At 9:54 PM +0530 5/12/04, Navjot Singh wrote: i did something of this sort for microsoft word but not sure about ppts. i did use jni to achieve that. http://danadler.com/jacob/ you may also have a look at this http://www.winnetmag.com/WindowsScripting/Article/ArticleID/26972/26972.html I haven't

Re: generate dynamic Microsoft PowerPoint presentation

2004-05-12 Thread Niall Pemberton
There was talk of this in the POI project, but to date nothing has happened. Maybe ask on their list if anything is in the pipeline. http://jakarta.apache.org/poi/index.html Niall - Original Message - From: "Gabriel Forradellas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesda

RE: generate dynamic Microsoft PowerPoint presentation

2004-05-12 Thread Navjot Singh
i did something of this sort for microsoft word but not sure about ppts. i did use jni to achieve that. http://danadler.com/jacob/ you may also have a look at this http://www.winnetmag.com/WindowsScripting/Article/ArticleID/26972/26972.html >-Original Message- >From: Gabriel Forradellas

generate dynamic Microsoft PowerPoint presentation

2004-05-12 Thread Gabriel Forradellas
Any idea how generate dynamic powerpoint using java , using database sources??? Are there any java framework?? Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts layout and skins integration

2004-05-12 Thread shankarr
Hi! I need to integrate struts layout and skins into my product. The idea is to let the user choose the kind of skin he would like to use , something akin to customization. I am also looking into integration xskins as an alternative too. Any directions for the same will be much appreciated. I

composing dynamic url

2004-05-12 Thread Ryan . Hoffmann
I am new to STRUTS so I am struggling with the use of the "page or href" attribute in the html:link statement. I don't see a need to specify an action in the config-struts that points to an ActionClass to make the URL available to the JSP page. I already have the URL stored in a bean and I ca

Re: FW: FW: multiple validators and ActionErrors

2004-05-12 Thread Irfandhy Franciscus
Maybe youcan try saving your ActionErrors inside the request. And eveytime you validate a field, retrieve the ActionErrors from the request and append the message into the ActionErrors. Sifuentes, Ben wrote: Another thing I do get back a list of errors for each failed field value per validator b

File Browsing with struts

2004-05-12 Thread Lucas Gonzalez
Hi, We have a reporting app (struts+jaspereports) that creates reports and leaves them in a dir on the server, the problem is that we need that directory to have the webapp security filters, so we can´t just put them into an accesible directory Does anyone here knows of any file browsing modul

Problem on upload multiple files with Struts

2004-05-12 Thread dlayman
Hi all, I am currently working on a file upload function with struts. The original upload function allows multiple file uploads, with JSP's html form submitted to the action. the +uploadform uses dynamic properties, and the jsp file refers to them with formFile[0], formFile[1] ... N

Problem on upload multiple files with Struts

2004-05-12 Thread dlayman
Hi all, I am currently working on a file upload function with struts. The original upload function allows multiple file uploads, with JSP's html form submitted to the action. the +uploadform uses dynamic properties, and the jsp file refers to them with formFile[0], formFile[1] ... N

RE: Struts/Resin case-sensitivity

2004-05-12 Thread Geeta Ramani
You know, isn't the RequestProcessor supposed to be used for just this kind of thing? You know, when you get a request, massage it so it is just as you'd like (in this case maybe change the case of the mapping to all lower case) and then adding just the lower-case to the struts-config.xml should

Re: Struts/Resin case-sensitivity

2004-05-12 Thread John Moore
Daniel Perry wrote: Struts is still case sensitive, so if it's in your struts-config.xml as "Contact", then "/contact" shouldnt work. I dont know of a way to tell struts to act case-insensitivly. It may not be that important, ultimately. I wanted to ensure that users weren't forced to enter t

Problem on upload multiple files with Struts

2004-05-12 Thread dlayman
Hi all, I am currently working on a file upload function with struts. The original upload function allows multiple file uploads, with JSP's html form submitted to the action. the +uploadform uses dynamic properties, and the jsp file refers to them with formFile[0], formFile[1] ... N

Problem on upload multiple files with Struts

2004-05-12 Thread dlayman
Hi all, I am currently working on a file upload function with struts. The original upload function allows multiple file uploads, with JSP's html form submitted to the action. the +uploadform uses dynamic properties, and the jsp file refers to them with formFile[0], formFile[1] ... N

Bug in the e-mail subscription list

2004-05-12 Thread Olivier Citeau
Hi friends, before subscribng with success to the list, i tried an adress found on http://jakarta.apache.org/struts/ Here is the answer i get : Hi. This is the qmail-send program at apache.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error;

RE: Struts/Resin case-sensitivity

2004-05-12 Thread Daniel Perry
I could be a bit off the ball here, but struts actions are case sensitive. The servlet 'case-sensitive' element mapping only tells it that it should ignore case for the servlet mapping - ie /myApp/ would also recognise /myapp/ or /MyApP... etc. Struts is still case sensitive, so if it's in your st

RE: Design Issue/Question

2004-05-12 Thread nils . mueller
Hi Brad, I've used the iframe solution on a project, as well. It worked for me. However, I think there are some drawbacks. You loose visual control over what's going on in the hidden iframe. I loaded .jsp into the iframe that wouldn't even compile and didn't notice, because I didn't see the com

Re: reloading Actions

2004-05-12 Thread Riyad Kalla
Tomcat 5 seems to do this for me implicitly... reloads all my classes depending on what is changed.. (actions, forms, util classes, dtos, daos, etc.) Nimmons, Buster wrote: My appserver will reload the ActionServlet if it has changed (which would in fact reload any Action classes) however it

Re: ApplicationResource.properties reload

2004-05-12 Thread Riyad Kalla
The properties file will be reloaded by the servlet. i'm not sure what you mean by "changed" in this context, it needs to be re-read if it is modified. Michael McGrady wrote: If the properties class is loaded, which I assume it is, the file would not have to be loaded, just changed, right? At

Re: ApplicationResource.properties reload

2004-05-12 Thread Riyad Kalla
Use the administrator, its easier :) Make sure you have setup an "admin" and "manager" Account in your tomcat-users.xml file per the tomcat docs. Then go to http://localhost:8080 while Tomcat is running, and click the Administrator link. Expand the host link (I believe it is) and drill down to

Re: Struts/Resin case-sensitivity

2004-05-12 Thread John Moore
wojingo wrote: On Wed, 2004-05-12 at 23:17, John Moore wrote: Not sure whether this is a Struts or Resin issue. I'm using Struts 1.1 with Resin 2.1.12, and I've set it so that all URLs get handled by Struts unless otherwise specified, using the following URL mapping: action

Re: Design Issue/Question

2004-05-12 Thread Brad Balmer
Thanks, you've all been an incredible help. Daniel Perry wrote: The way i've done it, i have an iframe with 0 width/height, and load a url into it. e.g. iframe1.location='additem.do?code=item1'; Daniel. -Original Message- From: Nimmons, Buster [mailto:[EMAIL PROTECTED] Sent: 12 May 2004

Re: ApplicationResource.properties reload

2004-05-12 Thread Michael McGrady
If the properties class is loaded, which I assume it is, the file would not have to be loaded, just changed, right? At 06:58 AM 5/12/2004, Riyad Kalla wrote: If you are using Tomcat, it should reload this automatically if you have "reload properties" selected for your context (Atleast mine does

RE: Design Issue/Question

2004-05-12 Thread Daniel Perry
The way i've done it, i have an iframe with 0 width/height, and load a url into it. e.g. iframe1.location='additem.do?code=item1'; Daniel. -Original Message- From: Nimmons, Buster [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 14:49 To: 'Struts Users Mailing List' Subject: RE: Design Issue/Q

Re: Struts/Resin case-sensitivity

2004-05-12 Thread wojingo
On Wed, 2004-05-12 at 23:17, John Moore wrote: > Not sure whether this is a Struts or Resin issue. I'm using Struts 1.1 > with Resin 2.1.12, and I've set it so that all URLs get handled by > Struts unless otherwise specified, using the following URL mapping: > > > action > /

Re: ApplicationResource.properties reload

2004-05-12 Thread Michael McGrady
Hello, Riyad, I would like to select reload for my context. My present server.xml is the following: How would I do that? factory org.apache.catalina.users.MemoryUserDatabaseFactory pathname conf/tomcat-users.xml

Re: reloading Actions

2004-05-12 Thread James Mitchell
If you are remote debugging your container, changes that don't impact the class signature will be changed (hot replaced). I currently do this with Eclipse remote debugging Tomcat. Works great until I have to reload my ApplicationResources ;) (see other thread) -- James Mitchell Software Engine

RE: reloading Actions

2004-05-12 Thread Nimmons, Buster
My appserver will reload the ActionServlet if it has changed (which would in fact reload any Action classes) however it does not reload the ActionClasses alone. I asked the question because the Framework I wrote a few years back had an init parameter called devel and if set to true my ActionServlet

Re: ApplicationResource.properties reload

2004-05-12 Thread Riyad Kalla
If you are using Tomcat, it should reload this automatically if you have "reload properties" selected for your context (Atleast mine does while I'm wokring on the ApplicationResource file), and if all else fails, just use the Manager to restart the context (takes about 1 second). -Riyad Janart

Re: reloading Actions

2004-05-12 Thread Riyad Kalla
IIRC this is your app server's job, not Struts. Can someone correct me? Nimmons, Buster wrote: Is there a init parameter for the ActionServlet to have struts reload changed Action classes if they have changed - To unsubscribe, e

reloading Actions

2004-05-12 Thread Nimmons, Buster
Is there a init parameter for the ActionServlet to have struts reload changed Action classes if they have changed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ApplicationResource.properties reload

2004-05-12 Thread Joe Germuska
At 6:35 PM +0530 5/12/04, Janarthan Sathiamurthy wrote: Hi, Those links were informative. But i want to reload only my ApplicationResource.properties. Any hints on how to tweak this ? For now, the solution is to create your own implementations of MessageResources and MessageResourcesFactory, and

RE: Design Issue/Question

2004-05-12 Thread Nimmons, Buster
We use this solutions quite a bit... in fact we have the form in a hidden iframe which the user does not see but appears for developers for debbuging purposes.. when the action completes javascript in the iframe page updates a message box on the main page alerting the user to the fact that the sele

Struts/Resin case-sensitivity

2004-05-12 Thread John Moore
Not sure whether this is a Struts or Resin issue. I'm using Struts 1.1 with Resin 2.1.12, and I've set it so that all URLs get handled by Struts unless otherwise specified, using the following URL mapping: action / false The problem is that case-sensitivity remains r

Re: Design Issue/Question

2004-05-12 Thread Brad Balmer
So I would create a frame on my page that has a form with the action that I need to call? Then my javascript (onclick) would just reference the new frame and call the submit on the frame? Is this correct? If so, by submitting the frame there would be no perceived effect on the page that the c

RE: Design Issue/Question

2004-05-12 Thread wojingo
Hi, On Wed, 2004-05-12 at 22:37, Daniel Perry wrote: > I've done similar things before. > Use javascript to open an action to add it to the database. This can be in > a new window, in another frame, or in a hidden iframe! I'm pretty sure you could do it using divs aswell, the dynapi(a cross plat

RE: ApplicationResource.properties reload

2004-05-12 Thread Geeta Ramani
Did you look at the second message in the second link below? I believe the Reload action was removed from struts 1.1 because it didn't do all that the name suggested it would do, but reloading the app resources properties file probably does not involve all the problems that class reloading does.

RE: Design Issue/Question

2004-05-12 Thread Daniel Perry
I've done similar things before. Use javascript to open an action to add it to the database. This can be in a new window, in another frame, or in a hidden iframe! Daniel. -Original Message- From: Brad Balmer [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 13:46 To: Struts Users Mailing List

RE: ApplicationResource.properties reload

2004-05-12 Thread Janarthan Sathiamurthy
Hi, Those links were informative. But i want to reload only my ApplicationResource.properties. Any hints on how to tweak this ? Regards, Janarthan S -Original Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 6:19 PM To: Struts Users Mailing List Subject

RE: ApplicationResource.properties reload

2004-05-12 Thread Geeta Ramani
Janarthan: Take a look at this link: http://www.scioworks.net/devnews/strutsDistilled/updates/update-020811/reload.html and at: http://www.mail-archive.com/[EMAIL PROTECTED]/msg22743.html However: http://jakarta.apache.org/struts/faqs/newbie.html#reload Regards, Geeta > -Original Message--

Re: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread Henrique VIECILI
*Don´t flood our mailboxes* If I had the answer I would not collaborate because you are flooding... XP Thanks Henrique - Original Message - From: "ganesh g" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, May 12, 2004 9:37 AM Subject: convert loc

Design Issue/Question

2004-05-12 Thread Brad Balmer
I have an application where a user is adding items for a customer. The form where the user will be on will have a list of products to choose from, and can add a product for the customer by clicking on the checkbox. The issue I am having is that I need to have the application do an insert into

RE: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread Matthias Wessendorf
please stop spamming... thx btw, old action-clzz of mine, i guess it works still package net.wessendorf.web.struts.actions; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Outp

RE: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please see any copy

2004-05-12 Thread ganesh g
Geeta Ramani <[EMAIL PROTECTED]> wrote:Ganesh: For some reason we are receiving four copies of each note that you write.. Would you please see what's up? Thanks! Geeta > -Original Message- > From: ganesh g [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 8:38 AM > To: Struts

RE: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread Nimmons, Buster
One way or another the file HAS TO BE in the context of your webserver... We have similar situations where large data files reside on a seperate server so we created nsf mount points to the required directories and created an alias in Apache to point to the mounted directory say /u01/dev/data/m

RE: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread Divya B Sridhar
Please send one mail - it will suffice to address the group. Is everyone getting these mails multiple times??? -Original Message- From: ganesh g [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 6:08 PM To: Struts Users Mailing List Subject: convert locamachine serverpath to univer

RE: convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread Geeta Ramani
Ganesh: For some reason we are receiving four copies of each note that you write.. Would you please see what's up? Thanks! Geeta > -Original Message- > From: ganesh g [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 8:38 AM > To: Struts Users Mailing List > Subject: convert loc

convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread ganesh g
Hi friends, You are right But i'm placing in another drive c:\clientsData\client1\client1 huge PersanalData.. c:\clientsData\client2\.client2 huge PersanalData..

convert locamachine serverpath to universal clientpath he can download it and play very very urgent please

2004-05-12 Thread ganesh g
Hi Friends, You are right But i'm placing in another drive c:\clientsData\client1\client1 huge PersanalData.. c:\clientsData\client2\.client2 huge PersanalData..

  1   2   >