SSL with Struts/Tomcat

2002-12-09 Thread Tuan H. Le
Hi, Sorry, I think this question is more related to Tomcat and F5 load balancer instead of Struts related topic. But, I'm hoping that some one on this group has done/configured a similar environment like we have and point me to a direction on how to solve our problem with HTTPS. We are using B

RE: html:multibox values not populated in the form bean

2002-12-03 Thread Tuan H. Le
I figured out one of my problems. Now, it calls the setter method in a form bean, but when it gets to the action class, the String[] variable for storing multibox selection is empty. Do you know what I'm missing? Thanks, Tuan > -Original Message- > From: Tuan H.

html:multibox values not populated in the form bean

2002-12-03 Thread Tuan H. Le
Hi, I'm having a problem that the setter method in the form bean does not get called when I submit an HTML form with a to an action class. I read some of previous related posts in the archives, but I couldn' t find a solution to this problem. Please advise on how to troubleshoot this problem.

RE: intermitten missing field value when submit to a Struts action????

2002-12-02 Thread Tuan H. Le
ing of method="post". We had this problem and later found that methd="post". Great possibility of overlooking this. -Original Message- From: Tuan H. Le [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 9:43 AM To: Struts Users Mailing List Subject: RE: intermit

RE: intermitten missing field value when submit to a Struts action????

2002-12-02 Thread Tuan H. Le
l.do?param=123"e=456 will become /someul.do?param=123"e=456. Might be something to do with that? -----Original Message- From: Tuan H. Le [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 3 December 2002 10:28 AM To: Struts Users Mailing List Subject: RE: intermitten missing field value

having a problem of passing the selected items to an action

2002-12-02 Thread Tuan H. Le
Hi, I'm having a problem of getting the selected checkbox values in my Struts action class. In the view, it has two multiboxes (approve and reject) and in my Struts form class I declared two String[] attributes to hold the selected checkbox values. But, when it gets to the action via html form

RE: intermitten missing field value when submit to a Struts action????

2002-12-02 Thread Tuan H. Le
List' Subject: RE: intermitten missing field value when submit to a Struts action This doesn't sound like a browser issue. I would look elsewhere. Edgar -Original Message----- From: Tuan H. Le [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 6:05 PM To: 'Struts U

intermitten missing field value when submit to a Struts action????

2002-12-02 Thread Tuan H. Le
Hi, Has any one experienced a problem that I'm having with hidden input text field? I have two different IE browser versions (5.5 and 6.0). For the IE 6.0, it works fine when I get a hidden field value via (String)request.getParameter( "action" ); But, for IE 5.5 version with the same code, s

invokes processActionForward twice when submit????

2002-11-26 Thread Tuan H. Le
Hi, I have noticed that when we submit an HTML form to a Struts action servlet, it called processActionForward twice. Is it possible? If so, how do we prevent it? Thanks, Tuan <>-- To unsubscribe, e-mail: For additional commands, e-mail:

data in session sometimes not get updated???

2002-11-07 Thread Tuan H. Le
Hi, I'm having a bug in my application that the user's session attribute SOMETIMES does not get updated/refreshed as expected, but I don't know the reason why. Please advise what I'm doing wrong. Here is my test scenario 1) UserAction class fetches a list of employees with review status and sto

RE: Missing Struts Form attributes in Action class

2002-11-05 Thread Tuan H. Le
before the action class takes over. -Original Message----- From: Tuan H. Le [mailto:tuan.le@;phsadc.com] Sent: Tuesday, November 05, 2002 4:30 PM To: 'Struts Users Mailing List (E-mail)' Subject: Missing Struts Form attributes in Action class Hi, Do you know of the reason why

Missing Struts Form attributes in Action class

2002-11-05 Thread Tuan H. Le
Hi, Do you know of the reason why in my case the form data in Struts Form class does not get passed to the Action class? When the user clicks on a Submit button, I need to set the value in the action and view hidden fields, and submit that HTML form to a Struts Action class. But for some reaso

RE:

2002-11-04 Thread Tuan H. Le
, November 04, 2002 6:00 PM To: [EMAIL PROTECTED] Subject: Re: This behavior is easily acheived by using radio buttons instead of checkboxes. Is that an option? David >From: "Tuan H. Le" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAI

struts-user@jakarta.apache.org

2002-11-04 Thread Tuan H. Le
Hi, I need to pass in the select box index to a JavaScript function. Is there a way to do that in tag?. I have tried JSP scripting (<%=...%>), but that does not work. I have two multiboxes in a form and I need to select/unselect the checkbox between those two multiboxes via calling my selectCh

Close a child window and refresh its parent window

2002-10-23 Thread Tuan H. Le
Hi, I recalled that some one on this forum posted a similar problem that I'm having with the child-parent window issue which is more related to JavaScript. But, I couldn't find a solution to my issue in this forum's archive. In my app, I need to: 1) submit the form to a specified action and sa

RE: with JavaScript

2002-10-23 Thread Tuan H. Le
David, Thanks! I will try your suggestion shortly. Tuan -Original Message- From: Karr, David [mailto:david.karr@;attws.com] Sent: Tuesday, October 22, 2002 11:29 AM To: 'Struts Users Mailing List' Subject: RE: with JavaScript > -Original Message- > From: [EMAIL PROTECTED] [mai

RE: with JavaScript

2002-10-22 Thread Tuan H. Le
ok, I replaced with and it works fine. It seems like the scriptlet <%=%> can not be parsed within the tag. Thanks! Tuan -Original Message- From: Tuan H. Le Sent: Tuesday, October 22, 2002 1:01 PM To: 'Struts Users Mailing List' Subject: RE: with JavaScript J

RE: with JavaScript

2002-10-22 Thread Tuan H. Le
chasiw@;nlgroup.ca] Sent: Tuesday, October 22, 2002 11:02 AM To: Struts Users Mailing List Subject: Re: with JavaScript Try: "Tuan H. Le" <[EMAIL PROTECTED]> on 10/22/2002 12:33:02 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTEC

with JavaScript

2002-10-22 Thread Tuan H. Le
Hi Can some one please show me a tip on how to pass a dynamic value into a JavaScript function within tag? What I need is to pass an employee ID in the openModal( '/editSalary.do?id=### ). Here's my code function openModal( theURL ){ window.showModalDialog(theURL,'','dialogWidth:

RE: How to determine the last row in a collection

2002-10-21 Thread Tuan H. Le
Re: How to determine the last row in a collection Just to point out the obvious, but I assume you insert the border outside the iterate? Tuan H. Le wrote: > > type="com.abc.MyCollectionVO" indexId="idx" length="10" offset="0"> > //

RE: return false

2002-10-20 Thread Tuan H. Le
Hi David, My bad and you saved my day! Thanks for your help! Tuan -Original Message- From: David M. Karr [mailto:dmkarr@;earthlink.net] Sent: Sunday, October 20, 2002 1:16 PM To: [EMAIL PROTECTED] Subject: Re: return false >>>>> "Tuan" == Tuan H Le &

RE: return false

2002-10-20 Thread Tuan H. Le
I even replaced the variable IConstants.USER_EMPLOYEE_LIST_KEY to the actual value "com.xyz.key.USER" in the session.getAttribute( ... ) method, but still have the same issue. Again, the for loop works just fine. Thanks, Tuan -Original Message----- From: Tuan H. Le Sent: Sunda

RE: return false

2002-10-20 Thread Tuan H. Le
Tuan -Original Message- From: David M. Karr [mailto:dmkarr@;earthlink.net] Sent: Sunday, October 20, 2002 12:45 PM To: [EMAIL PROTECTED] Subject: Re: return false >>>>> "Tuan" == Tuan H Le <[EMAIL PROTECTED]> writes: Tuan> Hi, Tuan>

return false

2002-10-20 Thread Tuan H. Le
Hi, In my Action class I set an object in one of the session attribute before forwarding to a JSP view. But, the in the JSP view always return false on that object. Below is my code. Do you know what I'm missing? employeeList is an ArrayList object. If I use a for loop below (see comment code

RE: PLEASE HELP - struts-tiles no longer work

2002-10-20 Thread Tuan H. Le
Micael, Thanks for your help! I corrected my mistake by using the String equals() method, and it works fine. Tuan -Original Message- From: micael [mailto:caraunltd@;harbornet.com] Sent: Saturday, October 19, 2002 12:21 AM To: Struts Users Mailing List Subject: Re: PLEASE HELP - struts-t

PLEASE HELP - struts-tiles no longer work

2002-10-19 Thread Tuan H. Le
Hi, My app was working fine using struts-tiles with frameset. But since this afternoon, it does not work any more. It displays a blank page (NOT a 404 error). I have tried with debug code, but couldn't figure out. The action forward seems to work fine after the user login. I tested and it forwa

RE: PLEASE HELP - struts-tiles no longer work

2002-10-18 Thread Tuan H. Le
.getContextPath()%> <%=request.getContextPath()%> Thanks! Tuan > -Original Message----- > From: Tuan H. Le > Sent: Friday, October 18, 2002 8:41 PM > To: Struts Users Mailing List (E-mail) > Subject: PLEASE HELP - struts-tiles no longer work > > Hi, &g

to open a modal window (pop-up)

2002-10-18 Thread Tuan H. Le
Hi, Within my code I use for generating a href to an Action as below When the user click on the image, I would like to pop-up another window to display the employee details information. How do I accomplish this feature in Struts + ? I searched through the archived, but couldn't find the info.

RE: - Is it possible???

2002-10-18 Thread Tuan H. Le
David, It works! Thanks for your quick help! Tuan -Original Message- From: Karr, David [mailto:david.karr@;attws.com] Sent: Thursday, October 17, 2002 4:16 PM To: 'Struts Users Mailing List' Subject: RE: - Is it possible??? > -Original Message- >

- Is it possible???

2002-10-18 Thread Tuan H. Le
Hi, I have two classes Salary and Employee public class Salary { private Date date; private double amount; private float meritPercent; ... // and Salary class accessor methods (setter/getter) } public class Employee { Salary salary; private int id; private String lastName; ...

RE: Using Frameset within Struts - displayed a blank page

2002-10-07 Thread Tuan H. Le
the Struts-config file. Is it a Global forward? is it misspelled in your code? Keeping in mind that the input attribute doesn't get checked for forwards, that is used for validation. hth b- --- On Mon 10/07, Tuan H. Le wrote: From: Tuan H. Le [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTE

Using Frameset within Struts - displayed a blank page

2002-10-07 Thread Tuan H. Le
I have searched through the struts archive, but couldn't find a solution to my problem below. if I specified , it found and displayed the Top.jsp fine. However, after I changed to , then it displayed a blank page in the top frame. Do you know what I'm missing? Thanks in advance Tuan He

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
tand well, is an attribute of a user's profile. A general suggestions, don't user frames in dynamic pages, you can have always problems with them, Jsp has a nice templating machanism, use that to build your header or footer. Tuan H. Le wrote: > Hi, > > How do I pass a req

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
st (E-mail) Subject: Re: Passing a request parameter within Struts framework request.getAttribute( "selTopNav" ) not request.getParameter( "selTopNav" ) !!! At 05:00 07.10.2002 -0700, Tuan H. Le wrote: >Hi, > >How do I pass a request attribute to another form? In my cas

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
quot;/WEB-INF/struts-bean.tld" prefix="bean" %> Top.jsp (a frame within a frameset and where the request.getParameter get called) -- Selected Top Nav: <%= request.getParameter( "selTopNav" ) %> This retur

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
); String path = addParameterToURL(forward.getPath(),"selTopNav","1"); ActionForward newFwd = new ActionForward(path,fwd.getRedirect() ); return newFwd; -Original Message- From: Tuan H. Le [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 20:19 To: Struts Users Mailin

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
w one. > -Original Message- > From: Tuan H. Le [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 20:01 > To: Struts Users Mailing List (E-mail) > Subject: Passing a request parameter within Struts framework > > Hi, > > How do I pass a request

Passing a request parameter within Struts framework

2002-10-07 Thread Tuan H. Le
Hi, How do I pass a request attribute to another form? In my case, after a successful login, it would forward the user to the main form (MainMeu.jsp which has a frameset). In the main form, it has several tabs. By default, it displays the first tab. Currently, in the perform() method of Login

RE: About Datasource

2002-09-30 Thread Tuan H. Le
Hi, I'm experiencing this same problem. If you have a solution, please post. Thanks, Tuan -Original Message- From: Kalaiselvan [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 2:18 AM To: Struts Users Mailing List Subject: About Datasource Hii All, Any one know ho

Cannot load JDBC driver class 'null'

2002-09-27 Thread Tuan H. Le
Hi, I'm having a problem of configuring Tomcat 4.1 with Opta2000 JDBC driver for SQL Server 2000. I can load the same JDBC driver through the code, but it could not load that same driver during Tomcat startup process. I followed the instructions and examples on the internet sites. Do you kno

"tiles-definitions" is incomplete

2002-09-27 Thread Tuan H. Le
Hi, I just found this error in tomcat log, and I couldn't figure out the reason for causing this error when I don't use struts-tiles tag. Though, I didn't see this error before. I must have modified the web.xml file. Here is the error message with the web.xml file Please advise on troubleshoo

RE: Newbie Question: Login form submit error - Servlet action is currently unavailable

2002-09-23 Thread Tuan H. Le
s class is failing; what does your server log read? Mark -Original Message----- From: Tuan H. Le [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 3:57 PM To: [EMAIL PROTECTED] Subject: Newbie Question: Login form submit error - Servlet action is currently unavailable Hi, I'm tr

Newbie Question: Login form submit error - Servlet action is currently unavailable

2002-09-23 Thread Tuan H. Le
back to the value defined by this Actions input * sub-element, which in this case is Login.jsp * Copyright: Copyright (c) 2002 * Company: PacifiCare Health Systems - ADC * @author Tuan H. Le * @version 1.0 */ import javax.servlet.http.HttpServletRequest; import org