Re: General Question in JSP

2004-10-27 Thread Dakota Jack
I personally use a multithreaded pool for my database connections. Jack On Wed, 27 Oct 2004 08:40:10 +0200, dmu2201 [EMAIL PROTECTED] wrote: Rajesh wrote: Hai McGrady I cant get you . I am writing a public final class inside that a normal public function which created a db

Re: LookupDispatchAction problem with double byte resource files

2004-10-27 Thread Dakota Jack
All of your problems are caused because LookupDispatchAction creates a reverse mapping from the value of a parameter to its key, in order to get the method name. This is not only resource intensive but also a constant source of the sorts of difficulties you are experiencing. You can find what are

Re: Hiding .do

2004-10-28 Thread Dakota Jack
James' condition, viz. if you've coded your app without hard references to '.do', is really important here. But, you can change your extension to anything you want, as he says. You are mistaken that the tags add .do. They don't. The answer to your question has been extensively discussed in the

[OT] Re: Hiding .do

2004-10-28 Thread Dakota Jack
I forgot this about Struts 1.2.4, James. Good point. I think your thing with the marketing people is funny. While I am certain it was not so funny for you at that time, I would have liked to be a potted plant in the room for that discussion. You can expect, I think, marketing people to have

Re: [OT] Re: Hiding .do

