[help] couldn't upload file with utf-8 name :(

2006-10-13 Thread Pham Anh Tuan
Hi all, I got a problem when I use File Upload to upload 1 file with utf-8 name, ex: あのひと.jpg :( who has experience in this problem, plz help me :| thanks in advance, bowlkhin - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [HELP] Can't not submit unicode form by ajax action in Struts + Velocity framework

2006-09-26 Thread Pham Anh Tuan
, 2006 4:13 PM Subject: Re: [HELP] Can't not submit unicode form by ajax action in Struts + Velocity framework Pham Anh Tuan ha scritto: when I test the submitted url, it gives me the right unicode value for each parameter I sent. ex: .do?st1=tốivề&st2=ngàyvề but when I retrieve it

Re: [HELP] Can't not submit unicode form by ajax action in Struts + Velocity framework

2006-09-26 Thread Pham Anh Tuan
" I don't know what's wrong? - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, September 26, 2006 2:09 PM Subject: [HELP] Can't not submit unicode form by ajax action in Strut

Re: [HELP] Can't not submit unicode form by ajax action in Struts + Velocity framework

2006-09-26 Thread Pham Anh Tuan
e: [HELP] Can't not submit unicode form by ajax action in Struts + Velocity framework Pham Anh Tuan ha scritto: Antonio, would you mind showing an example how to use POST method with AJAX ? Your question is too generic. Maybe you need simply JavaScript, in this case I suggest to rea

Re: [HELP] Can't not submit unicode form by ajax action in Struts + Velocity framework

2006-09-26 Thread Pham Anh Tuan
Antonio, would you mind showing an example how to use POST method with AJAX ? thanks in advace bowlkhin - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, September 26, 2006 4:16 PM Subject: R

[HELP] Can't not submit unicode form by ajax action in Struts + Velocity framework

2006-09-26 Thread Pham Anh Tuan
Hi all, I got a trouble when I submit the unicode form by ajax. when I test the submitted url, it gives me the right unicode value for each parameter I sent. ex: .do?st1=tốivề&st2=ngàyvề but when I retrieve it from bean, it was not unicode value :( this trouble happens only when I submit

Re: [HELP] I use struts + Velocity, I couldn't submit 1 form with unicode information! :(

2006-06-22 Thread Pham Anh Tuan
=UTF-8"%> By the way, which version of Tomcat are you using? You can search the JIRA database of Tomcat to check whether it's a bug ot Tomcat. Pham Anh Tuan wrote: yes, I had set contentType="text/html; charset=UTF-8" but there's no effect :( - Original Message -

Re: [HELP] I use struts + Velocity, I couldn't submit 1 form with unicode information! :(

2006-06-21 Thread Pham Anh Tuan
se struts + Velocity, I couldn't submit 1 form with unicode information! :( Did you set the page directive in you JSP files like this? <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> Pham Anh Tuan wrote: Sorry all you, I don't intend

Re: [HELP] I use struts + Velocity, I couldn't submit 1 form with unicode information! :(

2006-06-20 Thread Pham Anh Tuan
n of Struts, the character is still in ISO-8859-1 :-( . Here is the quick fit for this: byte[] temp = originalString.getBytes("ISO-8859-1"); String result = new String (temp, "UTF8"); Hope this may help. PS: Do not flood the mailing list with duplicate message, you'll get i

[HELP] I use struts + Velocity, I couldn't submit 1 form with unicode information! :(

2006-06-20 Thread Pham Anh Tuan
Hi all, I use Struts framework + Velocity, and I have a form with a text field, something like below: in velocity.properties file, I set: input.encoding=UTF-8 output.encoding=UTF-8 hiz, but with all above, I couldn't save

[HELP] I use struts + Velocity, I couldn't submit 1 form with unicode information! :(

2006-06-20 Thread Pham Anh Tuan
Hi all, I use Struts framework + Velocity, and I have a form with a text field, something like below: in velocity.properties file, I set: input.encoding=UTF-8 output.encoding=UTF-8 hiz, but with all above, I couldn't

[HELP] I use struts + Velocity, I couldn't submit 1 form with unicode information! :(

2006-06-20 Thread Pham Anh Tuan
Hi all, I use Struts framework + Velocity, and I have a form with a text field, something like below: in velocity.properties file, I set: input.encoding=UTF-8 output.encoding=UTF-8 hiz, but with all above, I couldn't save

[HELP] I use struts + Velocity, I couldn't submit 1 form with unicode information! :(

2006-06-20 Thread Pham Anh Tuan
Hi all, I use Struts framework + Velocity, and I have a form with a text field, something like below: in velocity.properties file, I set: input.encoding=UTF-8 output.encoding=UTF-8 hiz, but with all above, I couldn't

[HELP] I use struts + Velocity, I couldn't submit 1 form with unicode information! :(

2006-06-20 Thread Pham Anh Tuan
Hi all, I use Struts framework + Velocity, and I have a form with a text field, something like below: in velocity.properties file, I set: input.encoding=UTF-8 output.encoding=UTF-8 hiz, but with all above, I couldn't

[HELP] I use struts + Velocity, I couldn't submit 1 form with unicode information! :(

2006-06-20 Thread Pham Anh Tuan
Hi all, I use Struts framework + Velocity, and I have a form with a text field, something like below: in velocity.properties file, I set: input.encoding=UTF-8 output.encoding=UTF-8 hiz, but with all above, I couldn't

Re: [URGEN] Validation in Action and using redirection to view result page :(

2006-04-13 Thread Pham Anh Tuan
pe that helps. Adam Pham Anh Tuan on 12/04/06 07:42, wrote: Hi all, case: I use Tiles and Velocity for presentation layer com.project.GeneratedKeyAction: will generated and register information of code or capcha (or do something here - retrieve list of user type from DB, etc) to session scope.

[URGEN] Validation in Action and using redirection to view result page :(

2006-04-11 Thread Pham Anh Tuan
Hi all, case: I use Tiles and Velocity for presentation layer com.project.GeneratedKeyAction: will generated and register information of code or capcha (or do something here - retrieve list of user type from DB, etc) to session scope. after user fullfill registration form, he/she

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-11 Thread Pham Anh Tuan
ooh ... I do validation in Action, so, okie, I will save all messages in a property of form bean. is it okie :-? - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, April 11, 2006 3:30 PM Subjec

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-11 Thread Pham Anh Tuan
t: Re: [HELP] Problem with redirect attribute of forward tag On 4/10/06, Dave Newton <[EMAIL PROTECTED]> wrote: Pham Anh Tuan wrote: > I got problem with redirect attribute in forward tag. > > after MyRegistration is processed, it register some values in request > scope (s

Re: [HELP] how do I catch url like http://www.myweb.com/mysite :(

2006-04-10 Thread Pham Anh Tuan
ttp://www.myweb.com/mysite :( Pham Anh Tuan wrote: I just think that we can check request object, after that we check db for specific username (360.yahoo.com/username), if it's exist, we will view homepage of that username. The problem here, I don't know how to do that :( I had to re

Re: [HELP] Problem with redirect attribute of forward tag

2006-04-10 Thread Pham Anh Tuan
hiz ... thank you very much Dave :) - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, April 10, 2006 10:11 PM Subject: Re: [HELP] Problem with redirect attribute of forward tag Pham Anh Tuan wrote: I

[HELP] Problem with redirect attribute of forward tag

2006-04-09 Thread Pham Anh Tuan
Hi all, I got problem with redirect attribute in forward tag. after MyRegistration is processed, it register some values in request scope (some messages to inform that Registration was successful), but after redirecting to Summary action, all values which registered in request scope is empty o

Re: [HELP] how do I catch url like http://www.myweb.com/mysite :(

2006-04-09 Thread Pham Anh Tuan
would be the best platform for this use case. -Ted. On 4/7/06, Pham Anh Tuan <[EMAIL PROTECTED]> wrote: Hi all, I don't know how to catch the url like http://www.myweb.com/myweb <--- I wanna do a action with this url, something like 360o yahoo did. ex: with url: 360.yahoo.com/m

[HELP] how do I catch url like http://www.myweb.com/mysite :(

2006-04-07 Thread Pham Anh Tuan
Hi all, I don't know how to catch the url like http://www.myweb.com/myweb <--- I wanna do a action with this url, something like 360o yahoo did. ex: with url: 360.yahoo.com/myusername <--- you can go to my page. who know how, help me plz :( thanks in advance, bowlkhin

Re: [help] examples of multi files upload

2006-03-08 Thread Pham Anh Tuan
Hi all, yep, I'm looking for a solution to upload muti files at one time. I have a form with 3 , and FormBean like below: FormFile upload1; FormFile upload2; FormFile upload3; and in reset() method, I set upload1 = null, do the same thing for upload2 and upload3. and get/set method for each

[help] examples of multi files upload

2006-03-08 Thread Pham Anh Tuan
Hi all, I'm looking for example of multi files upload in struts, help me plz ... thanks in advance! bowlkhin

[HELP] checking upload file is exist or not ...

2006-03-01 Thread Pham Anh Tuan
hi all, I don't know how we can get the fullpath of the upload file :( I want to check whether or not the upload file is exist, so, I use fullpath to create File, and use exist method of File to check file is exist or not. help me! thanks in advance bowlkhin

Re: [HELP] i80n :(

2006-02-20 Thread Pham Anh Tuan
thank you L, but ... hiz, more details plz :( ... - Original Message - From: "Laurie Harper" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 21, 2006 4:25 AM Subject: Re: [HELP] i80n :( Pham Anh Tuan wrote: Hi all, I got a problem, so I need all your help :(

[HELP] i80n :(

2006-02-19 Thread Pham Anh Tuan
Hi all, I got a problem, so I need all your help :( i18n, I want my Struts app to have default language is Vietnamese, but I couldn't :( I have 3 files below: + mylanguage.properties <--- Vietnamese file + mylanguage_ja.properties <--- Japanese file + mylanguage_en.properties <--- English file

Re: [HELP] Problem when update 1 unicode form

2006-02-08 Thread Pham Anh Tuan
again, plz help me! - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, February 07, 2006 4:30 PM Subject: [HELP] Problem when update 1 unicode form hi all, I got a problem when I update unicode f

[HELP] Problem when update 1 unicode form

2006-02-07 Thread Pham Anh Tuan
hi all, I got a problem when I update unicode form :( so, I have already tested my web application (Struts-ibatis-velocity-tiles) on my PC (tomcat 5.5.12, mysql 4.1 - utf8 default, JDK 5.0), everything was okie. I could update 1 unicode form (the form which contains unicode characters - firstn

Re: [HELP] Can't not get parameter when submit a form

2006-01-26 Thread Pham Anh Tuan
ethod="POST" enctype="multipart/form-data"> Why would you want it in the reset method? You can do a request.getAttribute("property"); Shawn -Original Message- From: Pham Anh Tuan To: Struts Users Mailing List Sent: 1/26/2006 8:15 PM Subject: Re: [HELP]

Re: [HELP] Can't not get parameter when submit a form

2006-01-26 Thread Pham Anh Tuan
January 25, 2006 1:31 PM To: user@struts.apache.org Subject: Re: [HELP] Can't not get parameter when submit a form Pham Anh Tuan wrote: Hi all, I got a problem when I submit a form with setting like below onclick='postEditFrm.action="$link.setAction("/addNewPost.do

Re: struts html:checkbox value

2006-01-26 Thread Pham Anh Tuan
... Vidya -Original Message- From: Pham Anh Tuan [mailto:[EMAIL PROTECTED] Sent: Thursday 26 January 2006 11:53 To: Struts Users Mailing List Subject: Re: struts html:checkbox value Dear Vidya, there's a solution, in reset method of your form bean, you should set all your checkb

Re: struts html:checkbox value

2006-01-26 Thread Pham Anh Tuan
Dear Vidya, there's a solution, in reset method of your form bean, you should set all your checkbox to false. ;) - Original Message - From: "Vidya (Suvarna) Mahavadi" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, January 26, 2006 4:37 PM Subject: struts html:ch

[HELP] Can't not get parameter when submit a form

2006-01-24 Thread Pham Anh Tuan
meter "myNum" in reset method of ActionBean. help me :( thanks in advance! bowlkhin ********* Pham Anh Tuan Java Developer, HR Assistant ICHI Corporation Vietnam. Room #1001, 37 Ton Duc Thang, Dist. 1 Ho Chi Minh City, Vietnam. Phone: (+84) (

Re: [HELP] the problem with I18n

2005-11-08 Thread Pham Anh Tuan
va requires them to be in ASCII with Unicode escapes. You can use the native2ascii utility to convert your UTF-8 files to the correct format. 2) your JSP page needs to set the content-type to correctly identify the encoding: <%@ page contentType="text/html; charset=UTF-8"%> L.

[HELP] the problem with I18n

2005-11-08 Thread Pham Anh Tuan
 hi all,   I got a problem with I18n, the browser couldn't automatically turn UTF-8 encoding on when jsp page is showed, so, the content is showed incorrectly :( ... If I want the content to show correctly, I must change the encoding setting of the browser to UFT-8, I tested on IE, Firefox, t

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
nfig container ? Do you have any document which instruct me how to reconfig container :(, if you had, plz show me, uh :") ... thank you :") ********* Pham Anh Tuan Java Developer, HR Assistant ICHI Corporation Vietnam. Room #1001, 37 Ton Duc Thang,

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
thanks Frank ... but :( ... I turned "cookie accept" on in my browser (Firefox, IE), but jsessionid still be appended URL :( ... what happened, hiz :( ***** Pham Anh Tuan Java Developer, HR Assistant ICHI Corporation Vietnam. Room #1001,

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
me more details :( thank you for ur reply ********* Pham Anh Tuan Java Developer, HR Assistant ICHI Corporation Vietnam. Room #1001, 37 Ton Duc Thang, Dist. 1 Ho Chi Minh City, Vietnam. Phone: (+84) (08) 9105732 Fax: (+84) (08) 9105734 Cell: (+84) (0) 9

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
thank you, Wendy :) It's just because my client don't want to see jsessionid in the url :( ... ***** Pham Anh Tuan Java Developer, HR Assistant ICHI Corporation Vietnam. Room #1001, 37 Ton Duc Thang, Dist. 1 Ho Chi Minh City, Vietnam. P

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
thanks to MC, but ... it still doesn't work, jsessionid is still available in URL after I add redirect to forward tag :( help me plz :( * Pham Anh Tuan Java Developer, HR Assistant ICHI Corporation Vietnam. Room #1001, 37 Ton Duc Thang, Di

[Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
Hi all, I got a problem when I use Struts Framework, everytime I do a action, Struts automatically appends jsessionid parameter in URL something like below: http://localhost:8080/test/index.do;jsessionid=5DF06EA.. plz help me and show me how to erase jsessionid parameter and I don't know is

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Pham Anh Tuan
LP] How can deny access to folders at web app root 2005/8/2, Pham Anh Tuan <[EMAIL PROTECTED]>: Tremal, you said: it doesn't work for Strut's ActionServlet, what you mean ? I mean, Paul's example is valid for Catalina DefaultServlet: org.apache.catalina.servl

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Pham Anh Tuan
Tremal, you said: it doesn't work for Strut's ActionServlet, what you mean ? - Original Message - From: "Tremal Nailk" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, August 02, 2005 3:30 PM Subject: Re: [HELP] How can deny access to folders at web app root 2005/8

Re: [HELP] How can deny access to folders at web app root

2005-08-01 Thread Pham Anh Tuan
an deny access to folders at web app root hi Pham , If u r clear with the concepts of Srevlets..u can use Servlet-Filters to ristrict access to perticular folders on ur application. Another way is to Use Tomcat configuration to whether show user the Directory list. See if this helps u out. Bes

Re: [HELP] How can deny access to folders at web app root

2005-08-01 Thread Pham Anh Tuan
Thanks to Tamas, if do like what you instruct me, what about Image resources? I couldn't access to view them if I use code in jsp file. Such as: :( The solution of Paul solved my problem :) HTTP Status 404 - /auctionsystem/images/

[HELP] How can deny access to folders at web app root

2005-08-01 Thread Pham Anh Tuan
Hi all :) I use Tomcat and Struts framework to build my web app. I lay jsp document file at web app root.Such as cart and user. something like: /cart /user /WEB-INF/ When I run my web app, I could access /webapp/cart folder and /webapp/user folder from browser. All files in 2 folders abov

Re: [HELP] Web hosting for JSP Struts+iBatis+DAO?

2005-08-01 Thread Pham Anh Tuan
oh, my god, "I TIE MY HANDS BY YOU" :D Pham - Original Message - From: "Vic" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Cc: "Struts Users Mailing List" Sent: Tuesday, August 02, 2005 9:46 AM Subject: Re: [HELP] Web hosting for JSP Struts+iBatis+DAO? Pham, If you decide to

Re: [HELP] Web hosting for JSP Struts+iBatis+DAO?

2005-08-01 Thread Pham Anh Tuan
Thanks Vic, I will try it :) again, thank you very much :) Pham - Original Message - From: "Vic" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Cc: "Struts Users Mailing List" Sent: Monday, August 01, 2005 7:52 PM Subject: Re: [HELP] Web hosting for JSP Struts+iBatis+DAO? Hi

[HELP] Web hosting for JSP Struts+iBatis+DAO?

2005-07-31 Thread Pham Anh Tuan
Hi all, I'm buiding a commercial website, which uses Struts+iBatis+DAO. I'm live in Viet Nam and I'm looking a web hosting for a commercial website like above. plz help me Pham

[HELP] Can or can not call a specific message group in *.properties file?

2005-07-24 Thread Pham Anh Tuan
Hi all, I wonder whether or not the Messages files (*.properties) in Struts support a message definition form like a config file of Smarty or not? in Smarty config file: [loginForm] username=User name: firstname=First name: [userHome] hello=Hello ... so, with above definition form, we can cal

[HELP] Who have ever used Quartz in Struts, help me :(

2005-07-03 Thread Pham Anh Tuan
Hi all, I got error when I use Quartz as a plugin in Struts. For more details. I will show all you 2 files which I defined like below: MyBot.java: import java.text.ParseException; import org.quartz.CronTrigger; import org.quartz.JobDetail; import org.quartz.Scheduler; import org.quartz.Schedu

[HELP] I couldn't trim() 1 japanese String (charset UTF-8)

2005-06-21 Thread Pham Anh Tuan
This gives following output for me. --- source : [ foo ] trimed : [foo] "foo".equals("foo") ? true "Pham Anh Tuan" <[EMAIL PROTECTED] 宛先:"Struts U

Re: [HELP] I couldn't trim() 1 japanese String (charset UTF-8)

2005-06-21 Thread Pham Anh Tuan
This gives following output for me. --- source : [ foo ] trimed : [foo] "foo".equals("foo") ? true "Pham Anh Tuan" <[EMAIL PROTECTED] 宛先:"Struts U

[HELP] I couldn't trim() 1 japanese String (charset UTF-8)

2005-06-21 Thread Pham Anh Tuan
Hi all, I got 1 problem when I trying to eliminate spaces at ride side and left side of 1 japanese String. In mySQL I set UTF-8 for both database and my Jsp pages. But in Action, I can't not trim() japanese string, so, when I insert that string to database, spaces are exist. Plz help me solve

Re: Can't not reference to property of object which is property of Bean

2005-06-01 Thread Pham Anh Tuan
Hi all, I got the answer for my problem. Because I don't initialize properties which are objects :D - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 01, 2005 4:31 PM Subject: Re: Can

Re: Can't not reference to property of object which is property of Bean

2005-06-01 Thread Pham Anh Tuan
) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254) " "java.lang.IllegalArgumentException: No bean specified" what's wrong ??? help me! Anh Tuan - Original Message ----- From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "S

Re: Can't not reference to property of object which is property of Bean

2005-06-01 Thread Pham Anh Tuan
ve to override reset method and initialize privateMessage again if u follow second option. On 6/1/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote: Hi all, I have 1 problem: I tried to do something like below: test.jsp includes: I've already defined privateMessage in my userBe

Can't not reference to property of object which is property of Bean

2005-05-31 Thread Pham Anh Tuan
Hi all, I have 1 problem: I tried to do something like below: test.jsp includes: I've already defined privateMessage in my userBean like below: /** * Comment for privateMessage * This property is Private Message object */ private PrivateMessage privateMessage =

Re: [HELP] Couldn't include tag in onClick in

2005-05-20 Thread Pham Anh Tuan
2005 4:46 PM Subject: Re: [HELP] Couldn't include tag in onClick in Hello, Please replace your code with something like this: var MESSAGE = "<bean:write name="rule" property="auctionTypeId"/>" ; If it does work, I will then explain to you why :) -Ori

[HELP] Couldn't include tag in onClick in

2005-05-19 Thread Pham Anh Tuan
Hi all, I couldn't include tag in onclick attribute of like below: and the result: html source code shows like below: ");"> is not recognized! help me, plz :( Anh Tuan

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Pham Anh Tuan
Hi Leon, Would you like to give me any example of ur solution? Anh Tuan - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, May 20, 2005 9:37 AM Subject: Re: Fw: [HELP] How to restrict access to certain m

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Pham Anh Tuan
n of this look for http description at header field definition. i don't have a link on web for this but i think you can find easy with google. i hope this solve your problem. Catalin On 5/19/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote: > Thank Aladin, > > I'm Alibaba :D, >

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-18 Thread Pham Anh Tuan
restrict access to certain mapping action ??? Hi Pham, I think this was mentioned earlier. There are two things you can do: 1) Use a filter with a url-map to your action 2) Use security constraints Aladin Pham Anh Tuan wrote: Hi all, This is the second time I post this message for help :(. I don

Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-18 Thread Pham Anh Tuan
Hi all, This is the second time I post this message for help :(. I don't know how to restrict access to certain mapping action? Ex: I have action: /user/myaction.do and I don't want user directly access to above action. Could I use web.xml to solve this problem. something like: Restrict access t

[HELP] How to restrict access to certain mapping action ???

2005-05-18 Thread Pham Anh Tuan
Hi all, I don't know how to restrict access to certain mapping action? Ex: I have action: /user/myaction.do and I don't want user directly access to above action. Could I use web.xml to solve this problem. something like: Restrict access to JSP pages *.jsp With no roles defined

Re: tree structure with struts

2005-05-17 Thread Pham Anh Tuan
Hi Charles, I couldn't get ur lib Show me how to get it, plz Thanks Anh Tuan - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, May 17, 2005 3:34 AM Subject: RE: tree structure with struts Hi Pankaj, In one of ours applications, we use the com.bea.tree lib. I don't know i

[HELP] Flash load so low ?

2005-05-08 Thread Pham Anh Tuan
hi all, I got a problem when I include 1 html page contains 1 flash file I use Header.html file contains 1 flash file. my main jsp file which contains above, all text in Header file appear, but only Flash file not appear, and my main jsp load so low. So, plz show me how to include 1 jsp f

Re: [HELP] action mapping for welcome page?

2005-05-08 Thread Pham Anh Tuan
ng for welcome page? You can't have a link to an action as your welcome file, It must be a physical file. You could always have a JSP with a forward to your action as your welcome file. Jonathan Wright - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To:

[HELP] action mapping for welcome page?

2005-05-08 Thread Pham Anh Tuan
Hi all, I need your help. When I want to map my index page with a action, there's something makes me confuse. Ex: I have a website www.myweb.com I want to use 1 action: /user/index.do to map to my page is home.jsp in my web.xml action *.do 30 /user/index.do in my struts-config.

Re: [AGAIN, PLZ HELP] Experiences using Struts with Japanese?

2005-04-19 Thread Pham Anh Tuan
Thank you very much, Jason, my work is completed with ur help :) Pham - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, April 20, 2005 10:00 AM Subject: Re: [AGAIN, PLZ HELP] Experiences using Struts

Re: [AGAIN, PLZ HELP] Experiences using Struts with Japanese?

2005-04-19 Thread Pham Anh Tuan
and storing the information in Unicode in the database would simplify your problems. I am trying to find a link that had a good explaination of the steps. The web page has disappeared but can be viewed here: http://web.archive.org/web/20040619054137/http://www.anassina.com/struts/i18n/i18n.ht

[AGAIN, PLZ HELP] Experiences using Struts with Japanese?

2005-04-19 Thread Pham Anh Tuan
This is the second times I post this topic, I'm in stuck of Struts with Japanese. I use to input and show Japanese characters and save them to mySQL (set charset sjis). The jsp page which contains above, I set charset is sjis. If everything does right, japanese character will be saved in mySQ

Re: Struts & UTF-8 (POST working, GET not)

2005-04-15 Thread Pham Anh Tuan
Just try URLEncoder class of Java. by the way, would you mind telling me the way u use " String defaultEncode = "UTF-8"; HttpServletRequest req = (HttpServletRequest) request; HttpServletResponse res = (HttpServletResponse) response; req.setCharacterEncoding(defaultEncode);

Re: [HELP] encodes special characters automatically?

2005-04-15 Thread Pham Anh Tuan
ng used by borwser is the same as the one fileupload tool defaults to. Le Vendredi 15 Avril 2005 07:19, Pham Anh Tuan a Ãcrit : Hi all, I got a problem, again :) when I input special characters like japanese or vietnamese character into , automatically encodes that characters Decimal NCRs before mapping t

Re: [HELP] encodes special characters automatically?

2005-04-15 Thread Pham Anh Tuan
eed set the filter attribute of html:text On 4/15/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote: Hi all, I got a problem, again :) when I input special characters like japanese or vietnamese character into , automatically encodes that characters Decimal NCRs before mapping to bean property. E

[HELP] encodes special characters automatically?

2005-04-14 Thread Pham Anh Tuan
Hi all, I got a problem, again :) when I input special characters like japanese or vietnamese character into , automatically encodes that characters Decimal NCRs before mapping to bean property. Example 1: or ... I input japanese characters: ããã Before it is mapped to bean property myPro:

Re: [HELP] How to do validation in Struts + iBatis + DAO???

2005-04-14 Thread Pham Anh Tuan
Dao layer. The domain/model objects are the only shared elements among the various layers. Brandon On 4/12/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote: Right, like Mark said, I'm following JPetStoreExample, Rick :), when you use DAO, ur Bean must extends from Basebean of DAO pattern. S

Re: [HELP] tag can not write Japanese or Vietnamese

2005-04-13 Thread Pham Anh Tuan
ling List'" (BSent: Wednesday, April 13, 2005 1:58 PM (BSubject: RE: [HELP] tag can not write Japanese or Vietnamese (B (B (B> Try this out: (B> (B> (B> "session"/> (B> (B> (B> NOTE: Assuming browser locale is Japanese. (B> (B> (

[HELP] tag can not write Japanese or Vietnamese

2005-04-12 Thread Pham Anh Tuan
Hi all, I got a problem when I write out data on jsp. I have a String = "わたし" which means ããã in Japanese I use it only shows "わたし" plz show me how to solve this problem. thanks.

Re: [HELP] How to do validation in Struts + iBatis + DAO???

2005-04-12 Thread Pham Anh Tuan
he way that it does by extending the validate() method of BaseBean. Then you can set validate="true" in your struts-config. Mark On Apr 12, 2005 12:54 AM, Rick Reumann <[EMAIL PROTECTED]> wrote: Pham Anh Tuan wrote the following on 4/11/2005 4:02 AM: > Hi all, > > I don't know

Re: [HELP] How to do validation in Struts + iBatis + DAO???

2005-04-11 Thread Pham Anh Tuan
?? I am not sure why this is a problem, unless you are passing your action form into iBATIS. If that is the case, that is a really, really, really bad idea. What I would recommend (beyond not using validator) is nesting your model bean on the action form. Larry On Apr 11, 2005 2:02 AM, Pham Anh Tuan

[HELP] How to do validation in Struts + iBatis + DAO???

2005-04-11 Thread Pham Anh Tuan
Hi all, I don't know how to do Validation in Struts + iBatis + Dao. Because when I use above Structure, I must extends from BaseBean to create my own Bean. As you know, if we want to use Validator of Struts, our ActionForm must extends from ValidatorForm. So ... help me. bowl

Re: [HELP] How can javascript reference to 1 html:hidden tag or html:text ???

2005-03-30 Thread Pham Anh Tuan
Thank you all :"), my problem is solved! - Original Message - From: "Mark Benussi" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Thursday, March 31, 2005 12:05 AM Subject: RE: [HELP] How can javascript reference to 1 html:hidden tag or html:text ??? document.forms['formBe

[HELP] how to get value of check box array ???

2005-03-30 Thread Pham Anh Tuan
Hi, I still need more help. I have a group of check box (with the same name ), so how to get this array values from Form Bean thank for reading

[HELP] How can javascript reference to 1 html:hidden tag or html:text ???

2005-03-30 Thread Pham Anh Tuan
Hi, I don't know how javascript reference to 1 html:hidden tag or html:text tag of struts tag lib and change their value. for example: I have How can I change the value of tag above by javascript. Maybe document.all.userId.value="somevalue" <-- like this ??? help me :(

Re: [HELP] Error "...is null or not an object" when using Struts+iBatis+DAO ?

2005-03-28 Thread Pham Anh Tuan
Hi, sorry all, this is my mistake :") I have just predefined 1 javascript below header tag and I put it into onLoad in body tag and I ... forgot that script :") ... Sorry all Thank u for ur reading :") - Original Message ----- From: "Pham Anh Tuan" <[EMAIL P

[HELP] Error "...is null or not an object" when using Struts+iBatis+DAO ?

2005-03-28 Thread Pham Anh Tuan
Hi all, I need your help :( Like my subject, I use Struts + iBatis + DAO. I get error message "document.all.cateInfoFrame is null of not an object" but ... my action is done ??? my code line is: Main.jsp: contains 2 IFrames: 1 called iframe1 (IFrame1.jsp) and 2 called cateInfoFrame (IFrame2.js

Re: [HELP] How could I catch and process Errors in Struts + iBatis + DAO?

2005-03-24 Thread Pham Anh Tuan
There is a good example at http://www.reumann.net/struts/ibatisLesson1.do about this. download the sample war and look inside. cheers On Wed, 23 Mar 2005 17:31:53 +0700, Pham Anh Tuan <[EMAIL PROTECTED]> wrote: Hi, I don't know how to catch and process errors in Struts + iBatis + DAO. An

[HELP] How could I catch and process Errors in Struts + iBatis + DAO?

2005-03-23 Thread Pham Anh Tuan
Hi, I don't know how to catch and process errors in Struts + iBatis + DAO. Anyone here can help me, plz :( thank for ur reading. Tuan

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread Pham Anh Tuan
's wrong with my html:link syntax... :( You cannot use a tag as attribute of another tag : they must follow an XML structure Use a variable to store the result of your tag : Go or If you don't use struts-EL, use bean:define to define a script v Go Nico. Pham Anh Tuan a écrit :

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread Pham Anh Tuan
Hi all, I got a problem when I code like below: ">Go I can not get value of if my code is incorrect, plz help me solve it. thanks Bowl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[HELP] What's wrong with my html:link syntax... :(

2005-03-15 Thread Pham Anh Tuan
Hi all, I got a problem when I code like below: ">Go if my code is incorrect, plz help me solve it. thanks Bowl

Re: [Help] I need tutorial which tells us how to integrate Struts and Hibernet

2005-03-10 Thread Pham Anh Tuan
Thank you very much, Rick :") - Original Message - From: "Rick Reumann" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, March 10, 2005 5:07 AM Subject: Re: [Help] I need tutorial which tells us how to integrate Struts and Hibernet Ph

[Help] I need tutorial which tells us how to integrate Struts and Hibernet

2005-03-09 Thread Pham Anh Tuan
Hi all, Who can help me or show me where I can get tutorial which tells me how to integrate Struts and Hibernet. thanks for advance Anh Tuan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

[NEED] I need example and document about DispathAction

2005-02-20 Thread Pham Anh Tuan
Hi, I'm looking for some tutorial or document of Dispath Action. Who knows where I can find it, plz show me! thanks for advance! Anh Tuan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: [HELP] Understanding clearly about function of Nested Tags

2005-02-18 Thread Pham Anh Tuan
Sorry about my mistake... Thank you, Rick! - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, February 19, 2005 9:07 AM Subject: Re: [HELP] Understanding clearly about function of Nested Tags Oh, than

Re: [HELP] Understanding clearly about function of Nested Tags

2005-02-18 Thread Pham Anh Tuan
ut function of Nested Tags Pham Anh Tuan wrote the following on 2/17/2005 10:56 PM: I don't know clearly about functions of Nested Tags. I have not used it before. I read in struts.apache.org about it, and all I know is it's somthing like logic ... plz, show me the powerful ability of

  1   2   >