RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Ying
app using it. http://www7b.boulder.ibm.com/wsdd/techjournal/0302_fung/fung.html Ying RE: What is the best struts plugin for Eclipse? * From: Alban Soupper * Subject: RE: What is the best struts plugin for Eclipse? * Date: Mon, 03 Mar 2003 04:19:49 -0800 Console is not bad

Re: Javascript displayed on page

2003-02-27 Thread Ying
=myMethod/ when I didn't have a form name=formName defined in the validation.xml. Ying From: Sloan Seaman Subject: Javascript displayed on page Date: Wed, 26 Feb 2003 09:10:41 -0800 What woudl cause Struts to put Javascript into a page but NOT put script type=text/javascript language

Re: ValidatorActionForm example?

2003-02-18 Thread Ying
/ The formname needs to map exactly to the form name... (including the slash) and because of the slash, the default generated name is invalid javascript.. so you need to use method = to specify the generated method. Hope this helps. Ying

Re: Re: questions about struts validator

2003-01-16 Thread Ying
for the explaination! Ying __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com

Re: Re: questions about struts validator

2003-01-15 Thread Ying
... /form /formset Thanks! Ying __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com

Problem using nested struts template tag

2002-08-15 Thread Ying Gao
I use nested template tag as the following: template:insert template=template.jsp template:put name=header content=header.jsp/ template:put name=content direct=true template:insert template=contentTemplate.jsp template:put name=contentTitleImage content=images/content_01.gif

RE: Is there a quick resource for learning nested tags?

2002-03-15 Thread Jin, Ying
Check out http://www.keyboardmonkey.com/struts/index.html. Thanks. Ying -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 12:27 PM To: Struts Users Mailing List Subject: Is there a quick resource for learning nested tags? I'm starting

setContentType() for xml output

2001-05-31 Thread Wu, Ying (LNG-CIS)
? Thanks. Ying -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 7:06 AM To: unlisted-recipients Cc: [EMAIL PROTECTED] Subject: RE: Form tag problem in VAJ 3.5.3 WTE with 1.0b2 Thanks John. For now we simply stepped back to b1. But maybe

output xml file

2001-05-31 Thread Wu, Ying (LNG-CIS)
of this method? Thanks. Ying

RE: update database.xml

2001-05-08 Thread Ying Teng
This makes a lot of sense. Could you please describe the steps to deploy the application with the deploy.tomcat Target of the Struts build.xml? Thanks. Ying -Original Message- From: Uwe Pleyer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 3:13 AM To: [EMAIL PROTECTED] Subject

update database.xml

2001-05-07 Thread Ying Teng
Hi all, I have a question to ask. I want to update the database.xml file and the database hashtable of the DatabaseServlet class every time the user register. So when the user logs on next time (even after the tomcat is restarted), he/she can still log on. Any idea? Thanks. Ying P.S. I

destroy() of DatabaseServlet

2001-05-07 Thread Ying Teng
Hi All, I noticed that when the tomcat shuts down, it does NOT call the destroy() method of the DatabaseServlet class. How to let the destroy() method get called when the server shuts down? Thanks. Ying

RE: database connection

2001-05-04 Thread Ying Teng
Yes, I can get the DataSource reference in the ServletContext object of the ActionServlet class. But I want to get the reference to the dataSource in the DatabaseServlet class. Can anyone tell me how to get the reference to the dataSource from the databaseServlet class? Thanks. Ying

RE: database connection

2001-05-03 Thread Ying Teng
to the DataSource is stored in the ServletContext object... You can get it from that. - Original Message - From: Ying Teng [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 03, 2001 11:28 AM Subject: RE: database connection What you described is true. Now my question is how to get

database connection

2001-05-02 Thread Ying Teng
Hello All, I am trying to connect to the database but when I do DataSource dataSource = (DataSource)servlet.getServletContext().getAttribute(Action.DATA_SOURCE_KEY) ; it gives me null as the dataSource value. Can anybody help me out here? Thanks. Ying

RE: database connection

2001-05-02 Thread Ying Teng
/test?user=userpassword=pass user=user / /data-sources What else do I need to do to add this datasource to struts? Thanks. Ying -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 11:05 AM To: [EMAIL PROTECTED] Subject: Re

RE: database connection

2001-05-02 Thread Ying Teng
The question is how to add or specify the datasource key value. I added the datasource tag contents in the struts-config.xml file. What else do I need to do? Do I need add an ActionDataSource class? Do I need to use the GenericDataSource class? Thanks. Ying -Original Message- From

unload database

2001-05-02 Thread Ying Teng
How do I unload database to its persistent storage version? If we are running directly out of a WAR file, saving cannot occur. How do we make the save possible? Thanks. Ying