2004-10-28 Thread Dakota Jack
/ Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: Dakota Jack [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 28, 2004 11:14 AM Subject: [OT] Re: Hiding .do I forgot this about Struts

Re: LookupDispatchAction problem with double byte resource files - working with DisplayTag ?

2004-10-29 Thread Dakota Jack
=button.remove/ /html:submit /html:form the problem is that the additional search.dispatch=Search is inserted into the requestURI when I 'view source'. I have no idea. I am not sure if it is the DisplayTag limitation though ... thanks li xin --- Dakota Jack [EMAIL PROTECTED] wrote: All

Re: LookupDispatchAction problem with double byte resource files - working with DisplayTag ?

2004-10-30 Thread Dakota Jack
'view source'. I have no idea. I am not sure if it is the DisplayTag limitation though ... thanks li xin --- Dakota Jack [EMAIL PROTECTED] wrote: All of your problems are caused because LookupDispatchAction creates a reverse mapping from the value of a parameter to its key

Re: LookupDispatchAction problem with double byte resource files - working with DisplayTag ?

2004-10-30 Thread Dakota Jack
. li xin --- Dakota Jack [EMAIL PROTECTED] wrote: I notice that your original question had to do with multiple submit buttons, but that your code here only has one submit button. You cannot necessarily take a solution for one problem and use if for others. I

Wikie Page Hits

2004-10-30 Thread Dakota Jack
Is the page hits functionality on the Jakarta Wikis not working? Jack -- You can't wake a person who is pretending to be asleep. ~Native Proverb~ Each man is good in His sight. It is not necessary for eagles to be crows. ~Hunkesni (Sitting Bull), Hunkpapa Sioux~

Re: LookupDispatchAction problem with double byte resource files - working with DisplayTag ?

2004-10-30 Thread Dakota Jack
. but your code certainly inspires me a lot. i am still working on this now. thanks a lot. li xin --- Dakota Jack [EMAIL PROTECTED] wrote: Hello, Chu, You seem to be a bit mixed up. I am not even sure which solution you are using anymore. However, if you are using

Re: JSF or Struts w/ JSF (again)

2004-11-02 Thread Dakota Jack
I think that the article meant Struts powerful controller ARCHITECTURE [emphasis added], Howard. There are Actions, ActionForms, ActionMappings, ActionServlet, ActionMessages, RequestProcessor, and other less significant classes.. All these are integrated into a very useful and very powerful

Re: JSF or Struts w/ JSF (again)

2004-11-02 Thread Dakota Jack
You need to remember where, in a sense, you are, Howard. A lot of people, obviously, have invested a lot of time and energy into Struts based applications. With the advent or potential of JSF, so need to start to think about moving over. So, the merger of the two technologies here are not for

Re: Why can't I do html:form action= or html:form with no explicit action

2004-11-04 Thread Dakota Jack
First, as you describe the problem, the problem is not with the action but with the forwarding. That is, on the first example you want the action for C to forward to D but in the second example you want the action for C to forward to E. Right? That's what it says anyway. Second, no matter

Re: LookUpDispatchAction weakness?

2004-11-04 Thread Dakota Jack
LUDA is just too complex and too outmoded, as Paul says. However, since you want to use LUDA, I don't get what your problem is. Can you provide the code? Here is what I understand: A. you are using javascript to set the action. B. then you have separate methods for each action. You need to

Re: Why can't I do html:form action= or html:form with no explicit action

2004-11-04 Thread Dakota Jack
If you will excuse me, Mark, I wonder why you would want your response object to determine the flow by injecting a dynamic action? You sure that is what you want? You sure you don't want to determine what the response object is based on the flow rather than on what the request object says based

Hits and Edits

2004-11-08 Thread Dakota Jack
Does the hits and edits chart functionality no longer work for the Struts Wiki? Jack -- You can't wake a person who is pretending to be asleep. ~Native Proverb~ Each man is good in His sight. It is not necessary for eagles to be crows. ~Hunkesni (Sitting Bull), Hunkpapa Sioux~

Re: class not found

2004-11-08 Thread Dakota Jack
Is the class found when you hit refresh on the page? Are you using Tomcat? Jack On Tue, 9 Nov 2004 12:20:00 +0530, Nishant [EMAIL PROTECTED] wrote: sorry it cant help out !!! Nishant Patil Software Engineer Cybage Software Pvt. Ltd. (A CMM Level 3 Company) West Avenue , Kalyani

Re: A new paradigm of Struts development

2004-11-09 Thread Dakota Jack
Aren't Struts and JSF in the end really competitors? Seems so to me. I cannot see them merging in any sensible solution. Jack On Tue, 9 Nov 2004 10:16:07 +0100, Jesse Alexander (KBSA 21) [EMAIL PROTECTED] wrote: -Original Message- (of course I am unhappy about JSF part )

Re: A new paradigm of Struts development

2004-11-09 Thread Dakota Jack
I don't think that this note by Vinny is unimportant. I like the idea of something like JSF for the view. I am not sure I like the controller architecture which it uses and which, i think, ultimately is a choice inconsistent with Struts, which I like. Jack On Tue, 09 Nov 2004 06:18:47 -0600,

Re: Are there Struts Applications in real life out there?

2004-11-09 Thread Dakota Jack
We are really all just a bunch of kids having fun and there is no really real real use of Struts at all. Whe! LOL Sometimes people seem to lose a grip on reality. Jack On Tue, 9 Nov 2004 10:20:41 -0500, Ted Husted [EMAIL PROTECTED] wrote: LOL. :) Yes, over the last two years

Re: A new paradigm of Struts development

2004-11-09 Thread Dakota Jack
Thanks, Joe, Some thoughts below: On Tue, 9 Nov 2004 12:26:22 -0600, Joe Germuska [EMAIL PROTECTED] wrote: Aren't Struts and JSF in the end really competitors? Seems so to me. I cannot see them merging in any sensible solution. No, I don't think so. JSF is primarily focused on the

Re: ImageButtonBean LookupDispatchAction

