[OT] For those who love fur, please take a look

2005-02-16 Thread Koon Yue Lam
** Be prepared, rate R ** http://hk.geocities.com/blood1213/fur.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSP under /WEB-INF folder

2004-12-28 Thread Koon Yue Lam
or OS level protection ? Regards On Sun, 26 Dec 2004 08:45:00 -0800, Hassan Schroeder [EMAIL PROTECTED] wrote: Koon Yue Lam wrote: Hi, I want to protect my JSP from direct access, so they can only access by Struts action. but If I want to include some Javascript or CSS to a JSP, I

Re: JSP under /WEB-INF folder

2004-12-28 Thread Koon Yue Lam
Thanks for all the reply, I will try it out tonight and let u all know the result ^^ Regards On Tue, 28 Dec 2004 18:52:37 +0200 (EET), [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje.

Re: JSP under /WEB-INF folder

2004-12-28 Thread Koon Yue Lam
ok, it is really strange that I need to specify full path /myApp/js/myJS.js rather then just js/myJS.js but if I use full path , everything works fine I am using Tomcat 5.028 with Struts 1.1 thanks for all the help Regards On Wed, 29 Dec 2004 01:08:31 +0800, Koon Yue Lam [EMAIL PROTECTED

JSP under /WEB-INF folder

2004-12-26 Thread Koon Yue Lam
Hi, I want to protect my JSP from direct access, so they can only access by Struts action. but If I want to include some Javascript or CSS to a JSP, I can't ! Because .js and .css needed to place directly under WebRoot My solution is to use jps:include to include all those Javascript and CSS

How to secure my webapp under Tomcat?

2004-11-10 Thread Koon Yue Lam
Hi, I have developed a webapp using Tomcat and MySQL Now I DON'T want my client browse my JSPs, servlets and database structure etc .. I want the entire webapp (and database) deployed only by me and not by others. Is there any methods that I can secure my webapp to ensure my client won't

Re: DataSource -- help please

2004-07-28 Thread Koon Yue Lam
Hi, I think the exception already told you what going wrong according to: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html the url should be: parameter nameurl/name valuejdbc:HypersonicSQL:database/value /parameter so if your database call testDB the url

Re: Why does nobody never answer my question ??

2004-07-26 Thread Koon Yue Lam
Yes ! I am also new in here and have meet a lot of nice people ! My question always got reply in a day or two, but the replys are always helpful also the fastest, greatest way to find solution is www.google.com, just ask him before anything, ^^ Regards

Re: EJB Support

2004-07-20 Thread Koon Yue Lam
Hi, Tomcat is a web container, so it can't handle EJB in normal case unlesss you use some 3rd party program. If you need EJB, the most obvious way is to get a J2EE Application Server like JBOSS, WebSphere, WebLogin... Regards -

Help on tomcat 5.0 connection pool

2004-07-19 Thread Koon Yue Lam
Hi, I am using Tomcat 5.0 and Stuct 1.1 to develop a web base application and I want to create some prepareStatement and execute it multiple times but since the connection is retrieved from the pool upon request, I may get a number of connections, how can I create a prepareStatement to a specific

Re: Help on tomcat 5.0 connection pool

2004-07-19 Thread Koon Yue Lam
ok, i will have a try, thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 5.0 server.xml Context problems

2004-07-19 Thread Koon Yue Lam
Hi, I am using Tomcat 5.0 with auto-depoly set to true. The server.xml DOESN'T contain a context of my webapp and I want to setup a MySql datasource to my webapp. I know I get nest a Context under Host according to http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html

Re: Tomcat 5.0 server.xml Context problems

2004-07-19 Thread Koon Yue Lam
yes, just think about it after I send this question... ^^ also I will try create a default-context element in server.xml let's see what happen Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Retrieveing Unicode stuff from MySQL 4.1.x ?

2004-07-14 Thread Koon Yue Lam
Yes, I can't agree with this more u need to do sdome testing, use JUnit if u can But I would prefer not only use String.equals, but actually print out the HEX value of the string u need to print out the HEX value in: Just before the JSP form start submit when the action start process the form just

Re: Retrieveing Unicode stuff from MySQL 4.1.x ?

2004-07-13 Thread Koon Yue Lam
Hi, I am not en expert, just some piece of advice I know from MySql 4.01, u can define the character encoding on each database, table and column. Are u sure your column is encoded in unicode? Because the GUI client may smart enought to auto convert the encoding, so u can view the character

Re: Retrieveing Unicode stuff from MySQL 4.1.x ?

2004-07-13 Thread Koon Yue Lam
http://dev.mysql.com/doc/mysql/en/Charset-defaults.html in your case, u just define everything as unicode, so just set the database encoding to unicode hopes this help - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Newbie Tomcat download problem

2004-07-11 Thread Koon Yue Lam
Hi, I use a Tomcat mirror download site and I know I must verify the file. But how?? I see a KEY file, MD5 and PGP file beside the Tomcat binary, what should I do to these files? How can I verify a Tomcat binary?? and for last, I have created a keystore using keytool in jdk1.4, does it mean I

About servlet-mapping

2004-07-10 Thread Koon Yue Lam
Hi, I place member.jsp in my webapp root folder, which is TOMCAT_HOME -- webapp --myWebApp/ and part of web.xml : servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping part of struts-config.xml: action-mappings

Re: About servlet-mapping

2004-07-10 Thread Koon Yue Lam
Hi Jarl ! sorry, I still don't get what u mean I try to place welcome-file-list welcome-file/Member.jsp/welcome-file /welcome-file-list in web.xml and keep the mapping as : servlet-mapping servlet-nameaction/servlet-name

Re: Tomcat 5 Context problem

2004-07-08 Thread Koon Yue Lam
thanks, u really help! I will try that out tonight and maybe some posts will raise out tomorrow... ^^ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5 Context problem

2004-07-08 Thread Koon Yue Lam
yes, I agree with u because I have notice this from Tomcat doc and I know from the mailing-list that some poeple are having problem when they put the extra context in server.xml. Since once u do this, Tomcat 5 (but NOT 4.X) will create a XXX.xml file under conf/engine/host/. XXX is the name of

Tomcat 5 Context problem

2004-07-07 Thread Koon Yue Lam
Hi, it really not a problem because I got everything work. I just curious WHY it will work ... ^^ I am using Esclipse 3.0 + Lomboz 3.0RC2 and I develop a webapp, details as follow: WebApp name: FirstWebApp Servlet name and class : FirstServlet, FirstServlet.class (package-less) web.xml: has a

Re: Tomcat 5 Context problem

2004-07-07 Thread Koon Yue Lam
Thx for the help ! But I would also want to know how to undepoly an webapp? I try ro undepoly using Lomboz and it just build an undepoly.xml script. All files relate to that webapp are still under tomcat home/webapp/ folder. How can I depoly an webapp by using lomboz or using Tomcat manager?? If