Tomcat -- JSP -- KeyPairGenerator -- Security Exception

2004-03-26 Thread Michael McGrady
When I am using Tomcat I get a security exception when I try to access a java.security.KeyPairGenerator for a Diffie-Hellman key pair. I don't get it with other servers. Anyone know why this is? java.security.NoSuchAlgorithmException: DH KeyPairGenerator not available

Re: File-Upload: Progress-Bar

2004-03-19 Thread Michael McGrady
Check the archives. There has been a lot on this. At 01:31 AM 3/19/2004, you wrote: Hello everybody! I'm up to the task to implement a progress bar for File-Uploads, cause the files that are uploaded to my Webapp can be quite large. Well as usual this problem is not easily solved on the

Re: Does Tiles has performance?

2004-03-16 Thread Michael McGrady
I find no trouble with Tiles performance. At 06:59 AM 3/16/2004, you wrote: Anybody can tell me if using Tiles in an application make it slower? is there a way to make this better? Thanks, JP - To unsubscribe, e-mail: [EMAIL

Re: [OT] Search string tokenizer

2004-03-15 Thread Michael McGrady
I have not investigated this at all, but Lucene should, if it doesn't, do this. At 01:20 PM 3/15/2004, you wrote: I did a google search on this and didn't really come up with anything useful. Before I implement this myself, is there an existing implementation of parsing a search string which

Re: submit an arraylist

2004-03-12 Thread Michael McGrady
This is totally different than your first question, Mu. You don't think that FontBean[] is the same as ArrayList, do you? You used ArrayList in your original question but that has now become FontBean[]. - Mike At 01:16 AM 3/12/2004, you wrote: I think I have done the right ,yet it still

RE: how to automatically forward user's page to a html link at speified time

2004-03-12 Thread Michael McGrady
At 05:36 PM 3/12/2004, you wrote: Thanks,I need to forward the page to another link(that is another website),obviously such forward is not orginated from a user request,so maybe I can auto generate a request at that time, You mean a response? You don't generate requests, clients do. does it

RE: can anyone help me address this issue

2004-03-11 Thread Michael McGrady
If you want to get really fancy, of course, you can convert binary to strings and back. At 06:23 PM 3/11/2004, you wrote: You can't send data structures over HTTP you can only send strings. You could set those values as hidden form elements with a naming convention that would enable your server

Re: asking for help about indexed properties

2004-03-11 Thread Michael McGrady
http://jakarta.apache.org/struts/faqs/indexedprops.html At 07:15 PM 3/11/2004, you wrote: I have the follow in a jsp file html:form action=indexedtest5.do logic:iterate name=stringbean property=stringArray id=foo indexId=ctr (QUESTION: WHAT DO name,property,id,indexId

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Michael McGrady
I am failing to see what the problem is. Just create a new parameter and give it a new number. Why is that a problem? At 09:23 AM 3/6/2004, you wrote: Hi Brad, Someone on this list (sorry; can't remember who) subclassed ActionForward to do exactly this. Search the archives for

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Michael McGrady
If it does not prevent the browser from going to its cache, which is different than preventing caching, I guess, the browser would be badly malfunctioning, since it would be going to the cache to get a request which is not there. Isn't this right? Michael At 05:50 PM 3/6/2004, you wrote: It

RE: Struts Issue on Weblogic !!!

2004-03-05 Thread Michael McGrady
The object you are writing to the output stream is not serializable. That is all that is happening. At 06:31 AM 3/5/2004, you wrote: Thanks for super fast reply I have not declared the class abstract anywhere TIA Veresh -Original Message- From: as as [mailto:[EMAIL PROTECTED]

Re: Best way to handle big search results..

2004-03-04 Thread Michael McGrady
Here is some code of the sort Rick mentions. I hope this helps. I get lots of use out of this. This is my version of some code from some J2EE book on J2EE patterns. ---INTERFACE- package com.michaelmcgrady.util.list; import java.util.Collection; import java.util.List;

Re: Best way to handle big search results..

2004-03-04 Thread Michael McGrady
++1 At 09:17 AM 3/4/2004, you wrote: Even if everything in your system handles 320,000 lines of html, your users never will. This isn't a performance issue, its a design one. You gotta go back to the drawing board and stop trying to get something to perform that your users will never accept.

RE: Hiding URL Parameters

2004-03-04 Thread Michael McGrady
Well, yes and no. There are lots of things to be done, actually. First, whatever is sent to the server as a get can be disguised. You are not locked into anything except some agreement between client and server. You can use Diffie-Hellman if you want, for example. Second, what you can do

Re: Returning fully-stocked Actions/JSPs from other Actions

2004-03-04 Thread Michael McGrady
I am having a hard time seeing what you want to do, but I know that your issues with the junkbean are unrelated to the hiding of the JSPs behind/beneath/be-whatever WEB-INF. If you want to access data, including an object, then the data must be saved somewhere and then accessed where it is

Re: Returning fully-stocked Actions/JSPs from other Actions

2004-03-04 Thread Michael McGrady
In addition to my previous nonsense, let me spout the following too: At 02:44 PM 3/4/2004, you wrote: Hi all, I'm working on a web app where I have my JSPs hidden beneath WEB-INF. In doing so, I of course have actions which RequestDispatch those pages to the user. In doing this I am running

Re: Returning fully-stocked Actions/JSPs from other Actions

2004-03-04 Thread Michael McGrady
If you save it in request scope, then it will be gone afterward. That is your problem. At 03:22 PM 3/4/2004, you wrote: Michael McGrady wrote: There are no beans in returned JSPs. In fact, there are no returned JSPs. I assume you mean to talk about the response object. That includes only

RE: Returning fully-stocked Actions/JSPs from other Actions

2004-03-04 Thread Michael McGrady
We had a round of discussions on this in the near past. Right Mark? Mark has gone back to crack after that discussion. LOL Anyway, I don't think it is advisable to save the contents of an action form in session scope. But, exactly what you are doing is not clear. Maybe in your case it

RE: Returning fully-stocked Actions/JSPs from other Actions

2004-03-04 Thread Michael McGrady
The key here is NOT which ACTION but which SCOPE. At 03:44 PM 3/4/2004, you wrote: Randy Dillon [EMAIL PROTECTED] wrote: ... Your first request scope ends once index.jsp loads; if you want to use the junkbean again after that, you have to save it again, either in the new request or in the

RE: Returning fully-stocked Actions/JSPs from other Actions

2004-03-04 Thread Michael McGrady
I cannot say I am a fan of any of this, but the fact that you want to update the bean is reason to save it not toss it. At 03:47 PM 3/4/2004, you wrote: Gopalakrishnan, Jayesh wrote: Your junkbean is lost once index.jsp is rendered on the browser. Thats the end of the request scope. If you

RE: hiding jsp files under WEB-INF

2004-03-03 Thread Michael McGrady
The tags are independent of the controller. At 09:44 AM 3/1/2004, you wrote: Whoops, didn't see that. Now I'm more inclined to think this will not work as this page is not being handled by the struts controller. An Obstacle is something you see when you take your eyes off the goal -Original

Re: hiding jsp files under WEB-INF

2004-03-03 Thread Michael McGrady
I use logic:forward name=opening/ in my index.jsp. So, that is not a problem. At 09:50 AM 3/1/2004, you wrote: Alternatively Change the logic:forward on your index.jsp page to an ordinary link and see if that works. Click Here Niall - Original Message - From: Niall Pemberton To:

Re: hiding jsp files under WEB-INF

2004-03-03 Thread Michael McGrady
to a link should help him resolve his problem. - Original Message - From: Michael McGrady [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 04, 2004 12:34 AM Subject: Re: hiding jsp files under WEB-INF I use logic:forward name=opening/ in my index.jsp. So

RE: [OT] Gays and computing

2004-02-28 Thread Michael McGrady
That would, I believe, be you're an idiot? This is like recursion. At 05:35 AM 2/28/2004, you wrote: Your an idiot for forwarding this -Original Message- From: Domingo A. Rodriguez S. [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 7:06 PM To: Struts Users Mailing List

RE: FormBeans: A question of Style

2004-02-27 Thread Michael McGrady
This is just wrong. This is done everyday. They are not in the least dependent. At 11:01 PM 2/26/2004, you wrote: I think whatever you do you can't make JSP and Action Class independent. Where are you populating ActionForm Object from the results from service layer? In Action class only right?

Re: [OT] Gays and computing

2004-02-27 Thread Michael McGrady
Yah, off topic. I bet that is what the [OT] is all about. At 04:06 PM 2/27/2004, you wrote: Definitively funny, but Off-topic :) --- Rick Reumann [EMAIL PROTECTED] escribió: On Friday 27 February 2004 4:39 pm, Melvin Kurzchen wrote: Article: http://www.albinoblacksheep.com/flash/you.html

Re: (Fwd) row counts in logic:iterate...

2004-02-26 Thread Michael McGrady
will have the same problem even without the operator, because the %= % will expect a string. The use of before the (ctr + 1) will signal the applicaiton to change the result of (ctr + 1) to a string for purposes of concatenation. Anyway, something like that, I think. Michael McGrady At 09:13 AM

Re: Struts Workflow

2004-02-26 Thread Michael McGrady
My suggestion is to build your own. This is fairly simple stuff that must be wedded to your own way of coding your site or application that will fit your business requirements. Make it general for use in other places. Create, for example, you own do/undo/redo to work with but independent of

Re: (Fwd) row counts in logic:iterate...

2004-02-26 Thread Michael McGrady
. The use of before the (ctr + 1) will signal the applicaiton to change the result of (ctr + 1) to a string for purposes of concatenation. Anyway, something like that, I think. Michael McGrady At 09:13 AM 2/26/2004, you wrote: Sorry, my mailer messed up the last one, so here again... newbie

Re: Problem in population of VO

2004-02-21 Thread Michael McGrady
I am not sure how to read this. It seems to say that, when you submit a form, the values of the form are uploaded, but, if you resubmit the form, the values are not uploaded. This says to me that what happened BEFORE you submit the form is important, only because that is the ONLY DIFFERENCE

Re: ActionFoward issues

2004-02-19 Thread Michael McGrady
You mean you want the response to include what? At 12:22 AM 2/19/2004, you wrote: Hello, After the action is performed, I need to send the html view back to the http client and to an email output. I am not sure on how to do it. Can anyone advise a suitable approach sample code? Cheers

RE: ActionFoward issues

2004-02-19 Thread Michael McGrady
, [EMAIL PROTECTED]. The last parameter either turns on or turns off debugging during sending. @author Michael McGrady / public class Send implements ConnectionListener, TransportListener { private static Log

Re: Form Submission

2004-02-18 Thread Michael McGrady
Heh, guys, there is no morality play here. LOL The question is just whether or not the use of the session as a repository makes sense, given the host of problems that arise in that respect, and given that there are way cool solutions that need to be built without those problems. Saving a

Re: Problem Dynamically creating form properties

2004-02-18 Thread Michael McGrady
I would be interested int his, Niall. At 10:46 AM 2/17/2004, you wrote: I have a version of DynaBean based on the MutableDynaClass interface which allows properties to be added dynamically - which anyone would be free to use (I tried to attach here but struts-user rejected the mail saying we

Re: [OT] - Request against Session

2004-02-16 Thread Michael McGrady
. The suggestion is to substitute a scalpel data mining technique for the shotgun. We more on all fours now? Michael McGrady - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] - Request against Session

2004-02-16 Thread Michael McGrady
out there on this already. I would also not be surprised if there were not a lot more effective solution than this off the top of my head version. Michael McGrady

RE: [OT] - Request against Session

2004-02-16 Thread Michael McGrady
storage prior to SQL for me. Something like a hidden parameter version of SQL is what I would prefer. But, I do think that your division reflects a distinction that needs to be addressed. Michael McGrady At 08:05 AM 2/16/2004, you wrote: Just to throw a little liquid (gasoline or water

Re: [OT] - Request against Session

2004-02-16 Thread Michael McGrady
The bigger problem than bloat, Niall, as discussed earlier than when you came aboard is the fact that you are breaking MVC which leads to predictable difficulties with multiple windows, which are often needed. Michael McGrady At 08:25 AM 2/16/2004, you wrote: Sorry if I'm regurgitating, but I

RE: [OT] - Request against Session

2004-02-16 Thread Michael McGrady
in the OrderController, just fetch and return. This same idea can be applied to request scope data. -Jacob -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 11:54 AM To: Struts Users Mailing List Subject: RE: [OT] - Request against Session I like the way you

Re: [OT] - Request against Session

2004-02-15 Thread Michael McGrady
At 04:20 AM 2/15/2004, you wrote: You Said: During a payment process one may want to collect various details about a user, likewise in other parts of a system you perhaps want to do the same albeit in a different order. Hiding form values from a previous view would lock you into always needing

Re: [OT] - Request against Session

2004-02-15 Thread Michael McGrady
to be the last thing on the agenda. I guess that is not entirely true, given Tiles, etc., but it sure is widely true. Michael McGrady P.S. I noted the use of i18n because that is a use of the session that makes sense to me.

RE: [OT] - Request against Session

2004-02-14 Thread Michael McGrady
going to be happening with that session scoped action form... -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Saturday, 14 February 2004 07:25 To: Struts Users Mailing List Subject: RE: [OT] - Request against Session That is correct, but these situations do not, so

RE: [OT] - Request against Session

2004-02-14 Thread Michael McGrady
Now let us assume that the ActionForm for the record editing form needs to go in session scope (nb: in request scope there is not a problem so if the design can be done practically with request scope that is much better). Hi, Andrew, Now this is becoming interesting. Let's talk about this

RE: [OT] - Request against Session

2004-02-14 Thread Michael McGrady
At 07:35 PM 2/13/2004, you wrote: Have a think about whats going to be happening with that session scoped action form... Go ahead, tell me. What is going to be happening. Is there going to be anything happening that makes this a nutso design to use? If so, my suggestion is, don't use this

Re: [OT] - Request against Session

2004-02-14 Thread Michael McGrady
httpsession in general. :o) On 13 Feb 2004, at 20:28, Michael McGrady wrote: Well, Mark, I love you. But, I don't know what the issue is. LOL At 08:21 AM 2/13/2004, you wrote: Am i to assume that there's no issue then ? or am i being too stupid to warrant a response? On 13 Feb 2004, at 09:55, Mark

RE: [OT] - Request against Session

2004-02-13 Thread Michael McGrady
At 12:45 AM 2/13/2004, you wrote: But what we are talking about is the concept functionality.And what you are saying is the implementation. Agreed the workflow container is in session scope .But for the user(The developer), it gives the choice of an additional scope definition.How it is

RE: [OT] - Request against Session

2004-02-13 Thread Michael McGrady
and it is not a solution to the need to use RAM. Michael McGrady - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] - Request against Session

2004-02-13 Thread Michael McGrady
: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 11:56 PM To: Struts Users Mailing List Subject: RE: [OT] - Request against Session The work flow solution being talked about actually is the worst bloat for the session. It uses the work flow for all sessions. Indeed

RE: [OT] - Request against Session

2004-02-13 Thread Michael McGrady
At 08:41 AM 2/13/2004, you wrote: My interpretation of that comment was that if a user has two windows open and are going back and forth between the windows, the system may use information from one window to update the information in the session that actually relates to the old window. This would

Re: [OT] - Request against Session

2004-02-13 Thread Michael McGrady
The form received by one person as opposed to another person and by the same person at different times is not the same. I fail to see any problem here. You would have to try to screw this up, so far as I can see, to cause a problem. Sessions belong to the person and are not in multiple

RE: [OT] - Request against Session

2004-02-13 Thread Michael McGrady
That is correct, but these situations do not, so far as I can see, cause problems. At 01:50 PM 2/13/2004, you wrote: Actually, it's not two different sessions if the second window was opened from the first with a popup or a crtl-n or open in new window. -Original Message- From: Michael

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
At 01:21 AM 2/12/2004, you wrote: I think the issue over here is, in such cases we need a new scope(workflow scope).The existing scopes(request/session) do not suffice in such cases. I do not think that this is a precise or correct description of the issue. The session object has a scope,

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
There is no such thing as work flow scope. This is a myth. Objects have to be kept in one of the standard scopes, including work flow objects. The work flow container in the Struts workflow application is kept in session scope.

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
At 07:50 AM 2/12/2004, you wrote: If user has different windows in different windows, then only the latest windows workflow is honoured.SO all other window will have lost thier workflow state if any...Which is desired behaviour in workflow like situations...Where you dont want user to have

Re: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
I agree, java does the job nicely but if you're gonna get your knickers in a twist about using sessions and you've got time to burn then a c cgi would probably out perform a java solution (assuming you don't write shit that is). I doubt this. I think the Java will usually win this battle.

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
AMEN! At 07:57 AM 2/12/2004, you wrote: Shirish, I'm not knocking the workflow concept, my only point earlier was that someone shouldn't think it provides any real difference from session storage except that it will attempt to automatically clear the session when they leave that workflow and

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
The work flow solution being talked about actually is the worst bloat for the session. It uses the work flow for all sessions. Indeed, it is used with every request processing. - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [OT] Case insensitive Map keys

2004-02-12 Thread Michael McGrady
Lord, Freddy, chill. That is harsh language to someone who is only trying to help. I was tempted to give the same answer, as the question does not make much sense to me. If you want to access something this way, that is the only answer really. So, what else is there to give them? At 04:19

Re: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
At 02:56 PM 2/12/2004, you wrote: Hi Michael.. Do you know anything about this not knowing what data one is looking at issue when scoping forms in the session? I don't understand what you are talking about, Mark. I did not know there was such an issue. I don't scope forms to the session. I

Re: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
Java would only win/draw until it runs out of ram and then ouch that smarts :o) I prefer java to worrying about all that donkey's jiz, but if i was really concerned about bloat perhaps i would thing differently. I actually have never experienced this bloat problem. I think that good

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
But the workflow solution is for situations when you dont want to use session scope But still want to share data across screens And also manage Modal dialogue boxes in a wizard liek flow. This is not consistent with the workflow application in Struts. Again, the WorkflowContainer is ALWAYS

Re: struts actions and content/type responses

2004-02-12 Thread Michael McGrady
I provided the code to do this about two weeks ago on this list. At 03:30 AM 2/12/2004, you wrote: hello, i am looking for a solution for the following problem: in my database i have various BLOB items which represent images (gif or jpg). i would like to create a struts action which returns

RE: struts actions and content/type responses

2004-02-12 Thread Michael McGrady
Don't forget to return the null? At 04:35 AM 2/12/2004, you wrote: thank you mark, that worked a treat :-) cheers, Ben -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 12 februari 2004 12:45 To: Struts Users Mailing List Subject: Re: struts actions and content/type

RE: [OT] Sending email from struts

2004-02-11 Thread Michael McGrady
Sounds like you could use the MessageFormat class. At 08:04 AM 2/11/2004, Samyukta Akunuru wrote: Did you try using JavaMail API -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 10:03 AM To: strutslist Subject: [OT] Sending email from

Re: forwarding all request to the one JSP

2004-02-11 Thread Michael McGrady
This may be one time where it is worth reminding people that JSPs really are Servlets? At 08:31 AM 2/11/2004, Bubeník Miroslav wrote: Hi, is there any possibility in web.xml how can I forward all request for application XXX to one error JSP (without servlet)? Regards miro

Yellow background color in text fields?

2004-02-11 Thread Michael McGrady
With the following code the text field background for email is yellow, even though the background for password is white. I have nothing in my css that should trigger this. If I change the designation email to password the yellow background goes away. Anyone have any clue about what is

RE: Yellow background color in text fields?

2004-02-11 Thread Michael McGrady
Thank you Wendy. That's it. At 02:05 PM 2/11/2004, Wendy Smoak wrote: From: Michael McGrady [mailto:[EMAIL PROTECTED] With the following code the text field background for email is yellow, even though the background for password is white. Any chance you have the Google toolbar installed

RE: Yellow background color in text fields?

2004-02-11 Thread Michael McGrady
You would not believe the machinations I went through to solve this. Lord, what a deal! Smoak, you smoke! At 02:05 PM 2/11/2004, Wendy Smoak wrote: From: Michael McGrady [mailto:[EMAIL PROTECTED] With the following code the text field background for email is yellow, even though

Re: AW: Orkut

2004-02-10 Thread Michael McGrady
Try google? http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=orkut At 04:15 AM 2/10/2004, Pedro Salgado wrote: Can anyone explain me what is the Orkut Social Network :) Pedro Salgado On 09/02/2004 23:41, Oliver Thiel [EMAIL PROTECTED] wrote: ... me too ... thanks!

Re: dynamic parameters

2004-02-10 Thread Michael McGrady
Hi, Nathan: This is progress, but I cannot tell what Since the index from the outside foreach will not work for the indexed properties first and last name means. Please clarify. So far I can tell only the following: you have a list of students identified only by first and last name. You

RE: Errors or messages or??

2004-02-10 Thread Michael McGrady
I for one think that a lot of this is guilding the lily and is counter productive. At 10:19 AM 2/10/2004, Joe Germuska wrote: At 12:56 PM -0500 2/10/04, Slattery, Tim - BLS wrote: The deprecation is for the nightly build/Struts 1.2 distribution. If you're using 1.1 (like I am), there's no

Re: dynamic parameters

2004-02-10 Thread Michael McGrady
10, 2004, at 11:43 AM, Michael McGrady wrote: Hi, Nathan: This is progress, but I cannot tell what Since the index from the outside foreach will not work for the indexed properties first and last name means. Please clarify. So far I can tell only the following: you have a list of students

Re: Orkut: me too

2004-02-09 Thread Michael McGrady
Me too, please. At 08:29 PM 2/8/2004, Vic Cekvenich wrote: Done. Find the Struts community on there and join. Now you add others :-) .V Ramachandran wrote: Yes I want to join. -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich Sent: Monday, February 09,

Re: dynamic parameters

2004-02-09 Thread Michael McGrady
Nathan, this looks like you are just having people do your coding. This is not a struts question. This is just a coding question. Anyway, the answer to your question is that of course that is possible. Why wouldn't it be possible? All you have to do is to stop at n. At 05:11 PM 2/9/2004,

Re: img tag with action as src

2004-02-06 Thread Michael McGrady
devices and that when you use .do, the URL part of that device is rendered essentially irrelevant. I am quite serious that I would like to help you and quite serious that you need to chill a bit. Michael Mcgrady I nstead, one my use html:img path=/some/path/myAction.do/. I'm not sure

RE: logic:iterate question

2004-02-06 Thread Michael McGrady
I don't think you can pass parameters in JSTL, at least not yet. But you could, in your action, call getModelList passing the String you got from the request, and then when you forward to the JSP, iterate over that Collection. I am not sure what you meant, Wendy, but, in case you meant that you

Re: img tag with action as src

2004-02-06 Thread Michael McGrady
how it is, because code that works for the wrong reason is likely to come back and on the Michael McGrady At 07:49 AM 2/6/2004, you wrote: So, my final assumption is that img src=/some/path/myAction.do or even html:img src=/some/path/myAction.do/ will not work. Instead, one my use

Re: img tag with action as src

2004-02-06 Thread Michael McGrady
Greg, maybe the best way to help you with this is to give you the simple view solution and just forget the fancy stuff. If so, here is the URL: http://jakarta.apache.org/struts/userGuide/struts-html.html#img. - To

RE: web spider

2004-02-05 Thread Michael McGrady
Hello, Chris, I would love to see this code. Thanks a million! Michael At 01:19 AM 2/5/2004, you wrote: McCormack, Chris [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Tiles And Frames

2004-02-05 Thread Michael McGrady
For you Tiles devotees out there, I think this would be something that would be really helpful. This is a recurring question. I know! I know! If I have time, I will, after the other stuff. Just a second of this need. At 10:35 AM 2/5/2004, Mutreja, Shitij wrote: Is there a good

Re: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
I have not looked at this closely, but I notice there is no write in the nested iterator. Can you say what happens with this when you run it? At 01:06 AM 2/4/2004, you wrote: Hi All, I have a List collection (paymntTrnsctns) which contains an adminReceipts objects. One of the properties of

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
What happens? At 01:36 AM 2/4/2004, you wrote: I did put a bean:write in there and it still doesn't work. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 5:35 PM To: Struts Users Mailing List Subject: Re: Logic Iterate - Cannot Create

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
What happens? At 01:36 AM 2/4/2004, you wrote: I did put a bean:write in there and it still doesn't work. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 5:35 PM To: Struts Users Mailing List Subject: Re: Logic Iterate - Cannot Create

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
trace in a second. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 5:50 PM To: Struts Users Mailing List Subject: RE: Logic Iterate - Cannot Create iterator for this collection Could you please give more details? Show me the stack trace

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
(ThreadPool. java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 5:50 PM To: Struts Users Mailing List Subject: RE: Logic Iterate - Cannot Create iterator

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
/ /td /tr /table /div bean:write name=adminReceipts property=adminPaymentDetails/ /logic:iterate -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 6:14 PM To: Struts Users Mailing

Re: Action without ActionForm

2004-02-04 Thread Michael McGrady
My two cents worth is that I am with Max on this one. I have discovered that when I use patterned solutions I get benefits I did not think of at the time. This is particularly true of the HTTP version of the MVC framework. At 09:35 PM 2/4/2004, you wrote: My perspective is that there is still

RE: Basic Tiles question!

2004-02-04 Thread Michael McGrady
And, more Hmm..., it looks like whatever is assumed to have a value other than null at line 528 of InsertTag.java, so that you can look at the source code to see what that might be. My guess is that there is some name object that is being passed into that processName method that is null. At

Re: Why doesn't ActionForm's constructor have access to HttpServletRequest?

2004-02-03 Thread Michael McGrady
I think you really want something other than an ActionForm if you want to do this. Why anyone would use an ActionForm to do this makes no sense to me. If you want the request object, then it is in the Action. That is where it should be. At 06:59 PM 2/2/2004, Martin Cooper wrote: I can't

Re: Why doesn't ActionForm's constructor have access to HttpServletRequest?

2004-02-03 Thread Michael McGrady
At the moment, I'm in a quandry. I see no way to usefully use nested form beans to encapsulate administrable users in my web app without somehow getting a hold of a list of objects representing those administrable users from the session context of the user who's administering them (the list's

Re: Struts and Pajes

2004-02-03 Thread Michael McGrady
Struts is not the presentation tools so you are fine. You can use any presentation, or even none. I do a lot of tunneling things with struts, including serving images with Action classes. Your question is not clear to me? You seem to be conflating mapping (control) and view (presentation)

[OT] Ted Husted

2004-02-03 Thread Michael McGrady
Hi, Ted, 'Hope this is appropriate. I have not received the copy of JUnit you were sending me on the drawing. Don't want to appear ungrateful, but it has been a while. Thanks. Michael McGrady - To unsubscribe, e-mail

Re: img tag with action as src

2004-02-03 Thread Michael McGrady
At 10:13 AM 2/3/2004, Greg Blomquist wrote: I apologize in advance if this question has already been answered somewhere. Looks like basebeans is down so I can't search the struts-user archives. I'm trying to do the following: img src=/some/dir/myAction.do The only problem is that it doesn't like

Re: img tag with action as src

2004-02-03 Thread Michael McGrady
I think I posted the code that works for my application that does this. Are you returning null with your action? At 03:47 PM 2/3/2004, you wrote: Were are attempting to do the same thing. (Have an action return an image) everything works great but we have the following error in the server

Re: folder structure

2004-02-02 Thread Michael McGrady
At 08:32 AM 2/2/2004, Namasivayam, Sudhakar (Cognizant) wrote: Hi all, i just wanted to know whethe i can store images outside the webapp and access them in my jsp. You can store them on another machine, if you like. The images are downloaded separate from the text for the page.

Re: What does do stand for in .do files

2004-02-01 Thread Michael McGrady
Yup. As several people have said, myself included, the do is purely conventional and has no import at all. If you look at my post, I said I use my name instead of do. You merely have to do something to allow the framework to know that you want it to forward the request to a servlet which

Re: What does do stand for in .do files

2004-02-01 Thread Michael McGrady
Otavio, this is not a struts thing. This is a servlets thing. Struts uses it to forward a request from the server to the ActionServlet, but that has NOTHING to do with Struts. This is purely an issue having to do with servlets and you should read something on servlets. Any book on servlets

Re: Capturing Previous Action Request

2004-02-01 Thread Michael McGrady
At 01:57 PM 2/1/2004, you wrote: I am working on a work-flow web app and need to provide the user with the ability to navigate back to their previous page by the use of a back button within the web app not the browser's back button. How can I capture the action mapping that was processed

Re: Capturing Previous Action Request

2004-02-01 Thread Michael McGrady
Sorry, David, I did not clean up that code. Here is a cleaner version to think on: public interface Command {} public interface Do extends Command {} public final class Redo implements Command {} public final class Undo implements Command {} public class UndoableList { private int

Re: request attributes and failed validation

2004-01-31 Thread Michael McGrady
One way is to put them temporarily in the session. But, why not just do it again? Is it too slow? At 11:28 PM 1/30/2004, you wrote: In my Action I am populating an ActionForm with data from a database. I am also setting some additional request attributes with Lists of beans. The purpose of

  1   2   >