2004-11-09 Thread Dakota Jack
Ben, just make sure that whatever is submitting the form has the proper form, e.g. the same as the name attribute of your image tag. Do you understand? Jack On Wed, 10 Nov 2004 11:39:04 +1100, Ben [EMAIL PROTECTED] wrote: Hi I have been using the DispatchUtil method with great success (for

contrib/struts-shale-mailreader

2004-11-11 Thread Dakota Jack
I got the latest CVS using a command line for jakarta-struts but it did not contain the folder contrib/struts-shale-mailreader which I expected based on a recommendation by Craig. Is the CVS available from: cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout jakarta-struts

Re: contrib/struts-shale-mailreader

2004-11-11 Thread Dakota Jack
://svn.apache.org/viewcvs.cgi/struts/trunk/?root=Apache-SVN http://www.apache.org/dev/version-control.html Niall - Original Message - From: Dakota Jack [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 11, 2004 12:07 PM Subject

Re: contrib/struts-shale-mailreader

2004-11-11 Thread Dakota Jack
/README.html Dakota Jack wrote: I got the latest CVS using a command line for jakarta-struts but it did not contain the folder contrib/struts-shale-mailreader which I expected based on a recommendation by Craig. Is the CVS available from: cvs -d :pserver:[EMAIL PROTECTED]:/home

Re: A new paradigm of Struts development

2004-11-12 Thread Dakota Jack
Craig, Why is this considered to be Struts? I have nothing against the proposal, but it seems like it is not Struts and, if this becomes Struts, this essentially destroys Struts as we know it, doesn't it? If so, why do that? Why not have Shale and Struts? Jack On Mon, 8 Nov 2004 09:33:15

Jericho and StrutsServerFaces

2004-11-14 Thread Dakota Jack
Would anyone be interested in working on a StrutsServerFaces consistent with the controller model in Jericho as opposed to the page based controller in JavaServerFaces? I am becoming more and more distanced from the idea of a page based controller, but do see that someone has to step up to the

Re: OT: hosting recommendations?

2004-11-15 Thread Dakota Jack
lunarpages.com $9.95/month Jack On Fri, 12 Nov 2004 11:34:52 -0800 (PST), Woodchuck [EMAIL PROTECTED] wrote: hihi all, can anyone recommend hosters that are Tomcat/Java friendly and offer private JVMs for cheap monthly cost? (cheap to me is $0 - $20/month range) i went to servlets.com

Re: talking about paradigms

2004-11-15 Thread Dakota Jack
The whole discussion about MVC and web frameworks is important, I think, because not many cash it out when to do so (cash it out) would be helpful for discussion. We might try some way of refering to this such as WEBMVC. Anyway, the MVC pattern, taken literally, is impossible in a web framework.

JerichoFaces ?

2004-11-15 Thread Dakota Jack
Instead of having the Java ServerFaces controller handle both the relationship to the controller and to the model from the view, what if we employed the Jericho update to Struts 2.0 and added as an option a JerichoFaces that only interfaced with the model, having a view controller that did not

Re: talking about paradigms

2004-11-15 Thread Dakota Jack
Yet, Bill, that is not the problem of the XML/XSLT model, is it? That model is really cool in separating the model from the view. Indeed, that model is great at separating the view data from the view presentation. I am not sure what the app you worked on did, but I think the idea behind the

Re: talking about paradigms

2004-11-16 Thread Dakota Jack
of the overall complexity of XSLT. Power and flexibility always come at costs in this line of work, and XML/XSLT-based solutions I think are a prime example of this. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Dakota Jack wrote: Yet

Re: multiThread, action and Database access

2004-11-16 Thread Dakota Jack
You need to be more specific, I think. See below: Jack On Tue, 16 Nov 2004 07:33:40 +0100 (CET), Ryan julius [EMAIL PROTECTED] wrote: Hi, I have in my project, an action /ReadDataBaseData.do and the corresponding handler : public ActionForward accessDatabase(ActionMapping, ActionForm,

Re: AW: talking about paradigms

2004-11-16 Thread Dakota Jack
Hello, Leon, There are pointers in Java. Every object is referenced by a pointer. Indeed, how else could an object be referenced? I am not sure why you cited Joshua Bloch's book on this. There is not, as Eddie said, pointer arithmetic. Jack On Tue, 16 Nov 2004 11:46:05 +0100, Rosenberg,

Re: talking about paradigms

2004-11-16 Thread Dakota Jack
- spiders which ignore sessions - screen readers for the blind all of which make strong demands on the view and often require extra output from the model. Adam On 11/15/2004 07:46 PM Dakota Jack wrote: The whole discussion about MVC and web frameworks is important, I think, because

Re: talking about paradigms

2004-11-16 Thread Dakota Jack
the switch mechanism in the view, right? Perhaps with a filter, or with switches in tiles layout JSPs or definitions? On 11/16/2004 02:57 PM Dakota Jack wrote: Hello, Adam, You are definitely right that this is a crucial part of any web application, and not only for browsers but also

Re: talking about paradigms

2004-11-16 Thread Dakota Jack
never warmed to the idea of using the XML/XSLT approach when the data is already in the form of a Java object; it just seems like an extra step that doesn't buy me a whole lot. -Bill Siggelkow Dakota Jack wrote: Yet, Bill, that is not the problem of the XML/XSLT model

Re: Pre-populate form

2004-11-17 Thread Dakota Jack
The ActionForm you specified in your ActionMapping in struts-config.xml under the name attribute, e.g. logonForm, is available to you in the execute method. Just cast your ActionForm parameter to the particular form you used with the Action, e.g., if you have public ActionForward

Re: [OT] User Preference System Design

2004-11-17 Thread Dakota Jack
Why don't you just use a database? Am I missing something? Why XML, properties files, etc.? Jack On Wed, 17 Nov 2004 10:44:04 +, Adam Hardy [EMAIL PROTECTED] wrote: Hi Julian, you should take a look at CMS (container-managed security) as this is probably the most effective solution -

Re: [OT] User Preference System Design

2004-11-17 Thread Dakota Jack
You received several answers about security, but that is not what you want, right? You want to be able to set and to deliver user preferences. As part of any suggestion about how you should do this, one would need to know what the app is all about. Different solutions for different problems is

Re: JerichoFaces ?

2004-11-17 Thread Dakota Jack
Craig, I not only have no technical arguments against a View Helper design pattern, but the suggestion on the Wiki WhiteBoard for Struts both for the JerichoData and the JerichoFaces is an instance of advocating such a design pattern. What I don't trust is the page based controller. Jack

Re: JerichoFaces ?

2004-11-17 Thread Dakota Jack
in the MVC pattern in Struts. On Wed, 17 Nov 2004 21:52:56 -0800, Craig McClanahan [EMAIL PROTECTED] wrote: On Wed, 17 Nov 2004 21:43:14 -0800, Dakota Jack [EMAIL PROTECTED] wrote: Craig, I not only have no technical arguments against a View Helper design pattern, but the suggestion

Re: JerichoFaces ?

2004-11-18 Thread Dakota Jack
, and sound at all levels. I am more than happy to meet this request. Jack At 11:56 PM -0800 11/17/04, Dakota Jack wrote: The bottom line is that Shale is wholly inconsistent with the Struts approach. If Struts 2.0 becomes Shale, Struts is dead. Jack, don't take this personally, as I appreciate

Re: JerichoFaces ?

2004-11-18 Thread Dakota Jack
Thanks for your thoughts, Craig. See infra. Most of your comments were about the appearance, mien, bearing, style, and environment of the discussion about Jericho versus Shale. I hope we don't have to keep discussing the legitimacy of the discussion itself. I am comfortable that a discussion

Re: JerichoFaces ?

2004-11-18 Thread Dakota Jack
Joe, This will be, to promote clarity, in a few parts. The first is: WHAT IS STRUTS? as you requested. (See http://rollerjm.free.fr/pro/Struts11.html#3 ). Elaborating from this, one might ask what is Struts? Then again, I don't think the answer is critically important. I don't really

[OT] Re: JerichoFaces ?

2004-11-18 Thread Dakota Jack
] qualifier and move over to the developer list despite my judgment to the contrary and despite the fact that I think this stiffles legitimate discussion. Jack On Thu, 18 Nov 2004 11:19:23 -0800, Craig McClanahan [EMAIL PROTECTED] wrote: On Thu, 18 Nov 2004 10:45:31 -0800, Dakota Jack [EMAIL PROTECTED

Re: bean not found in any scope

2004-11-20 Thread Dakota Jack
There is nothing particularly strange about this problem. Your bean called employees is not in request scope. Jack You can't wake a person who is pretending to be asleep. ~Native Proverb~ Each man is good in His sight. It is not necessary for eagles to be crows. ~Hunkesni (Sitting Bull),

Re: JerichoFaces ?

2004-11-20 Thread Dakota Jack
On Sat, 20 Nov 2004 09:18:18 -0600, Joe Germuska [EMAIL PROTECTED] wrote: I think a lot of people are making a mistake by making more out of Shale than it is. Shale is a proposal and a prototype. It is here now for people to use it and see what they thing of it. It is taking the

Re: JerichoFaces ?

2004-11-21 Thread Dakota Jack
Hi, Eddie, The only point on this thread is that Struts as we know it and Shale or JavaServer Faces can only co-exist or exist in tandem. They are not compatible in any sense greater than that. The only connection they can have is with some controller deciding which to use. I think everyone

Re: JerichoFaces ?

2004-11-21 Thread Dakota Jack
The only point, Joe, I was interested in making was that Shale and JavaServer Faces are inherently distinct from and not *mergable* with Struts. They can exist in tandem but not together. I no one seems to disagree with this. There are lots of people that raise and debate other points which

Re: JerichoFaces ?

2004-11-21 Thread Dakota Jack
to put with it. - Original Message - From: Dakota Jack [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, November 21, 2004 12:01 AM Subject: Re: JerichoFaces ? On Sat, 20 Nov 2004 09:18:18 -0600, Joe Germuska [EMAIL PROTECTED] wrote: I

Re: JerichoFaces ?

2004-11-21 Thread Dakota Jack
Craig, I not only have no technical arguments against a View Helper design pattern, but the suggestion on the Wiki WhiteBoard for Struts both for the JerichoData and the JerichoFaces is an instance of advocating such a design pattern. What I don't trust is the page based controller. Jack

Re: Form bean returns null in forward action??

2004-11-21 Thread Dakota Jack
The Struts architecture is *integrated*. The form bean is initialized by the controller network because it is noted in the struts-config.xml. You have two choices: (1) let the ForwardAction know about the form bean and accept that it works that way; (2) look at the actual code and see what

Re: good book

2004-11-22 Thread Dakota Jack
Core J2EE Design Patterns or something like that. Really good. Jack On Mon, 22 Nov 2004 22:10:15 -0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks. On same line, could you please suggest good book/links to J2EE design patterns? -Original Message- From: Nishant

Re: Struts and Role specific Action Forwarding: Overview Answer

2004-11-23 Thread Dakota Jack
Rajesh, Just to complement Eddie Bush's assistance. The Struts controller setup in the MVC does some data mining the ActionForm and then passes off to different actions for different business logic and to different ActionForwards for different presentation. Thus, if you are clear about what

Re: Tiles and file download

2004-11-23 Thread Dakota Jack
As you no doubt see, Paul's solution is for viewing in the browser and Matt's is for downloading to the client. You can do both if you like. Just make the file in the browser per Paul the button for downloading the file to the client per Matt. You can have the button do a popup which then shows

Re: Tiles and file download

2004-11-23 Thread Dakota Jack
Perhaps a bit of theory is what you need. When you return a resource such as a file from an Action with a null as the value of the ActionFoward, you do so because the action is called FROM the response or the page which has already been committed and presented to the client. The call to the

Re: Problem downloading file

2004-11-23 Thread Dakota Jack
What do you mean by dialog? Do you want to download this file to display it? Or do you want to download it to keep? The return null for the ActionForward is used to display resources and is called after the response is committed. The call is part and parcel of the content of the response.

Re: Problem downloading file

2004-11-23 Thread Dakota Jack
When you do this, Radu, how does the file show up in the client? Is it downloaded to a directory the client user chooses or is it displayed in the client browser? Thanks. Jack On Tue, 23 Nov 2004 20:24:59 +0200, Radu Badita [EMAIL PROTECTED] wrote: I have the same problem trying to do the

http://marc.theaimsgroup.com/ down and out?

2004-11-23 Thread Dakota Jack
Anyone know what is up with http://marc.theaimsgroup.com/ struts list server? They have been down for days now. Jack -- You can't wake a person who is pretending to be asleep. ~Native Proverb~ Each man is good in His sight. It is not necessary for eagles to be crows. ~Hunkesni (Sitting

Re: http://marc.theaimsgroup.com/ down and out?

2004-11-23 Thread Dakota Jack
I can get to the site, Derek, but searches do not work. Do you get searches too? Jack On Tue, 23 Nov 2004 15:24:19 -0400, Derek Broughton [EMAIL PROTECTED] wrote: On Tuesday 23 November 2004 15:12, Dakota Jack wrote: Anyone know what is up with http://marc.theaimsgroup.com/ struts list

Re: Problem downloading file

2004-11-23 Thread Dakota Jack
Weber, you're the best. Thanks a million. Jack P.S. Would you like a gmail invite? On Tue, 23 Nov 2004 13:31:54 -0500, Erik Weber [EMAIL PROTECTED] wrote: Morales de Frías wrote: Hi¡ I already know that this problem have been resolved before, but i can't find the solution

Re: http://marc.theaimsgroup.com/ down and out?

2004-11-23 Thread Dakota Jack
Anyone know what is up with this? Jack On Tue, 23 Nov 2004 17:04:23 -0400, Derek Broughton [EMAIL PROTECTED] wrote: On Tuesday 23 November 2004 15:46, Dakota Jack wrote: I can get to the site, Derek, but searches do not work. Do you get searches too? Ah. No. I can browse

Re: smart navigation

2004-11-24 Thread Dakota Jack
Also, if you want similar things with other browsers, here is a Mozilla deal: script language=javascript function SetScrollTo(strControlID) { var objControl=document.getElementById(strControlID); document.body.scrollTop = objControl.offsetTop; //maybe object is not focusable, hidden or disabled.

Re: smart navigation

2004-11-24 Thread Dakota Jack
Smart navigation is a feature of the browser, allowing a page to be refreshed while keeping scroll position. Consequently, the use of this is in HTML, not JSP or ASP. They build it. Right? Jack On Wed, 24 Nov 2004 05:39:09 -0800 (PST), struts lover [EMAIL PROTECTED] wrote: Hello Everyone,

Zammetti Download App

2004-11-24 Thread Dakota Jack
Hello, Frank, I have been looking at the download app you submitted. Do I misunderstand or should type in the following quote from your java doc comments be className? Isn't type a typo? ;-) Jack -- You can't wake a person who is pretending to be asleep. ~Native Proverb~ Each man is

Re: Zammetti Download App

2004-11-24 Thread Dakota Jack
, which quote are you referring to? I have no doubt at all you are correct... Has this sample app been accepted for inclusion or are you just curious? :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Dakota Jack said: Hello

Re: Zammetti Download App

2004-11-24 Thread Dakota Jack
DOH! I bet you are right. I never thought of that reading. ;-) While I am here, I might as well ask Frank if he has any improvements, etc. he would like on this. Jack On Wed, 24 Nov 2004 12:26:15 -0600, Ken Pelletier [EMAIL PROTECTED] wrote: Since this is an ActionMapping subclass, then

Re: Tiles and file download

2004-11-25 Thread Dakota Jack
If you are going to do this, you might as well generalize it to: public class FileToString { public synchronized static String convert(File input) throws FileNotFoundException { String output = ; String line = ; StringBuffer content = new StringBuffer();

JSP Code for DownloadAction

2004-11-25 Thread Dakota Jack
Anyone have an example of JSP code for DownloadAction? I am confused about it. Jack -- You can't wake a person who is pretending to be asleep. ~Native Proverb~ Each man is good in His sight. It is not necessary for eagles to be crows. ~Hunkesni (Sitting Bull), Hunkpapa Sioux~

Re: Sending Binary Files from Action

2004-11-26 Thread Dakota Jack
Hello, Niall, Nice addition. Let me suggest that you indicate how to apply the content-disposition header with filename. That is where my knowledge runs out at this time. The difference in the JSP page between inline and attachment is what has me puzzled. I could just try various options and

Re: JSP Code for DownloadAction

2004-11-26 Thread Dakota Jack
it? Maybe I can update it to be more helpful... -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Dakota Jack wrote: Anyone have an example of JSP code for DownloadAction? I am confused about it. Jack

Re: Action path from Flash

2004-11-26 Thread Dakota Jack
You need to fix your Flash not your Struts. I call from Flash all the time. The new ActionScript is rad. Jack On Fri, 26 Nov 2004 22:37:05 -0800, Fedor Smirnoff [EMAIL PROTECTED] wrote: Hi, I am trying to call an action from a Flash file. My applications are all called as such:

Re: Action path from Flash

2004-11-28 Thread Dakota Jack
? 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 -Original Message- From: Dakota Jack

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.

Re: Action path from Flash

2004-11-28 Thread Dakota Jack
with Flash. But I might be wrong as I am not well versed in ActionScript, maybe you can help. Thanks, Fedor -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Friday, November 26, 2004 11:10 PM To: Struts Users Mailing List Subject: Re: Action path

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: 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 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

Re: Tiles and Forms

2004-11-30 Thread Dakota Jack
If you want a form across Tiles is one thing. If you want a html:form across Tiles is another. Do you have to have the html:form ? If so, you can fairly easily write a custom sub-tag for html:form that would allow you to open the tag and close it part way through on one tile and open it again

Re: JSF and non-struts controllerServlets

2004-12-02 Thread Dakota Jack
Hello, I think that you have to choose between a JSF controller and a controller in the sense you are discussing it. If I am not mistaken, the use of Struts together with JSF, for example, requires that when a request is presented to the web application it choose at the outset between Struts and

Re: Help Validating Accepted/Not Accepted radio buttons

2004-12-02 Thread Dakota Jack
This help, Wendy? !--== ERRORS

Re: [OT]Threads and Servlets Question

2004-12-06 Thread Dakota Jack
Spawning threads is something I do almost as a matter of course in my programming. I don't know what I would do without doing that. I would never, of course, dream of grabbing a request object, or similar things, and holding it in a new thread. I would never, ever, anytime dream of doing that.

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Dakota Jack
You might want to look at http://www.michaelmcgrady.com/button/jsp/dispatch_util.jsp. This would mean, for example, that you could do what you want with the following code, requiring nothing else: JSP CODE (changes property=submit for example, to property=edit.dispatch) html:form

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Dakota Jack
On Tue, 07 Dec 2004 12:02:52 +0100, Alexander Czernay [EMAIL PROTECTED] wrote: The problem is, that only one of those buttons works, while the other throws a MissingResourceAction. That sounds like a typo, but the strange thing is, that it tries to lookup the button's value rather than it's

Re: [OT]Threads and Servlets Question

2004-12-07 Thread Dakota Jack
I would encourage this behavior, assuming, of course, that you have the appropriate knowledge of threads and containers. This is precisely the sort of thing that I think is really perfect for multi-threading. If not, I would like to know why not too. Jack On Mon, 6 Dec 2004 14:39:46 -0600,

Re: [OT]Threads and Servlets Question

2004-12-07 Thread Dakota Jack
For me JMS is too heavy duty for this simple task. There are simple mechanisms for coding job completion, etc. Jack On Mon, 6 Dec 2004 13:49:50 -0700, Jim Barrows [EMAIL PROTECTED] wrote: -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Sent: Monday,

Re: [OT]Threads and Servlets Question

2004-12-07 Thread Dakota Jack
JMS, of course, is just a Java application. JMS *is* one of these solutions. Or, do I misunderstand? Jack On Mon, 6 Dec 2004 15:03:09 -0600, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: As has been noted by others, JMS would be the better solution for an asynchronous 'process'. But, if

Re: [OT]Threads and Servlets Question

2004-12-07 Thread Dakota Jack
it in a new thread. I would never, ever, anytime dream of doing that. Yuk! /snip hehe. What about the ServletContext object though? Dakota Jack wrote: Spawning threads is something I do almost as a matter of course in my programming. I don't know what I would do without doing

Re: [OT]Threads and Servlets Question

2004-12-07 Thread Dakota Jack
Interesting! Thanks. Jack On Tue, 07 Dec 2004 01:15:13 -0500, Erik Weber [EMAIL PROTECTED] wrote: This is covered by JMX. For example, see javax.management.timer.Timer (which can be initialized/destroyed by a ServletContextListener). The idea is that you can schedule asynchronous operations

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
needed to do this stuff, in my opinion. Jack On Wed, 08 Dec 2004 09:51:58 +0100, Alexander Czernay [EMAIL PROTECTED] wrote: Dakota Jack wrote: On Tue, 07 Dec 2004 12:02:52 +0100, Alexander Czernay [EMAIL PROTECTED] wrote: The problem is, that only one of those buttons works, while

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
I meant mybutton.forward=go to go=mybutton.forward On Wed, 8 Dec 2004 04:46:58 -0800, Dakota Jack [EMAIL PROTECTED] wrote: My experience is that the computer is always right, so I would look in my properites file, if I were you, and see whether or not I had reversed the myButtonForward=go

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
, the keyMethodMap has to contain the wrong value for the key. Jack On Wed, 08 Dec 2004 14:14:18 +0100, Alexander Czernay [EMAIL PROTECTED] wrote: Dakota Jack wrote: My experience is that the computer is always right, so I would look in my properites file, if I were you, and see whether or not I had

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
be a locale issue here. Hermod -Original Message- From: Alexander Czernay [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 2:14 PM To: Struts Users Mailing List Subject: Re: LookupDispatchAction doesn't lookup mapping Dakota Jack wrote: My experience

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
, 2004 6:14 AM To: Struts Users Mailing List Subject: Re: LookupDispatchAction doesn't lookup mapping Dakota Jack wrote: My experience is that the computer is always right, so I would look in my properites file, if I were you, and see whether or not I had reversed

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
lookup mapping Dakota Jack wrote: My experience is that the computer is always right, so I would look in my properites file, if I were you, and see whether or not I had reversed the myButtonForward=go to go=myButtonForward. Did you? I feel compelled to reiterate

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
-Original Message- From: Alexander Czernay [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 2:14 PM To: Struts Users Mailing List Subject: Re: LookupDispatchAction doesn't lookup mapping Dakota Jack wrote: My experience is that the computer is always right, so I

two step wizard like interface? [moved from dev list to answer here]

2004-12-08 Thread Dakota Jack
On Tue, 7 Dec 2004 03:59:39 + (UTC), Marc [EMAIL PROTECTED] wrote: Hi there. Help a struts rookie pls. I have successfully implemented a two step wizard like interface where I have A.jsp for the first step and B.jsp for the second step. But now I need an ability to dynamically change

Re: Conditional forward to target page on form submittal

2004-12-09 Thread Dakota Jack
Hi, David, This seems to be a fairly easy problem if there are no considerations other than these. If you don't know which response page you want to send make until after you receive a request, then you just make the decision during the execution of the Action with different ActionForward

Re: LookupDispatchAction issue

2004-12-10 Thread Dakota Jack
Since this is at issue, I would suggest that you not use LookupDispatchAction at all. It is clever but too convoluted. There are better solutions. See http://www.michaelmcgrady.com/button/ and http://www.michaelmcgrady.com/button/jsp/button_talk.jsp . As always, I recommend DispatchUtil in the

  1   2   3   4   5   6   7   8   9   10   >