RE: dynamic form

2004-01-16 Thread Trieu, Danny
Use indices properties... Danny Trieu Internet Business Group Downey Savings and Loan Association, F.A. [EMAIL PROTECTED] (949) 509-4564 "The beginning of knowledge is the discovery of something we do not understand." - Frank Herbert (1920-1986) "The essence of knowledge is, having it, to appl

RE: Tag for adding no-cache header.

2003-12-10 Thread Trieu, Danny
If I remember correctly, I think the request processor did exactly what you did on 2. And I think (1) approach is better and it consistent with MVC. Just make sure that all of your request will go through the FrontController then all of your response will have it header set with no-cache. --danny

RE: getServletContext() throws null pointer

2003-12-10 Thread Trieu, Danny
Constructor is the answer to your problem. There are no guarantee that the servlet that set the data will be loaded before the servlet that accessing it. Danny Trieu Internet Business Group Downey Savings and Loan Association, F.A. [EMAIL PROTECTED] (949) 509-4564 "The beginning of knowledge

RE: PlugIn Scheduler

2003-12-10 Thread Trieu, Danny
Huh, I don't know if managing your own Thread is recommended by container. Is there another way around this? Like JMX or implement the service action and have a Demom periodically ping that service action to execute the intense action? -danny Danny Trieu Internet Business Group Downey Savings

RE: When HashMap will replace ActionForm ?

2003-12-10 Thread Trieu, Danny
I don't want to offense any one, and all though HashMap or DynaWhatever are convenience, but isn't it anti OO? Meaning there are no type checking, and you are just passing a bag of chunk around? Danny Trieu Internet Business Group Downey Savings and Loan Association, F.A. [EMAIL PROTECTED] "T

RE: Tag for adding no-cache header.

2003-12-10 Thread Trieu, Danny
In your deployment descriptor, web.xml, you can can set the ActionServlet's parameter no-cache=true. The container will take care of this for you as long as all of your request go through the FrontController. Danny Trieu Internet Business Group Downey Savings and Loan Association, F.A. [EMAIL

RE: session.invalidate() throws exception.

2003-12-10 Thread Trieu, Danny
Usually, it is a bad idea to do these thing inside a JSP(or View). Front Controller is where you want to do all these tuff. Sure, you can query the session object before you invalidate its or just try/catch IlligalStateException and ignore it. Danny Trieu Internet Business Group Downey Savings

RE: Popular We Hosting....???

2003-12-04 Thread Trieu, Danny
h?q=java+web+hosting -Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 11:26 AM To: [EMAIL PROTECTED] Subject: Popular We Hosting??? Hi all, Do you know of a popular webhosting that host Java's WebApps? Thanks, --danny Dann

Popular We Hosting....???

2003-12-04 Thread Trieu, Danny
Hi all, Do you know of a popular webhosting that host Java's WebApps? Thanks, --danny Danny Trieu Internet Business Group Downey Savings and Loan Association, F.A. [EMAIL PROTECTED] (949) 509-4564 "The beginning of knowledge is the discovery of something we do not understand." - Frank H

RE: problem

2003-11-25 Thread Trieu, Danny
My guess is, you are using Weblogic8 which has problem with its jsp engine. Don't know if the fix it yet, but for short you might have to change your jsp from: To... Danny Trieu Internet Business Group Downey Savings and Loan Association, F.A. [EMAIL PROTECTED] (949) 509-4564 "The beginni

RE: [Poll] Action Form data types

2003-10-14 Thread Trieu, Danny
#1 Danny Trieu Internet Business Group Downey Savings and Loan Association, F.A. [EMAIL PROTECTED] (949) 509-4564 "The beginning of knowledge is the discovery of something we do not understand." - Frank Herbert (1920-1986) -Original Message- From: Daniel Haynes [mailto:[EMAIL PROTE

RE: using an attribute inside a tile

