Re: DynaValidatorForm 'forgets' request-attribute on redisplay after validation

2004-11-28 Thread Joe Germuska
At 11:31 AM + 11/24/04, Adam Hardy wrote: On 11/23/2004 02:20 PM Joe Germuska wrote: Your action isn't executed if validation fails. However, the validation is performed on a second request, so the object placed into the scope before the form was presented is no longer there. If your

[OT-GMAIL] Any invite availeable

2004-11-28 Thread Henrique VIECILI
Hi, sorry for this bogus email, but does anyone have some extra gmail invite to give me? if so... please send to [EMAIL PROTECTED] thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [OT-GMAIL] Any invite availeable

2004-11-28 Thread Henrique VIECILI
Thank you Sudhakar Henrique VIECILI wrote: Hi, sorry for this bogus email, but does anyone have some extra gmail invite to give me? if so... please send to [EMAIL PROTECTED] thanks

Re: Struts training

2004-11-28 Thread Shyam Anand
James, Thanks for the info...Look forward to your training course. Shyam --- James Mitchell [EMAIL PROTECTED] wrote: Was your question ever answered? There was talk about this among the Struts-Atlanta (Struts users group) members and I have considered putting something like this

Re: Struts training

2004-11-28 Thread Erik Weber
I'm in Atlanta (but not a member of any user groups) and would be interested in helping out or possibly taking a course. Erik James Mitchell wrote: Was your question ever answered? There was talk about this among the Struts-Atlanta (Struts users group) members and I have considered putting

Problems with Tiles and html:base

2004-11-28 Thread TroyGeek
Hello, I am using Tiles for my layout. I have a Tiles definition like this: --- tiles-definitions definition name=mainLayout path=/theme/tiles/MainLayout.jsp put name=header value=/theme/tiles/DakotaHeader.jsp / put name=body value=body /

RE: Action path from Flash

2004-11-28 Thread Fedor Smirnoff
Can you be more specific: fix your Flash not your Struts? I don't think you understood the problem I am having, unless the new ActionScript can use html:link/ I don't think it has to do with Flash. But I might be wrong as I am not well versed in ActionScript, maybe you can help. Thanks, Fedor

RE: Action path from Flash

2004-11-28 Thread Fedor Smirnoff
Can you be more specific: fix your Flash not your Struts? I don't think you understood the problem I am having, unless the new ActionScript can use html:link/ I don't think it has to do with Flash. But I might be wrong as I am not well versed in ActionScript, maybe you can help. Thanks, Fedor

Setup Action without a form

2004-11-28 Thread Flemming G. Jensen
Hi List, My project has a frontpage/welcome page. This page contains no forms. I need some kind of a set up action to fire, when a user accesses this frontpage in order to initialize a session specific bean. This bean is coded to act as a singleton within a session. How do I make a set-up

Re: Action path from Flash

2004-11-28 Thread Dakota Jack
You are right that I don't understand the problem you are having in various senses. You have not said enough for me to be able to do that. However, in relation to what you said here, the answer is that while you cannot, clearly, call html:link from Flash, you can make a call from Flash using

Re: Action path from Flash

2004-11-28 Thread Mark Lowe
I haven't had to deal with flash for a good few years, but couldn't you set a variable when you embed it in the page as a means of passing in the context path? Could be really dirty and just pass it in with the request parameter. /myswf.swf?contextpath=%= request.getContextPath() % or

Re: Setup Action without a form

2004-11-28 Thread Eddie Bush
You've got two choices that I see: 1 - Route requests into the controller 2 - Write a filter You say this is your welcome page. Is this your index? Generally, my index files contain nothing but a redirect to a global forward named index that sends the user to an action named /index.

Re: Setup Action without a form

2004-11-28 Thread klute
Why not use your extend and use your main Action (the one you map to .do in web.xml) class for that? in there you can retrieve user session and do anything with it hth, james --- Flemming G. Jensen [EMAIL PROTECTED] wrote: Hi List, My project has a frontpage/welcome page. This page

Re: Setup Action without a form

2004-11-28 Thread Dakota Jack
Not sure if by frontpage you mean your first page or welcome page as some say? Anytime you call an action, you can do whatever you want in that action prior to completing the action by passing an ActionForward. If you need something prior to your action or to any action, you can use PlugIn.

Validate seperate fields per button for forms with multiple butto ns

2004-11-28 Thread Partho . Sandell
Hi, I have a form with two buttons and a form bean that uses the validator frame work. The same action class is invoked when any button is clicked. I would like to check different text fields based on which button was clicked. Any pointers how this can be achieved using the validation framework

