Re: error page

2001-08-10 Thread Pham Thanh Quan
You could declare your error page inside an action mapping in the file struts-config.xml as follow actionpath=.. type=... name=... scope=request input=Your_error_page_here /action and it will forward to Your_error_page_here

Re: New To Struts

2001-08-09 Thread Pham Thanh Quan
I think the directory WEB-INF is in every context (directory) in the directory applications, and there is always a default context (maybe \application\defaultwebapp_serverName\WEB-INF in weblogic) Quan - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc:

Re: Validation a form

2001-08-08 Thread Pham Thanh Quan
But what is the specific error ? - Original Message - From: DUPRAT Alexandre [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 11:31 PM Subject: RE: Validation a form I don't understand why it does not work. It crashes only when the validate method is called and

Re: A small Favour

2001-08-06 Thread Pham Thanh Quan
In particular, in order to remove yourself from struts mailing list, send an empty email to the following address [EMAIL PROTECTED] - Original Message - From: Rohit Dewangan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 06, 2001 3:34 PM Subject: A small Favour Hi All,

Re: Question: Struts on Weblogic - Urgent please

2001-08-06 Thread Pham Thanh Quan
Try putting it into the file web.xml in Web-inf directory Quan - Original Message - From: Upadhye, Sujit (GEAE, Foreign National) [EMAIL PROTECTED] To: Craig R. McClanahan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 12:40 AM Subject: Question: Struts on

Re: how to create a submit button with my own image

2001-08-06 Thread Pham Thanh Quan
The name of the form is in the file struts-config.xml. action path=... ... name=this_is_the_form_name_you_want /action Quan - Original Message - From: Long Zhao [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 5:21 AM Subject: how to create a submit button with

Re: how to create a submit button with my own image

2001-08-06 Thread Pham Thanh Quan
You may use this html:form ... input type=image src=your_image /html:form Quan - Original Message - From: Long Zhao [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 5:21 AM Subject: how to create a submit button with my own image for a struts form, html:form

Re: Strut and EJB/J2EE

2001-07-25 Thread Pham Thanh Quan
Hi Chuong, I think struts is only a framework used to build presentation layer - Original Message - From: Chuong Huynh [EMAIL PROTECTED] To: Strut user List (E-mail) [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 10:09 AM Subject: Strut and EJB/J2EE Hi all, Sorry for naive

Re: html:select/options

2001-07-18 Thread Pham Thanh Quan
But how to keep the choice that user chose in the last time he submitted - Original Message - From: Joe Clark [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 11:12 PM Subject: RE: html:select/options Use the 'value' attribute to make the selection. For example assume you have a

Re: ActionErrors

2001-07-13 Thread Pham Thanh Quan
You could activate directly the Action/perform (i.e. your_action.do instead of your_page.jsp), after that, the perform method will get information from your beans, put them into your action_form class, which extends from the class ActionForm of struts, and then forward to the JSP page

Re: Ant problem - build.xml file does not exist

2001-07-12 Thread Pham Thanh Quan
Because Ant is intended for UNIX, You should download cygwin.com from jakarta.apache.org or elsewhere, install and run it instead of dos command prompt Quan - Original Message - From: kuma.cra [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 7:14 AM Subject: Re: Ant

Re: Ant problem - build.xml file does not exist

2001-07-12 Thread Pham Thanh Quan
, run ant Quan - Original Message - From: Pham Thanh Quan [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 13, 2001 9:41 AM Subject: Re: Ant problem - build.xml file does not exist Because Ant is intended for UNIX, You should download cygwin.com from

Re: changing languages

2001-07-11 Thread Pham Thanh Quan
You simply remove the locale from session and struts will get the default locale, which is defined by every browser Quan - Original Message - From: Manuel Moons [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 9:03 PM Subject: changing languages Hello everybody,

Re: No Input Attribute...

2001-07-10 Thread Pham Thanh Quan
In your struts-config.xml, try changing this : action path=/test/ServiceOrderAction type=com.xxx.web.ServiceOrderAction name=serviceOrderForm/ - Original Message - From: Helmut Rubasch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 3:41 PM Subject: No Input

Re: validation

2001-07-08 Thread Pham Thanh Quan
You still put the "ethncityArray" into request but you should put in your ActionForm class, before the function validate return, instead of in the method perform of your Action class Hope it helps Quan - Original Message - From: cahana To: [EMAIL PROTECTED] Sent:

Re: validation

2001-07-08 Thread Pham Thanh Quan
This may be a stupid question, but is there a way to pass this object as a hidden field? cameron - Original Message - From: Pham Thanh Quan To: [EMAIL PROTECTED] Sent: Sunday, July 08, 2001 4:27 PM Subject: Re: validation You still put th

Re: If no ActionForm associated with Action....ActionForm is null???

2001-07-05 Thread Pham Thanh Quan
It's OK - Original Message - From: Jonathan Asbell To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 7:23 PM Subject: If no ActionForm associated with ActionActionForm is null??? Hello. In places where there are no forms and thus did not configure

Re: Team development with struts

2001-07-05 Thread Pham Thanh Quan
Hi Jorge, Please let me know is there any visual UI to use with CVS ? I currently use cygwin bash shell but I am very tired of its interface Thanks Quan - Original Message - From: jorisumu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 9:33

Set html:option value with bean:write

2001-07-02 Thread Pham Thanh Quan
Hi all, i want to set the value of html:option to the corresponding currency.id as in the following (broken) jsp segment html:select size=1 property=currency value=bean:write name='merchantForm' property='currency'/ logic:iterate id=currency name=currencyList html:option

Re: Set html:option value with bean:write

2001-07-02 Thread Pham Thanh Quan
Assuming your form is already associated with 'merchantForm' FormBean, and that 'currencyList' is a Collection, try: html:select property=currency html:options collection=currencyList property=id labelProperty=id/ /html:select Mark -Original Message- From: Pham Thanh Quan [mailto

Re: Help with Resources !!

2001-07-02 Thread Pham Thanh Quan
Whether there is the key index.title in your ApplicationResources file or not ? - Original Message - From: Debasish Ghosh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 03, 2001 11:17 AM Subject: Help with Resources !! Hello All - I am new to Struts and trying to run

Re: Form rendering problem

2001-06-28 Thread Pham Thanh Quan
I think you don't have a form action class that is correlative with this form, so you can't use html:form. You should use form instead Quan - Original Message - From: Rod Schmidt To: [EMAIL PROTECTED] ; Rod Schmidt Sent: Thursday, June 28, 2001 1:38 PM

Need help!

2001-06-27 Thread Pham Thanh Quan _ SDC
Hi all, I have a problem, my code in a jsp page is as follow : %Vector v = new Vector(); //putsomething into the vectorhere pageContext.setAttribute("list", v, PageContext.PAGE_SCOPE); % html body logic:iterate id="element" name="list" bean:write name="element"