2003-10-07 Thread Trieu, Danny
Or you can use Tiles' tags to redefine it to You prefer scope -Original Message- From: Frank Maritato [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 1:54 PM To: Struts Users Mailing List Subject: Re: using an attribute inside a tile I just recently posted a question about th

struts-user@jakarta.apache.org

2003-09-22 Thread Trieu, Danny
Hi all, I got: "cannot resolve symbol" When trying to define: And later access using Runtime Expression: The actual output: D:\opt\weblogicapps\ecommerce\.\.tmp_jsp_store\jsp_servlet\_loanorig_jsp\_mo difymoredata\_optiontable\__tablecell.java:281: cannot resolve symbol symbol : variable b

RE: InvalidClassException....

2003-09-17 Thread Trieu, Danny
version of the class. The failover node is trying to deserialize a class that was serialized on the original node as a different version of the same class. Steve - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List&

InvalidClassException....

2003-09-17 Thread Trieu, Danny
Hi All, I have an ActionForm that has a FormFile attribute used for fileupload. I had the attribute marked as transient so that the ActionForm can be serializable and replicate in a cluster environment. However, the out come is not what I am expected, it throws InvalidClassException. Does anyon

RE: Fail over: ActionForm's FormFile attribute is null .....(Weblogic8.1 cluster)...

2003-09-17 Thread Trieu, Danny
Thanks all, With the help from my friend Steve Ditlinger(sslext), I undterstood the problem. It is the same reason why File is not serializable Thanks all, --danny -Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 9:01 AM To

RE: Fail over: ActionForm's FormFile attribute is null .....(Weblogic8.1 cluster)...

2003-09-17 Thread Trieu, Danny
ver during file uploads? If so, can you describe how it is configured? we are trying to provide this functionality... thanks, daniel - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 8:29 AM Subj

Fail over: ActionForm's FormFile attribute is null .....(Weblogic8.1 cluster)...

2003-09-17 Thread Trieu, Danny
Hi all, I have an ActionForm used for fileupload that has an attribute of type FormFile, that become null after a file being uploaded and on the failover machine in our cluster environment it become null and throw a NullpointerException. Does anyone know how this can be fix? Thanks, --danny T

RE: Prevent URL requested directly from browser

2003-09-10 Thread Trieu, Danny
Transaction Token will help, but it will not do everything you want to do. Max is right, this is the nature of Web application. Even with Transaction Token user, if he has a copy of the token, can still create request and hit your app without the app knowing about. Plus, not every resource in you

RE: Struts 1.0 problem

2003-09-08 Thread Trieu, Danny
You want to make sure that formBean you compiled has only the simple bean class itself and nothing more, i.e. there is no other BeanInfo class compile with it. This once time my co-worker accidentally hit some bean wizard in Jbuilder and it generate some BeanInfo class that get compiled and he has

RE: suggestion needed

2003-08-25 Thread Trieu, Danny
Have you try Ted's website? http://husted.com/struts/index.html -Original Message- From: Raju BSN [mailto:[EMAIL PROTECTED] Sent: Sunday, August 24, 2003 11:00 PM To: Struts Users Mailing List Subject: suggestion needed Hi, I'm a new bee to struts. I have tried some examples and no

Struts1.0-Multiple SubApp Implementation (or Multiple ActionServlet or Multiple Servlet Mapping)

2003-06-24 Thread Trieu, Danny
Hi All, Does anyone have or still have the source code extension of Struts1.0 that allow you to define multiple servlet instance with different mapping that I can have? Any help is greatly appreciated. Thanks, --danny This message and any attachments are for the intended recipient(s) only an

RE: [Tiles Beginner Question] Href & Tile Definitions

2003-06-09 Thread Trieu, Danny
Here is how you should do it: ... .. Your.jsp -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 5:07 PM To: [EMAIL PROTECTED] Subject: [Tiles Beginner Question] Href & Tile Definitions I've successfully got tiles up and

RE: Request Attributes + Iframe