Re: Action path from Flash

2004-11-28 Thread Dakota Jack
You can get the context path dynamically with ActionScript. With ActionScript, Flash has a lot of client side behavior which can talk to the server and react accordingly. Jack On Sun, 28 Nov 2004 23:50:33 +0100, Mark Lowe [EMAIL PROTECTED] wrote: I haven't had to deal with flash for a good

caching large data in web application

2004-11-28 Thread Ashish Kulkarni
Hi what is the best way to cache data in web application, I have a table in AS400 DB2 database which i want to cache in application server to improve performance, Also is it possible to have a external trigger which will update the cache if the data base is updated by some external process

Re: caching large data in web application

2004-11-28 Thread Dakota Jack
Whatever code updates the database will have to somewhere and somehow notify the code that updates the cache. It is that simple. Jack On Sun, 28 Nov 2004 15:25:56 -0800 (PST), Ashish Kulkarni [EMAIL PROTECTED] wrote: Hi what is the best way to cache data in web application, I have a table

Re: How to retrieve parameters passed via GET method?

2004-11-28 Thread Shih-gian Lee
In my Struts configuration file, an action element is defined as the following: actionpath=/closeAccount type=org.apache.struts.actions.ForwardAction parameter=/closeAccount.jsp / When customer clicks on the hyperlink, ActionServlet receives the HTTP request, pre-processes

Re: server shutdown

2004-11-28 Thread Bill Keese
I am now only trying to run notepad from the exec command If you are trying to run a GUI program, than you have to check the "Allow service to interact with desktop" checkbox (from the "properties" page for the service). Maybe that's the problem. But if the same error occurs

RE: How to retrieve parameters passed via GET method?

2004-11-28 Thread Robert Taylor
The accountId value is in the query string of the request and therefore must be retrieved like: String accountIdValue = request.getParameter(accountId); robert -Original Message- From: Shih-gian Lee [mailto:[EMAIL PROTECTED] Sent: Sunday, November 28, 2004 7:24 PM To: Struts Users

Re: Performance issues

2004-11-28 Thread Jason King
It caches by default. To test this, put some arbitrary obscure string like I am not a number, I am a free man inside your js file, clear the browser cache, load the page once and you should find this in the cache once. You'll have to use a find utility that searches on strings. Then load

Re: server shutdown

2004-11-28 Thread Dakota Jack
I am absolutely amazed that something which I thought was really extended in terms of Struts relevance should arise the next day or so. Please look at http://wiki.apache.org/struts/StrutsSolutions and http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html for a wonderfully done article

Re: JSP Code for DownloadAction

2004-11-28 Thread Andrew Hill
I wanted to send this link along on Friday as well, but didnt have time to find it as I was trying to get home early. (Fat chance. Still ended up taking over an hour to hail a taxi so I didnt get home till after midnight. Ahhh the joys of working in the IT industry, but I digress...) Internet

Every time Refreshing the Screens

2004-11-28 Thread Srinivas
Hi Guys, I am using the Struts frame work in my application and now working perfectly. There is now problem in my application. But the problem is if we can access the application from the Static IP Address it's working perfectly, but the problem is, if we can access the application through

Re: JSP Code for DownloadAction

2004-11-28 Thread Frank W. Zammetti
Good info. Thanks Andrew! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Andrew Hill wrote: I wanted to send this link along on Friday as well, but didnt have time to find it as I was trying to get home early. (Fat chance. Still ended up

Re: caching large data in web application

2004-11-28 Thread Frank W. Zammetti
What kind of data is it? Is it a read-only set of data? How often is it updated? Who or what can update it? There's any number of ways to do things like this, which is the best option depends on the particulars of your use case. You might be able to cache the data in Javascript arrays in

Help : creating dynamic styleId inside Logic:iterate

2004-11-28 Thread sachin
I have a jsp page in which i have a loop and a text field inside it. Now to create a dynamic styleid i have used the following code.. but when this code executes , it does not print the actual value of itrator . It should give styleId=sp0 , styleId=sp1 , styleId=sp2 likewise .. but it prints

Re: JSP Code for DownloadAction

2004-11-28 Thread Dakota Jack
Many thanks. I will use this to update the stuff on the wiki, which I doubt will take off and probably will go the way of erasure, but, heh, who knows? Jack On Mon, 29 Nov 2004 10:23:07 +0800, Andrew Hill [EMAIL PROTECTED] wrote: I wanted to send this link along on Friday as well, but