Indexed property of ActionForm

2001-06-25 Thread Thai Thanh Ha
I want to get value for an attribute named "vehicleTypes" in my ActionForm. This is an array of Strings. But I don't know how to do it. Struts always reports internel server error(500) when I try to submit the form. Please help me! This is my ActionForm: -- public final clas

RE: problem in including file in INCLUDE TAG in jsp

2001-08-22 Thread Thai Thanh Ha
Title: AW: SilverStream behind firewall Hi Anwar,   If you want to include dynamically, you should use this action     Regards, Thai -Original Message-From: Anwar Sadat [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 22, 2001 5:21 PMTo: '[EMAIL PROTECTED]'Subject: prob

Problem with installing Structs WAR files

2001-02-18 Thread Thai Thanh Ha
Hi all! I have copied the WAR files in the Struts < /webapps > directory to Tomcat < webapps > directory (struts-blank.war, struts-documentation.war, struts-example.war, struts-template.war, struts-test.war, struts-upload.war) . I'm using Tomcat 4.0-b1 , and jakarta-struts-20010218.tar.gz

Cannot deploy struts-blank.war onto j2eesdk1.2.1

2001-03-01 Thread Thai Thanh Ha
I can't deploy struts-blank.war (struts 1.0b1) onto j2eesdk1.2.1 . Has anyone done it before? Please help me!

RE: Cannot deploy struts-blank.war onto j2eesdk1.2.1

2001-03-02 Thread Thai Thanh Ha
Thank you for your help! Now I'm using J2eesdk1.3 beta and Struts examples work very well :-) Regards, Thai -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 03, 2001 1:30 AM To: [EMAIL PROTECTED] Subject: Re: Cannot deploy struts-blank.war

Problem in Struts example (struts-example.war)

2001-03-04 Thread Thai Thanh Ha
Hi all, I have found this code in the Struts example (file: EditRegistrationAction.java, line: 144) if (form == null) { ... } When EditRegistrationAction.perform() is called, form will be a reference to a RegistrationForm (*never* be null, because the ActionForm object has been cre

Problem with using tag

2001-03-07 Thread Thai Thanh Ha
I want to use with a boolean attribute of a bean. But I always received error: -- Exception Report: javax.servlet.ServletException: No bean found under attribute key currentSupplier at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:481)

Problem using struts-example.war with J2SDKEE1.3(beta)

2001-03-08 Thread Thai Thanh Ha
I can't use struts-example.war with J2SDKEE1.3(beta). The JSP pages work normally, but when I use *.do, server always returns: HTTP Status 404 - /editRegistration.do The requested resource (/editRegistration.do) is not available. What's wrong? Please help me! I know that J2EESDK isn't a goo

RE: Problem using struts-example.war with J2SDKEE1.3(beta)

2001-03-08 Thread Thai Thanh Ha
(beta) - Original Message - From: Thai Thanh Ha <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 7:03 AM Subject: Problem using struts-example.war with J2SDKEE1.3(beta) > > I can't use struts-example.war with J2SDKEE1.3(beta). The JSP pages work >

RE: struts-example.war

2001-04-02 Thread Thai Thanh Ha
Because J2EE SDK deploytool has changed your web.xml(maybe this is a bug of deploytool?) from: action *.do to action /*.do So the servlet action is only executed when you open URL : http://localhost/struts-example/*.do and is NOT executed when you open http://loc

How to display the size of an Collection attribute of a bean?

2001-04-10 Thread Thai Thanh Ha
I want to display the size of an Collection attribute of a Bean using Struts taglibs.  I can use scriptlet but are there any other ways to do that?   Regards, Thai