RE: html:errors handling

2001-12-17 Thread Barry Jia
did you set your error text in your application resource file ? -Original Message- From: Frédéric Houbie - ABSIS-GROUP [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 11:22 AM To: Struts-User Subject: html:errors handling Hi, I have a strange behaviour in my application. in

RE: How to send output from Action directly to user

2001-11-27 Thread Barry Jia
1: You can get data source in your action class : DataSource ds = (DataSource)servlet.getServletContext().getAttribute(Action.DATA_SOURCE_KEY) ; 2: You can use response's PrintWriter to display your out to the user directly. -Original Message- From: Maciej Kolodziej [mailto:[EMAIL

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

2001-11-22 Thread Barry Jia
Hi, Actually I encountered same problem and solved it as this way,but I have another question. In my logon action, I set up the session max inactive Interval like this request.getSession().setMaxInactiveInterval(900), I think the unit should be second(not sure). The problem is that how can I

How to Create A Dynamic Table with html:form

2001-11-16 Thread Barry Jia
Question : I want to create a dynamic table with html:form and have my form bean and action can handle what I input. for instance : my form page is : html:form action=submitnewapp.do enctype=multipart/form-data focus=jad table tr td Input the file name of

FW: How to Create A Dynamic Table with html:form

2001-11-16 Thread Barry Jia
Question : I want to create a dynamic table with html:form and have my form bean and action can handle what I input. for instance : my form page is : html:form action=submitnewapp.do enctype=multipart/form-data focus=jad table tr td Input the file name of

html:multibox tag

2001-11-13 Thread Barry Jia
Hi, all, how to use this tag html:multibox ? in my form bean, how to define the variable to match the property ? Thanks

Data source

2001-11-02 Thread Barry Jia
Hi, All, I set up a data source in my struts-config.xml like this: data-sources data-source autoCommit=false description=Tira Database driverClass=sun.jdbc.odbc.JdbcOdbcDriver maxCount=2 mincount=1

How to use Data source in *.jsp

2001-11-02 Thread Barry Jia
Hi, All I read the struts document, I config my data source in struts-config.xml, In my action I can use the following code to get Data source and use it. Right now I want to use it in my JSP scriplet, when I use it, it can not be compiled as servlet is a undefined variable or class. I want to

RE: Need help

2001-11-02 Thread Barry Jia
did you have this classes in your WEB-INF/classes dir ?com.tgt.d2g.auth.LogonAction -Original Message- From: Ashoka Murthy [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 2:41 PM To: [EMAIL PROTECTED] Subject: Need help Hi, I am relatively new to struts..I have a login page

test

2001-10-31 Thread Barry Jia
test Barry Jia QA Developer, Brightspark Corp. Phone: 416-488-1999 x 306 Email : [EMAIL PROTECTED] 20 Eglinton Avenue West, Suite 600 Toronto, Ontario Canada M4R 1K8 _ Click to add my contact info to your organizer: http

Question ?

2001-10-31 Thread Barry Jia
//td /tr /table /html:form Barry Jia QA Developer, Brightspark Corp. Phone: 416-488-1999 x 306 Email : [EMAIL PROTECTED] 20 Eglinton Avenue West, Suite 600 Toronto, Ontario Canada M4R 1K8 _ Click