Re: JSP Code for DownloadAction
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 di
Help : creating dynamic styleId inside Logic:iterate
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 print
Re: caching large data in web application
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 the
Re: JSP Code for DownloadAction
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 tak
Every time Refreshing the Screens
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 t
Re: JSP Code for DownloadAction
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 E
Re: server shutdown
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 c
Re: Performance issues
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 t
RE: How to retrieve parameters passed via GET method?
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 Us
Re: Performance issues
How do I tell the browser to cache staticJavascript.jsp rather than downloading it each time? I know the browser caches images by default, but I'm not sure whether or not it would cache files with a .jsp extension. Do I have to do
Re: server shutdown
> 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 w
Re: How to retrieve parameters passed via GET method?
> In my Struts configuration file, an action element is defined as the > following: > type="org.apache.struts.actions.ForwardAction" > parameter="/closeAccount.jsp" /> > > When customer clicks on the hyperlink, ActionServlet receives the HTTP > request, pre-processes it and forwards it to F
Re: caching large data in web application
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 t
caching large data in web application
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 Ashish
[OT] different java versions in same project
Hi Has anyone used 2 different versions of java in same J2EE project. I have a web project where i have a Applet which displays data in graphs etc, this applet uses applet - servlet communication to connect to database, What i want to try to do is develop all the servlets and code running on appli
Re: Action path from Flash
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 goo
Validate seperate fields per button for forms with multiple butto ns
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 wou
Validate seperate fields per button for forms with multiple butto ns
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 wou
Re: Setup Action without a form
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. Ja
Re: Setup Action without a form
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
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. Th
Re: Action path from Flash
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 /mysw
Re: Action path from Flash
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 from Flash, you can make a call from Flash using ActionScript
Setup Action without a form
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 act
RE: Action path from Flash
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 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 -Origi
RE: Action path from Flash
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 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 -Origi
Problems with Tiles and html:base
Hello, I am using Tiles for my layout. I have a Tiles definition like this: --- --- If I use the struts tag in either my /main/Welcome.
Re: Struts training
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 somet
Re: Struts training
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: [OT-GMAIL] Any invite availeable
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 ---
[OT-GMAIL] Any invite availeable
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 PROTEC
Re: DynaValidatorForm 'forgets' request-attribute on redisplay after validation
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 catego