2003-03-24 Thread Trieu, Danny
for me though. Perhaps because it is sequential...the first request will always be finished prior to the second request being called (that is, in the iframe scenario). Do you see any other way to do it? -Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED] Sent: Monday, March 24

RE: Request Attributes + Iframe

2003-03-24 Thread Trieu, Danny
Wait a minute, You are putting something into the request and do a sendredirect afterward to a JSP. This mean whatever you put in the request is lost when your new request get to your JSP. -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 5:43 AM

RE: Form not populating from post to struts.

2003-03-24 Thread Trieu, Danny
Jsessionid is being generated by the tag. The problem is in your form bean implementation of the indexed property named 'signals'. In your form bean you didn't implement your 'signals' property as indexed property correctly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

RE: Synch Token and DispatchActions

2003-03-04 Thread Trieu, Danny
On your update(...) method you shouldn't call saveToken before you validate your token. What this does is update the current session with a new token, so the token you submitted with your from will not match the new one in the session. danny -Original Message- From: Dave Patton [mailto

RE: how old is struts

2003-02-21 Thread Trieu, Danny
I started looking into Struts about 2yrs ago, and it was about 6mons old since Craig donated it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:34 PM To: [EMAIL PROTECTED] Subject: how old is struts Craig, Since you are one of

RE: Wanted a Good Struts Book

2003-01-07 Thread Trieu, Danny
Either the orielly or manning book is good. Or you can buy them both -Original Message- From: Alok Pota [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 4:16 PM To: [EMAIL PROTECTED] Subject: Wanted a Good Struts Book I am about to wrap up for the day and head out to a bookst

RE: Pros and Cons of using Static classes with struts

2002-12-31 Thread Trieu, Danny
Can you be more specific on how your static class will be uses? -Original Message- From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 2002 6:25 AM To: '[EMAIL PROTECTED]' Subject: Pros and Cons of using Static classes with struts Can someone please tell me

RE: Will Tiles hold its future with JSF?....

2002-12-05 Thread Trieu, Danny
s inventor) is working on a standard templating feature that may be part of JSF. I'm short on the details so I'll let someone more knowledgable fill them in. Until then, I'm perfectly happy using Tiles :-). David >From: "Trieu, Danny" <[EMAIL PROTECTED]> &g

Will Tiles hold its future with JSF?....

2002-12-05 Thread Trieu, Danny
Does anyone if Tiles exist with JSF? Or there will something that will replace Tiles. danny

RE: RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread Trieu, Danny
Chuck, I've got my copy from amazon yesterday. Well done Chuck ... -Original Message- From: Chuck Cavaness [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 1:40 PM To: Struts Users Mailing List Subject: Re: RE: [ANNOUNCE] O'Reilly Struts Book Now Available I'm sorry the copy

RE: Howto handle this behavior in Struts+Tiles

2002-11-19 Thread Trieu, Danny
let me try it again today and see if we have some how fix the primary problem of Exceptions thrown from JSP scriptlet. Otherwise, I think we have achieved quite good results yesterday. ATTA - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
;t catch it and the stack trace is shown in the browser window! - Original Message ----- From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 4:10 PM Subject: RE: Howto handle thi

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
s redirect user to an error page. this cool. but the real reason I asked this question is still there. how do I handle a exception that is thrown out of scriptlet from a JSP page that is one tile in the layout? did I miss something along the way? ATTA - Original Message ----- From: "Trieu,

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
, for your help and patience! Regards, ATTA - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 2:30 PM Subject: RE: Howto handle this behavior in

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
that we could through exceptions other than the ones perform(...) could throw? is it correct? ATTA - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 2:05

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
of Action class? So, am I completely lost? I hope you won't mind my simplistic questions!!! ATTA - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, November 18,

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
o you! thanks. by the way, do you if this feature is available thru servlet 2.2 specs? ATTA - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 11:5

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
king this because we are running ServletExec 3.1 that is compliant to Servlet 2.2 only. Thanks. ATTA - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, November 18, 2

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
owards some starting points. Thanks again. ATTA - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Cc: "Mebed, Waheed" <[EMAIL PROTECTED]> Sent: Monday, November 18, 2

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
Hello, Usually exception that being thrown by the VIEW(JSP) are rendering related exception. This could be tags/Scriptlet that access resource, JavaBeans, fails. Meaning the Resource is not there. And when these thing happen with composite view thing became A bit tricky. First of all, within th

