RE: multiple sub projects

2002-09-06 Thread Thinh Doan
I'm about to try the sub-app fetures now with 1.1b2. Based on what I gathered, I could put all the sub-app jsps, images, templates, javascript, styles under the sub-app folder like this: /myapp /default_templates /default_images /default_styles ... /mod1

sub-app switch

2002-09-06 Thread Thinh Doan
Mailing List; [EMAIL PROTECTED] Subject: RE: Struts architecture performance On Tue, 13 Aug 2002, Thinh Doan wrote: Date: Tue, 13 Aug 2002 22:19:24 -0500 From: Thinh Doan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing

RE: multiple sub projects

2002-09-06 Thread Thinh Doan
with the current sub-application. Craig, is this being implemented? Julio Cesar SOFTSITE Tecnologia Fortaleza, CE, Brasil http://www.softsite.com.br -Mensagem original- De: Thinh Doan [mailto:[EMAIL PROTECTED]] Enviada em: sexta

RE: Struts architecture performance

2002-08-13 Thread Thinh Doan
Craig, you can now divide a monolithic Struts based application into sub-applications (they are going to end up being called application modules), each with its own struts-config.xml file. Do you have additional info. on how to setup sub-apps with multiple struts-configs in 1.1b2? Thank you,

Can't find logonAction?

2002-07-08 Thread Thinh Doan
Hi, My app often locks up and tomcat logs indicated that it's trying to find (instantiate) the logonAction. It had previously found the logonForm however. The status bar on the browser showed the jsessionid generated. The app was running fine before this condition occured. Any clues on what

jsp/tomcat croaks on too many html:text

2002-06-10 Thread Thinh Doan
I had a jsp with about 70 html:text.../ input fields. At about 60 fields or so, tomcat (4.0.3 on Win NT) died. Does anyone know what the reason might be? I changed the page buffer and it did not help. Thanks for your help. THinh PS: each html:text.../ has an accompanied label using

RE: jsp/tomcat croaks on too many html:text

2002-06-10 Thread Thinh Doan
on too many html:text On Mon, 10 Jun 2002, Thinh Doan wrote: Date: Mon, 10 Jun 2002 19:03:41 -0500 From: Thinh Doan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Subject: jsp/tomcat croaks on too many

can't find webapp root?

2002-06-05 Thread Thinh Doan
I open a child window for form inputs and upon successful submit, I'd like to close this child window and also point the parent window to a specific page. I got 404 error but don't know how to fix it. Please give some hints. TIA, Thinh Code in close_window.jsp %@ taglib

RE: can't find webapp root?

2002-06-05 Thread Thinh Doan
: window.opener.location.href=jsp/home.jsp; -Dan Thinh Doan wrote: I open a child window for form inputs and upon successful submit, I'd like to close this child window and also point the parent window to a specific page. I got 404 error but don't know how to fix it. Please give some hints

RE: Child Support Payment system for the state of FLorida, Powered by Struts...

