Re: Re: Display Arabic Data in Database in JSP
Thanks for the reply. I have some data in the page that needs to be displayed in english and one field to be displayed in arabic in the same jsp page.If I set the encoding to match with arabic is it possible to display the data in english properly? any idea??? thanks , Prakasan On Tue, 27 Jul 2004 ron1 wrote : I am not sure if it solves the problem, but you can set an HTML META tag in your HTML header, defining the encoding. Your response also has an encoding, so you can also set that - if you use both, it might solve the problem. I am not sure where is the propper place instruts to set the response encoding - I would guess it would be in a custom Controller class, if you need it for the whole application. If its only for one page... hmm... Cheers, und Salam Aleykum, Ron Prakasan OK wrote: Hi, I have some arabic data in my oracle database and I need to display this in my jsp page.When I select the value from the databse I am getting the ascii value like this(ÅäÌáíÒí).How can I convert this to original arabic value and display in my jsp page. Thanks in advance, Prakasan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: Display Arabic Data in Database in JSP
Hi Ron, Once again thanks a lot for ur prompt reply. can u tell me what is the encoding i should use to display the content in arabic and english in the same jsp page? It would be really helpful if u can give me a sample code snippet. Thanks, Prakasan On Tue, 27 Jul 2004 ron1 wrote : Prakasan OK wrote: Thanks for the reply. I have some data in the page that needs to be displayed in english and one field to be displayed in arabic in the same jsp page.If I set the encoding to match with arabic is it possible to display the data in english properly? yes. any idea??? thanks , Prakasan On Tue, 27 Jul 2004 ron1 wrote : I am not sure if it solves the problem, but you can set an HTML META tag in your HTML header, defining the encoding. Your response also has an encoding, so you can also set that - if you use both, it might solve the problem. I am not sure where is the propper place instruts to set the response encoding - I would guess it would be in a custom Controller class, if you need it for the whole application. If its only for one page... hmm... Cheers, und Salam Aleykum, Ron Prakasan OK wrote: Hi, I have some arabic data in my oracle database and I need to display this in my jsp page.When I select the value from the databse I am getting the ascii value like this(ÅäÌáíÒí).How can I convert this to original arabic value and display in my jsp page. Thanks in advance, Prakasan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: javascript -check all
function checkAll(formName,field) { var formtest = document. + formName +.+field; var formObj= eval(document. + formName +.+field); var length = formObj.length; if(length 1){ for (i = 0; i length ; i++) formObj[i].checked = true ; } else{ formObj.checked = true ; } } u can use the above javascript function where form is the name of ur html form and filed is the name of ur chexbox On Sat, 17 Apr 2004 as as wrote : Hi Probably slightly off topic but i ahve a jsp using struts that has a table with rows.each row has a check box.I have a checkbox at the top of the table, clicking which, i want all below checkboxes to be checked..has anyone implemented this code.. Thanks much in advance, sam - Do you Yahoo!? Yahoo! Tax Center - File online by April 15th