RE: How to Redirect ???

2002-11-18 Thread Trieu, Danny
Isn't there is a contextrelative attribute in the tag where you can set to 'true'? -Original Message- From: wolfgang [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 8:15 AM To: [EMAIL PROTECTED] Subject: How to Redirect ??? Hi there, I wanna make users redirect(not forward

RE: Action takes long time to complete

2002-11-13 Thread Trieu, Danny
Have your action forward to a JSP page that in the end of the JSP it render a JavaScript that will do the submit to the action that take long time to finish. Usually the JSP that render the javaScript will have some sort flash images that the user look at while waiting for the action complete it p

RE: [Tiles]TilesAction and contents changing dynamically

2002-11-08 Thread Trieu, Danny
inition.I will try it,to find that the other part of the jsp can contain their status or just return to their default status. Anyway,thanks a lot. Thomas.W >From: "Trieu, Danny" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]&g

RE: How to figure out the caller of in a Tiles JSP file?

2002-11-08 Thread Trieu, Danny
I don't think this is the right way for you todo. Here is what I think you should do. Have your JSP required a Tiles's parammeter, and from all the page that include your JSP Have them pass a param indicate where they are coming from. Or, determine all the pages That need to include your JSP, cre

RE: back button

2002-11-07 Thread Trieu, Danny
/save stuff > } > else if("validate".equals(request.getParameter("action"))) > { >saveToken(request);//validate stuff > > } > > any inside will be very helpful > > thanks > gus > Trieu, Danny wrote: > >> No-cache setti

RE: [Tiles]TilesAction and contents changing dynamically

2002-11-07 Thread Trieu, Danny
Sure you can -Original Message- From: yoko hama [mailto:myohott@;hotmail.com] Sent: Wednesday, November 06, 2002 6:52 PM To: [EMAIL PROTECTED] Subject: [Tiles]TilesAction and contents changing dynamically Hi,guys. I am a newbie to struts and tiles. I wonder how can i get a part of

RE: [Tiles] Tiles vs. Custom Tag - anyone have a view?

2002-11-07 Thread Trieu, Danny
If Hue was to use Tiles' definition, then much more flexible. My preference is To use Tiles in this case. Of course, when performance become an issues then you Might want to consider other approach, and this could be using tags. Or, use Fragmented-cache, I mean using cache tags to prevent Tiles

RE: Final release for Struts 1.1

2002-11-06 Thread Trieu, Danny
Hehe... I don't know about that, but I know no one holding you back from using Struts... -Original Message- From: Struts One [mailto:struts_1@;hotmail.com] Sent: Wednesday, November 06, 2002 8:44 AM To: [EMAIL PROTECTED] Subject: Re: Final release for Struts 1.1 >> >>I always thought t

RE: [Vote] Wouldn't it be nice to have a testing framework like S trut sTestCase as part of the Struts distribution?

2002-11-01 Thread Trieu, Danny
t of the Struts distribution? JUnit? -Original Message----- From: Trieu, Danny [mailto:DTrieu@;downeysavings.com] Sent: Thursday, October 31, 2002 12:57 PM I just want to know what do you think of having some sort of testing framwork like StrutsTestCase, a Cactus extension, as part of Strut

[Vote] Wouldn't it be nice to have a testing framework like StrutsTestCase as part of the Struts distribution?

2002-10-31 Thread Trieu, Danny
Hi all, I just want to know what do you think of having some sort of testing framwork like StrutsTestCase, a Cactus extension, as part of Struts' distribution. Thanks, danny

RE: back button

2002-10-30 Thread Trieu, Danny
n the controller to no-cache part? Trieu, Danny wrote: >Use transaction token to guaranty your transaction. And don't forget >To set your controller to no-cache. > >-Original Message- >From: David Graham [mailto:dgraham1980@;hotmail.com] >Sent: Wednesday, October

RE: back button

2002-10-30 Thread Trieu, Danny
Use transaction token to guaranty your transaction. And don't forget To set your controller to no-cache. -Original Message- From: David Graham [mailto:dgraham1980@;hotmail.com] Sent: Wednesday, October 30, 2002 7:29 AM To: [EMAIL PROTECTED] Subject: Re: back button That is an absolutel

RE: NEED HELP with Customised Struts Exception Handling

2002-10-24 Thread Trieu, Danny
First of all you need to implement the execute method and let the exception throws out of your methods And here is the config for your exception to handle the handler exception -Original Message- From: Gudla, Madhuri [mailto:MGudla@;americanaships.com] Sent: Thursday, October 24

RE: Problem with scriplet inside tag attribute. (struts-layout)

2002-10-23 Thread Trieu, Danny
Look at you tld file. You need to allow RE for attribute key. danny -Original Message- From: Emmanuel Boudrant [mailto:b7st@;yahoo.fr] Sent: Wednesday, October 23, 2002 8:28 AM To: [EMAIL PROTECTED] Subject: Problem with scriplet inside tag attribute. (struts-layout) Hi, I've got a p

RE: [TILES] Problem using struts actions in tile's template

2002-10-23 Thread Trieu, Danny
Think of the template.jsp is the servlet that currently running, and rendering text in response to the broser. Your other section on the template.jsp, the content and the header, do a dynamic include which in result as a forward to the intented jsp. We all know that once the server start writing

RE: Changing focus in case of errors

2002-10-18 Thread Trieu, Danny
User tag -Original Message- From: Podhigai Thendral [mailto:pisthu@;rediffmail.com] Sent: Thursday, October 17, 2002 5:09 AM To: [EMAIL PROTECTED] Subject: Changing focus in case of errors Hi all, In case of errors in form validation, I am able to get them displayed using . Is t

RE: Link tag and jsp expressions

2002-10-15 Thread Trieu, Danny
Use paramName and paramProperty to pass in param. -Original Message- From: Marcus Andersson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 7:59 AM To: '[EMAIL PROTECTED]' Subject: Link tag and jsp expressions Hello I want to the following: <%=project.getName ()%> When thi

RE: How do I use properly?

2002-10-15 Thread Trieu, Danny
By default get its messages as errors messages. That is why you have no messages display. There is an attribute messages in the messages tag that needed to set to 'true' then you will get your message from the message chanel. danny -Original Message- From: Eu Hin Chua [mailto:[EMAIL PR

RE: changing "action" for a form dynamically

2002-09-27 Thread Trieu, Danny
e there! What I meant by "scriptlet" was a runtime expression in JSP. -Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 23:17 To: 'Struts Users Mailing List' Subject: RE: changing "action" for a form dynamicall

RE: changing "action" for a form dynamically

2002-09-27 Thread Trieu, Danny
I would rather using Tiles to do the work then javaScript(j/k... JavaScript is evil). You can create a form layout that know how to config its action, and allow different definition using. In your action mapping you can have as many local forward mapping as you can for you action to returns or y

RE: Please help decide a religious discussion

2002-09-27 Thread Trieu, Danny
Drop down list data should be cached, if data is not updated dynamicly. With Struts, if you are using Tiles, you can created a drop down list components get the list data from cache via controller class. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, Septem

RE: Declarative exception handling

2002-09-26 Thread Trieu, Danny
No .. You can use Action.Globals.EXCEPTION_KEY to get it from the request .. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 2:52 PM To: 'Struts Users Mailing List' Subject: RE: Declarative exception handling I'm not certain, but

RE: Back Button Shown 'Page Expired' on IE ..... What really happens? ....

2002-09-10 Thread Trieu, Danny
n IE . What really happens? Hi, check if u have following lines in your html or following code in your jsp <%response.setHeader("Cache-Control","no-store");%> if yes, then it tells the browser that is should not load the page from cache and load a fresh page , an

Back Button Shown 'Page Expired' on IE ..... What really happens?....

2002-09-10 Thread Trieu, Danny
Browser diplay messages saying the page has been expired when I hit the back button after I submitted a form. Can someone point out what happens? Thanks, Danny.

RE: Executing code before each action

2002-09-10 Thread Trieu, Danny
Yes ... -Original Message- From: Brett [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 10:40 AM To: Struts Users Mailing List Subject: RE: Executing code before each action If I understand servlet filters correctly you mean I could simply set /* to go to my filter and the

RE: Executing code before each action

2002-09-10 Thread Trieu, Danny
In short, what you are doing is templating your action classes. This is good if it is a core service to the action class. Another alternative way is to use servlet filter, this is good because your action class to not need to know the default behavior, plus it doesn't need to since the action cl

RE: Executing code before each action

2002-09-10 Thread Trieu, Danny
Use servlet filter -Original Message- From: Brett [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 10:17 AM To: [EMAIL PROTECTED] Subject: Executing code before each action Hello, I have a piece of code than I need to execute before each action (it checks which country

RE: Help with master-details screens

2002-09-09 Thread Trieu, Danny
. How can I prevent URL of the detail page from showing on the master page? -Original Message----- From: Trieu, Danny [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 10:55 AM To: 'Struts Users Mailing List' Subject: RE: Help with master-details screens Use transaction t

RE: Help with master-details screens

2002-09-09 Thread Trieu, Danny
Use transaction token provided by the form tags. -Original Message- From: Hoang, Hai [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 8:53 AM To: 'struts-user' Subject: Help with master-details screens The user clicks on a link on the master page, which lead to a detail page

RE: [core] Architectural considerations

2002-09-05 Thread Trieu, Danny
It all be best to have a single entry for session data. However, if scalability is an issue, we all need to consider size of the Object being hook to the session. Size does matter when you apps run in a clustering enviornment. Of, replicating a small object at a time is always better the a whol

RE: Problems with sub-applications

2002-09-05 Thread Trieu, Danny
Where is your default app settings? -Original Message- From: Heiko Stoermer [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 7:15 AM To: [EMAIL PROTECTED] Subject: Problems with sub-applications Hello, we're using the latest snapshot of Struts 1.1 (jakarta-struts-2002090

RE: [LISTEN UP] Mailing List Usage

2002-08-30 Thread Trieu, Danny
Despite how humorous the [OT] subject are it end up in my trash before I can remember it. I am glad you brough this up, and hopefully it will ends here so I don't don't have to click on the delete button so many time during the day. danny -Original Message- From: Craig R. McClanahan [

RE: is it a bug?

2002-08-30 Thread Trieu, Danny
I think there is something wrong with Weblogic. I didn't have the problem you described, but my was not able to use the struts1.1b2 on weblogic7.0 at all. It keep complain about the servlet is not executable by the container because of some methods not implemented And it works fine on tomca

RE: action mapping question

2002-08-30 Thread Trieu, Danny
rom: Darren McGuinness [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 9:24 AM To: Struts Users Mailing List Subject: Re: action mapping question 1) I dont need a logoff form, but if i dont have one then i get errors of type: form bean null. 2) 1.0 "Trieu, Danny" wrote: &g

RE: action mapping question

2002-08-30 Thread Trieu, Danny
1) why would you need a logoff form? 2) what version of struts are you using? You don't have to have a form bean declare for an action mapping. The reason it throw the exception Because you have the input attribute setting. With this setting the controller makes assumsion that your mapping has

RE: [OT ARTICLE] JavaServer Faces on theserverside

2002-08-29 Thread Trieu, Danny
So who is the Spec Lead.. j/k -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:55 PM To: Struts Users Mailing List Subject: Re: [OT ARTICLE] JavaServer Faces on theserverside On Fri, 30 Aug 2002, Emmanuel Boudrant wrote:

RE: Confirmation prior to post

2002-08-29 Thread Trieu, Danny
Great, Before I found out about iframe I created hidden frame to do the work. danny -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 7:51 PM To: Struts Users Mailing List Subject: RE: Confirmation prior to post I saw an article about do

RE: confusion about view part!!!

2002-08-29 Thread Trieu, Danny
Amit, I've been using Struts/Tiles for quite sometime. They works well together. My only advice is stay away from frame and JavaScript that control the look&feel as much as possible(this doesn't mean you have to avoid using it). danny -Original Message- From: Amit Badheka [mailto:[EMA

RE: Setup globals per new session

2002-08-29 Thread Trieu, Danny
Implement the HttpSessionListener -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 7:56 AM To: [EMAIL PROTECTED] Subject: RE: Setup globals per new session Hello, You could have an index page that automatically redirects to a st

RE: Has anyone made Weblogic 7 work with Struts 1.1b2?

2002-08-26 Thread Trieu, Danny
I had the same problem too. Wonder if this is Weblogic class loader problem or it is b2 problem. -Original Message- From: Ananda Chaudhuri [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 25, 2002 4:11 PM To: [EMAIL PROTECTED] Subject: Has anyone made Weblogic 7 work with Struts 1.1b2?

RE: Is thare any way to make struts handle Exceptions thrown from ?

2002-08-21 Thread Trieu, Danny
Yes there is way. Use Web.xml's error-page mapping java.lang.Exception /errors/catchError.do And handle your exception declaratively in your struts-config.xml. Usually, I have this As a Sub-module that handles all the global and plugable exception handling so I can r

Any idea why Weblogic throw this: java.lang.NoSuchMethodError .. On my ActionServlet?

2002-08-20 Thread Trieu, Danny
<101018> <[ServletContext(id=8303299,name=onlinebanking,context-path=/onlin ebanking)] Servlet failed with ServletException javax.servlet.ServletException: [ServletContext(id=8303299,name=onlinebanking,context-path=/onlinebanking)]: Servlet cla ss org.apache.struts.action.ActionServlet for serv

RE: Config Tiles Plugins with Sub-Module....

2002-08-19 Thread Trieu, Danny
. The first tiles plugin called creates the Tiles factory. The others only set the appropriate request processor associated with the previously created factory. Cedric Trieu, Danny wrote: >Cedric, > >Working with Sub-Module evironment. Do you have to have the Tile >Plugins

is this a bug? (error-code 400 map to an Action result an infinite loop that kill the server)

2002-08-15 Thread Trieu, Danny
Hi all, I was using the TilesRequestProcessor, with 1.1b1. When I tried to map: 400 /test/errorHandler.do in my web.xml. My weblogic run into an infinite loop and crash. It works just find if I map it to a JSP/Html page. Is

is not working under sub-module for 1.1b2

2002-08-15 Thread Trieu, Danny
Does anyone have any idea why my setting in my config.xml sub-module is not working? I tried with the lastest build and it still not working at all... Thanks, Danny

Config Tiles Plugins with Sub-Module....

2002-08-15 Thread Trieu, Danny
Cedric, Working with Sub-Module evironment. Do you have to have the Tile Plugins setup within every Sub-module config.xml files? Can we just have it in the Default Sub-Module? Thanks, danny

RE: Local/Global Exception Handling: How do you specify ContextRe lati ve path(action's input) in the Sub-Apps' struts-config.xml

2002-08-14 Thread Trieu, Danny
like an normal forwardConfig. So, Tiles catch the exception forward and check for tiles definition name before struts do its forward. Cedric Craig R. McClanahan wrote: >On Tue, 13 Aug 2002, Trieu, Danny wrote: > > > >>Date: Tue, 13 Aug 2002 16:31:27 -0700 >>From: "

RE: Non-peer sub-apps (was RE: Local/Global Exception Handling: How d o you specify ContextRe lati ve path(action's input) in the Sub-Apps' str uts-config.xml)

2002-08-14 Thread Trieu, Danny
ease explain so we all can learn. > > Thanks Craig, > > danny > > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 13, 2002 5:21 PM > To: Struts Users Mailing List > Subject: RE: Local/Global Exception Handling:

RE: Local/Global Exception Handling: How do you specify ContextRe lati ve path(action's input) in the Sub-Apps' struts-config.xml

2002-08-14 Thread Trieu, Danny
onfig.xml On Tue, 13 Aug 2002, Trieu, Danny wrote: > Date: Tue, 13 Aug 2002 16:31:27 -0700 > From: "Trieu, Danny" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]&

RE: Local/Global Exception Handling: How do you specify ContextRelati ve path(action's input) in the Sub-Apps' struts-config.xml

2002-08-13 Thread Trieu, Danny
t: Tuesday, August 13, 2002 4:13 PM To: Struts Users Mailing List Subject: Re: Local/Global Exception Handling: How do you specify ContextRelati ve path(action's input) in the Sub-Apps' struts-config.xml On Tue, 13 Aug 2002, Trieu, Danny wrote: > Date: Tue, 13 Aug 2002 14:43:48 -070

Local/Global Exception Handling: How do you specify ContextRelative path(action's input) in the Sub-Apps' struts-config.xml

2002-08-13 Thread Trieu, Danny
Craig, Do you know how this can be done? Thanks, Danny

RE: Declarative Exception handling using the Tiles RequestProcesso an d the SubApp feature of Struts1.1

2002-08-13 Thread Trieu, Danny
Chuck, I just did that, and I understood what it was trying to do: I do have 'path' attribute declared for my exception, and it start with "/" like this: path="/errors/foo.jsp" And in the RequestProcessor.processActionForward(...) . } els

Declarative Exception handling with Sub-app - Path attribute is Sub-App(Sub-Module) relative and not Context Relative....( new feature?)

2002-08-13 Thread Trieu, Danny
with an ActionForward or at least be able to to declara whether the 'path' or 'input' attribute is contextRelative, just like how you declara an ActionForward. Any idea? Thanks, danny -Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED]] Sent: Tu

RE: Declarative Exception handling using the Tiles RequestProcesso an d the SubApp feature of Struts1.1

2002-08-13 Thread Trieu, Danny
Chuck, I am getting 404 with the 1.1b1. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 10:52 AM To: Struts Users Mailing List Subject: Re: Declarative Exception handling using the Tiles RequestProcesso an d the SubApp feature of Stru

Declarative Exception handling using the Tiles RequestProcesso and the SubApp feature of Struts1.1

2002-08-13 Thread Trieu, Danny
Chuck, What is your take on this? When I throw and Exception within and Action, Struts found my declared Exception alright. But it doesn't seems to find the path to the resource I declared. This happens in my SubApp, and I was using the Tiles Controller. Noticed, the path I defined for the Exc

With Tiles' RequestProcessor(). Declarative Exception handling couldn't find that to the resource for SubApp feature of 1.1

2002-08-13 Thread Trieu, Danny
Hi all, I am using Struts1.1b1. I config my app using the Tiles' RequestProcessor, and was using the SubApp and the local/global Exception handling features of Struts1.1. I've got a Resource not found page from the server. Does anyone experienced the same behavior? And Does anyone have a so

RequestProcessor.processForward( request, response, mapping ) ... has a bug when running sub-applications with Tiles...

2002-07-17 Thread Trieu, Danny
This might have been reported before, but if not I hope what I point is really a bug. Int the RequestProcessor.processForward( request, response, mapping ) { . String uri = appConfig.getPrefix() + forward ; } shouldn't you need to check if f

  1   2   >