2002-06-04 Thread Thinh Doan
id/pwd given is bad. Thinh -Original Message- From: Michael Marrotte [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 1:32 PM To: [EMAIL PROTECTED] Subject: Child Support Payment system for the state of FLorida, Powered by Struts... My boss gave me the OK to give the Struts

forward to a url, possible?

2002-05-23 Thread Thinh Doan
In my LogoffAction, after finish doing the housekeeping, I'd like to forward to a url (http address), instead of a login page. Is it possible? Pls show a way. Thanks for your time help. Thinh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Can not forward error

2002-05-22 Thread Thinh Doan
In my action I have defined: String idxPage = /jsp/thankyou.jsp; and later in the code, based on error situation, I did a: return (new ActionForward(idxPage)); and got this error: - Root Cause - javax.servlet.jsp.JspException: java.lang.IllegalStateException: Cannot

RE: Can not forward error

2002-05-22 Thread Thinh Doan
Thanks Victor. It turned the appLogOn tag looked for couple objects in session and it was not there, accidently. Thinh -Original Message- From: Victor Hadianto [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 6:51 PM To: Struts Users Mailing List Subject: Re: Can not forward

RE: Struts Bug?

2002-05-18 Thread Thinh Doan
We've seen the same thing in 1.0.2. It was our bug. Watch out for using the image tag with any other javascript. It's submitting twice accordingly. Thinh -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 18, 2002 12:36 PM To: Struts (E-mail)

RE: bean:write returning null

2002-05-10 Thread Thinh Doan
Can you use logic:present ? Thinh -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 3:30 PM To: Struts (E-mail) Subject: bean:write returning null How are you guys testing for this in JSP? Mark De recta non tolerandum sunt. -- To

RE: NEWBIE HELP

2002-04-24 Thread Thinh Doan
Depends on how you'd want to setup your apps and environment, the Tomcat doc. is for a very simple configuration. The best treatment on the subject, imho, that I found so far on the web is: http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.jsp by Joseph Molnar April 17,

RE: Where is it best to populate default form bean collections et c?

2002-04-22 Thread Thinh Doan
We did it using an init servlet, run when the app gets loaded and stay in app. scope. Thinh -Original Message- From: Schneider, Eric [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 1:13 PM To: 'Struts Users Mailing List' Subject: RE: Where is it best to populate default form

RE: IDE for EJB2.0 development

2002-04-18 Thread Thinh Doan
Mark's company web site is using asp, lol. Thinh -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 12:26 PM To: 'Struts Users Mailing List' Subject: RE: IDE for EJB2.0 development Boy, it's going to be real hard to think up a thread

RE: /do/* instead of *.do in web.xml

2002-04-12 Thread Thinh Doan
works way better in what ways? Faster, easey code maintenance...? Thkx, Thinh -Original Message- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 7:20 PM To: Struts Users Mailing List Subject: RE: /do/* instead of *.do in web.xml All I use id

App hung on action

2002-04-08 Thread Thinh Doan
We have 2 webapps under the same tomcat setup. One app hung trying to logon and the last record in the log file indicated that it's looking for Action instance for class com.twjconsulting.app1.actions.LogonAction (the corect class). But apparently could not find and got lost somehow. Would you

RE: RES: JRun and struts problem worked out?

2002-04-04 Thread Thinh Doan
you should only need struts.jar in app/WEB-INF/lib. Thinh -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 8:30 AM To: Gilson Nascimento D Elrei Cc: Struts Users Mailing List Subject: Re: RES: JRun and struts problem worked out? Thanks

RE: Preview OReilly Struts Chapters Online - Soon

2002-03-28 Thread Thinh Doan
My vote: Chapter 13. Struts and Enterprise JavaBeans (EJB) Thank you, Thinh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 3:32 PM To: [EMAIL PROTECTED] Subject: Preview OReilly Struts Chapters Online - Soon It looks like I'm

RE: Need help - bean:define - Desparate

2002-03-10 Thread Thinh Doan
I'd try this: bean:define id=res name=nameofthisbeaninrequestscope class=SearchBrowseResults scope=request/ bean:define id=brNode name=res property=browseNode class=java.util.ArrayList/ then to get each brNode properties (if I understood correctly is an ArrayList), you do a logic:iterate

RE: Session Timeout?

2002-03-07 Thread Thinh Doan
this check? My understanding is that the container will take control and send the user directly to the login page with a new session in place (in the same way as a new user login would). -Michelle -Original Message- From: Thinh Doan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06

RE: Session Timeout?

2002-03-06 Thread Thinh Doan
The way we did it was checking an object (e.g. user) in session. If it's null, do errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(session.timeout)); (session.timeout is defined in your app resource properties) thenreturn (mapping.findForward(logout)); this logout fwd will

RE: EJB = bad = MS.net

2002-02-21 Thread Thinh Doan
I vote to keep this discussion going on here since 1) I don't want to subscribe to another mailing list, and 2) it's a natural progression for me to follow the MVC (Struts) framework/mindset. There are topics related to Struts here that I can't afford to read them all, perhaps EJBs could be one

RE: JSP size optimizations

2002-02-19 Thread Thinh Doan
Have you tried this? %@ page buffer=500kb autoFlush=false % Thinh -Original Message- From: Dave J Dandeneau [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 2:02 PM To: Struts Users Mailing List Subject: RE: JSP size optimizations Actually we have it the other way around...

RE: Want to check user is logged in every page server]

2002-02-13 Thread Thinh Doan
Regis, Would you please give some code example on how you extended the ActionServlet on how you did it? Thanks, Thinh -Original Message- From: RĂ©gis Melo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:22 AM To: 'Struts Users Mailing List' Subject: RES: Want to check

RE: Initializer servlet?

2002-02-08 Thread Thinh Doan
try: servlet servlet-nameInitialization/servlet-name servlet-classcom.yourcompany.InitializationServlet/servlet-class load-on-startup2/load-on-startup /servlet Thinh -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002

RE: OReilly Struts book

2002-01-27 Thread Thinh Doan
Very good TOC, Chuck! Personally, I'd like more focus on Struts 1.1 (since I've been using 1.0 for a while now) and EJB. Also, a chapter on development environment, like JDeveloper, JBuilder, Forte, etc. w/ Struts, brief performance analysis on using Struts w/ Tomcat, JRun, WebLogic, WebSphere

RE: OReilly Struts book

2002-01-27 Thread Thinh Doan
Well if you have to add log statements in the code to trace debug, I'd call the old Fortran method. The new way would be able to use the IDE to step, use breakpoints, and display variables etc... Any tools that can provide these facilities would be of great help in general. If you can just

Browser timed-out while action still going on

2002-01-04 Thread Thinh Doan
Hello everyone, I have a file upload process that could take up to 1 hour to finish. It always returns some ActionErrors to the input page when done. I have the following questions: 1) I observed that the browser timed-out and return to the input page but the upload process still running in

RE: Files download

2001-12-17 Thread Thinh Doan
Thanks Daniel. Almost missed it. Will give it a try and let you know. Thinh -Original Message- From: Daniel WAMARA 2 [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 2:54 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Files download I know none but I made

Files download

2001-12-11 Thread Thinh Doan
I've seen discussions and examples on file upload. They were very helpful. Thank you. And now for the return trip, are there any examples out there for files download? Appreciate any suggestions and examples. Thank you, Thinh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Seeking Know-How Advice: How Do I Implement Pop-up Error Windows With Struts

2001-12-10 Thread Thinh Doan
Adam S. Grohs had also contributed source code in the past to implement this sort of things. Pls check-out archive. Thinh -Original Message- From: Prengaman.Karen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 1:00 PM To: 'Struts Users Mailing List' Subject: RE: Seeking

Application root in javascript

2001-12-05 Thread Thinh Doan
In my app., I have a link (a... tag) to call a javascript to open a child window: function openit(myjsp) { winprops = 'scrollbars,resizable,menubar'; win = window.open(myjsp, 'childwin', winprops); } The problem I have is window.open takes myjsp from its current path, eventhough

RE: check for null collection

2001-11-29 Thread Thinh Doan
/ logic:equal name=numReports value=0 pNo reports available./p /logic:equal -Original Message- From: Thinh Doan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 2:53 PM

RE: check for null collection

2001-11-29 Thread Thinh Doan
Thanks Joey, I got it working. bean:size.../ does the trick. Thinh -Original Message- From: Joey Gibson [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 2:33 PM To: [EMAIL PROTECTED] Subject: Re: check for null collection If the collection is truly null, then

check for null collection

2001-11-28 Thread Thinh Doan
I've defined the following collection but don't know how to use the logic tag to check if it contains no data to display appropriate message: logic:present name=MEMBERS scope=request bean:define id=myArray name=MEMBERS type=java.util.TreeSet scope=request/ logic:iterate id=member

RE: What are the 5 optional args in Bean Message Tag for

2001-11-20 Thread Thinh Doan
How do you set these 5 arguments in the Action? Thanks, Thinh -Original Message- From: Trever M. Shick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 10:07 PM To: Struts Users Mailing List Subject: Re: What are the 5 optional args in Bean Message Tag for They are used

Problems with the # of form fields in IE 5.5

2001-11-01 Thread Thinh Doan
If we had a form bean with more than 16 fields, after submit, action ran and IE 5.5 croaked with 404 error when doing a forward success to another *.do. NS 6.1 did not have the same problem. Error from IE 5.5: The page cannot be displayed The page you are looking for is currently unavailable.

RE: Problems with the # of form fields in IE 5.5

2001-11-01 Thread Thinh Doan
certain amount of data to the server while Post method has no such limitation. Sarveswara Rao -Original Message- From: Thinh Doan [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 1:21 PM To: Struts-User Cc: Todd Voirol Subject: Problems with the # of form fields in IE 5.5 If we

RE: how to bean:define for a static method

2001-10-25 Thread Thinh Doan
That's exactly what I had to do. Thank you. Thinh -Original Message-From: John Yu [mailto:[EMAIL PROTECTED]]Sent: Thursday, October 25, 2001 1:21 AMTo: [EMAIL PROTECTED]Subject: Re: how to bean:define for a static methodAny particular reason you have to use static

how to bean:define for a static method

2001-10-24 Thread Thinh Doan
I'd like to retrieve an ArrayList from a public static method (getMyArray) in class A to iterate through this ArrayList in my jsp. An instance of this class A is saved in session scope after successful login. in class A: public static ArrayList getMyArray(A a) { //

How to stop form submit on javascript error?

2001-10-18 Thread Thinh Doan
How do you stop the form from being submitted if a javascript error, which was called from the html:form onsubmit..., occurs. I get an error and I say ok and the javascript tries to put focus on the field which is causing the error, but the form still submits to the action class. Here is some

RE: How to stop form submit on javascript error?

2001-10-18 Thread Thinh Doan
have a trim function in my javascript arsenal that I call before I do checking for any specific fields - this trims white space. Let me know if you're interested, and I can send the function. Matt --- Thinh Doan [EMAIL PROTECTED] wrote: How do you stop the form from being submitted

RE: Dynamically changing template and template source on a Master JSP page

2001-10-03 Thread Thinh Doan
I had the same need and was thinking about doing this: template:insert template='%=session.userTemplate%' the sesion var will be set upon successful login. Might work. Thinh -Original Message- From: Minh Tran [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 12:46 PM To:

RE: messages resource-file

2001-10-03 Thread Thinh Doan
init params are application context variables. Test in jsp first as follows: %=application.getInitParameter("xyz")% T. -Original Message-From: Christophe Marchand [mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 03, 2001 12:51 PMTo: [EMAIL PROTECTED]Subject: Re:

RE: New professional STRUTS website

2001-10-01 Thread Thinh Doan
For me I'm curious if you use html:errors (ActionErrors) at all? More specifically, how did you pop up the singin error on another window instead of on the same window if html:errors were used? Nice site, thanks for sharing. Thinh -Original Message-From: Adam Grohs

RE: Use an image for submit button

2001-09-27 Thread Thinh Doan
, September 27, 2001 9:01 AM To: [EMAIL PROTECTED] Subject: Re: Use an image for submit button Thinh Doan wrote: I'd like to replace the following with an image instead of a button: html:submit property=submit value=Login styleClass=verdanaCAPCopy/ I just learned this the other day myself

Use an image for submit button

2001-09-26 Thread Thinh Doan
I'd like to replace the following with an image instead of a button: html:submit property=submit value=Login styleClass=verdanaCAPCopy/ Is there a way to do it? In html, it's a...img.../a Thank you for your response. Thinh

Pls comment on template application

2001-09-25 Thread Thinh Doan
I have 3 different templates (tempA.jsp, tempB.jsp and tempC.jsp). Depends on the user profile after they login, a session attribute will be set, e.g. session.setAttribute(user_template, template), to indicate which template to be used. I'd like to get some ideas on how to switch between these

RE: Navigation history

2001-09-21 Thread Thinh Doan
crumbs. There are a variety of details and complexities that are left out of this description, such as how you determine whether to push to, or pop from the stack, the exact text to display for each bread crumb, etc. However, the general idea is represented. On Thu, 20 September 2001, Thinh Doan wrote

remove obsolete form bean

2001-09-21 Thread Thinh Doan
In the Struts example, the class LogonAction has the following code (probably written by Craig McClanahan): // Remove the obsolete form bean if (mapping.getAttribute() != null) { if (request.equals(mapping.getScope()))

RE: style class not rendered for errors

2001-09-21 Thread Thinh Doan
them in the properties file? 2) if, instead of a linked style sheet, you put the style definition directly in the JSP, do you have the same result? Bill Thinh Doan wrote: The following setting for error display did not seem to affect eventhough the jsp that contains html:errors/ does link

RE: Parse Error in JRun 3.1

2001-09-21 Thread Thinh Doan
try html:html locale=%=true% Thinh -Original Message- From: Steve Taylor [mailto:[EMAIL PROTECTED]] Sent: Friday, September 21, 2001 5:28 PM To: Struts-User (E-mail) Subject: Parse Error in JRun 3.1 I've run into an error message after deploying a Struts app into JRun 3.1. It works

Navigation history

2001-09-20 Thread Thinh Doan
Would you please give me some ideas on how to implement a bread crumb scheme to keep track of where the user has been navigated around the application? Each menu has been implemented with a html:link with a forward name in the global-forwards definitions in struts-config.xml. I'm planning to

style class not rendered for errors

2001-09-20 Thread Thinh Doan
The following setting for error display did not seem to affect eventhough the jsp that contains html:errors/ does link in the style sheet. ANy idea why this is so? Thank you for your response. Thinh in ApplicationResources.properties: errors.header=hrspan class=errorErrors:ul

template usage for vertical and horizontal menu

2001-09-17 Thread Thinh Doan
My question is at the end of the msg after I present the background. Thx. I'd like to create 2 templates: one with the menu on the left side and one with the menu on top horizontally. e.g 1) template_v.jsp %@ taglib uri='/WEB-INF/tlds/template.tld' prefix='template' % htmlheadtitletemplate:get

RE: Dynamic Form Beans?

2001-08-29 Thread Thinh Doan
I heard Struts 1.1 will address this issue. In the mean time, I too am interested to a working solution. Thanks, Thinh -Original Message- From: Luis Olivares [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 1:28 PM To: [EMAIL PROTECTED] Subject: Re: Dynamic Form Beans? I

test for presence of struts.action.MESSAGE

2001-08-29 Thread Thinh Doan
Please explain the following lines that came from index.jsp of the struts example app. Specifically what is it checking? Is it ApplicationResources.properties? logic:notPresent name=org.apache.struts.action.MESSAGE scope=application font color=red ERROR: Application resources not loaded

RE: Tomcat 4.0b7 and struts-example webapp

2001-08-29 Thread Thinh Doan
I got this same error running under Jrun. Look into web.xml and make sure struts stuff is there (tlds etc..) T. -Original Message- From: Ian Kallen [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 4:17 PM To: [EMAIL PROTECTED] Subject: Tomcat 4.0b7 and

RE: ApplicationResources.properties

2001-08-28 Thread Thinh Doan
You got to recompile everything and put in the correct directory. In my case, applicationresources.properties is under web-inf/classes. T. -Original Message- From: Peter Georgiou [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 4:03 AM To: [EMAIL PROTECTED] Subject: Re:

Cannot retrieve mapping for action /logon

2001-08-27 Thread Thinh Doan
As a newbie to Struts, I tried to duplicate the logon example from bluestone and I got the above error. This is my struts-config.xml ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN