JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:309) ( URGENT !! )

2005-09-14 Thread EROL TEZCAN
Hi, We want to deploy an struts application to live server (oracle 10g IAS). This application is working properly on our local server. But when we want to deploy and start this app. it gives an error like this. 500 Internal Server Error java.lang.NullPointerException at

how can I add request parameters to url ?

2005-08-03 Thread EROL TEZCAN
Hi , I have a simple question. In a report page, I give a link on every record to show detail with this code: (for example) myAction.do?myId=5 Detail page is shown without any problem. When I submit this form to same action, I cannot add myId parameter to myAction.do Normally I can get

Re: how can I add request parameters to url ?

2005-08-03 Thread EROL TEZCAN
myId=5 is dynamic. Its value can be changed. It is not working. Leon Rosenberg [EMAIL PROTECTED] wrote: [input] in your form. On Wed, 2005-08-03 at 05:13 -0700, EROL TEZCAN wrote: Hi , I have a simple question. In a report page, I give a link on every record to show detail

Re: how can I add request parameters to url ?

2005-08-03 Thread EROL TEZCAN
leon On Wed, 2005-08-03 at 05:30 -0700, EROL TEZCAN wrote: myId=5 is dynamic. Its value can be changed. It is not working. Leon Rosenberg wrote: [input] in your form. On Wed, 2005-08-03 at 05:13 -0700, EROL TEZCAN wrote: Hi , I have a simple question. In a report page

Re: how can I add request parameters to url ?

2005-08-03 Thread EROL TEZCAN
Rosenberg wrote: 1) yes, but then you can't use struts form-tags, otherwise no. 2) yes, if it's part of the action form. regards Leon On Wed, 2005-08-03 at 06:01 -0700, EROL TEZCAN wrote: It works fine. And two question :) Can we add request parameters to url directly without using

Re: html:button validation problem

2005-07-21 Thread EROL TEZCAN
but with 'this'. 'this' refers to the object from which the function is called. So in your first case 'this' refers to the form object whereas in the second case it refers to the button object. Amitava Basak ASE(T) Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com EROL TEZCAN

html:button validation problem

2005-07-20 Thread EROL TEZCAN
Hi all, In my JSP page, I defined a html:form like this. html:form action=/CagriAcma.do enctype=multipart/form-data onsubmit=return validateCagriAcmaFormu(this) ... html:submit property=kayit styleClass=buton value=KAYDET / /html:form It works fine and does client-side

Re: upload/download file to/from oracle blob field with struts

2005-07-12 Thread EROL TEZCAN
at the article Martin referenced for you, it's a fairly generic problem, not something that you will write a bunch of Oracle-specific code for (I suppose you *could*, but at least when I did it I did not, and it was straight JDBC coding). Frank EROL TEZCAN wrote: Hi, I want to upload/download a file

html:select Problem !!

2005-07-12 Thread EROL TEZCAN
Hi all, I want to set records come from database into a html:select tag. I found some example like below html:select property=selectedItem html:options collection=customers property=id labelProperty=name / /html:select When I set th options as static , the list comes without any problem. But

Re: html:select Problem !!

2005-07-12 Thread EROL TEZCAN
=tumSikayetler html:options collection=sikayetler property=sikayetKodu labelProperty=sikayet / /html:select src=cid:10__=0ABBFAAFDFD86F@powersystems.rockwell.com; width=16EROL TEZCAN [EMAIL PROTECTED] EROL TEZCAN [EMAIL PROTECTED] 07/12/2005 09:38 AM Please respond to Struts Users Mailing

upload/download file to/from oracle blob field with struts

2005-07-11 Thread EROL TEZCAN
Hi, I want to upload/download a file to/from oracle blob field. How can I do this ? Please give an example code. Thanks, Erol __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: stopOnFirstError

2005-07-06 Thread EROL TEZCAN
Any suggestion ? EROL TEZCAN [EMAIL PROTECTED] wrote:Hi, I want to alert to user, when the first error occured on the ActionForm . To do this I am using stopOnFirstError ppoperty in struts-config.xml like this But all erros are displayed on the JSP page. My ActionForm ' s type

stopOnFirstError

2005-07-05 Thread EROL TEZCAN
Hi, I want to alert to user, when the first error occured on the ActionForm . To do this I am using stopOnFirstError ppoperty in struts-config.xml like this plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames

Re: struts - checkbox control

2005-07-04 Thread EROL TEZCAN
Hi , Your example is very clear. It works fine. Thanks a lot Rafael, Erol Rafael Taboada [EMAIL PROTECTED] wrote: Hi, in ur ActionForm define: String[] chkRecords; //with setter and getter In ur jsp define checkbox with a multibox: list: ArrayList that it has all the records in order to

struts - checkbox kontrol

2005-07-01 Thread EROL TEZCAN
Hi, When an Action (ListRecord.do) was invoked by a JSP , it lists all records from db like this. namesurnamedelete --- aaa1b1| + | aaa2

from struts 1.1 to struts 1.2.7 on JDev 10 g

2005-06-27 Thread EROL TEZCAN
Hi All, I am using JDev 10g. Now I want to use struts 1.2.7. Now it works with struts 1.1 I downloaded struts 1.2.7 and extract it in a temp folder, and copied all files to /jdev/jakarta_struts/ folder. When I want to run my old application(employee), it gives me some of errors like that:

DataSource Error

2005-06-27 Thread EROL TEZCAN
Hi, I upgrade my struts 1.1 files to struts 1.2.7. When I used struts 1.1 , I can get a connection with DataSource in struts-config.xml like that codes: struts-config.xml data-source key=db1 set-property property=driverClass

native2ascii

2005-06-24 Thread EROL TEZCAN
Hi, In my application, I want to create ApplicationResources_tr.properties file for Turkish using native2ascii For this , I am using native2ascii -encoding UTF-8 ApplicationResources_tr_old.properties ApplicationResources_tr.properties command from dos prompt. But this process

Re: native2ascii

2005-06-24 Thread EROL TEZCAN
Yes, I tried processed files, but in jsp file chars seem wrong like #65533; Jana Parvanova [EMAIL PROTECTED] wrote: This should be Ok. Have you tried using the processed files? - Original Message - From: EROL TEZCAN To: sturts_apache_user sturts_apache_user Sent: Friday, June 24

Re: native2ascii

2005-06-24 Thread EROL TEZCAN
format. Near the top of every JSP we have contentType=text/html;charset=UTF-8 pageEncoding=UTF-8 language=java % Hopefully this should work. Good luck. --- EROL TEZCAN wrote: Yes, I tried processed files, but in jsp file chars seem wrong like #65533; Jana Parvanova wrote: This should be Ok

RE: Cannot find message resources under key org.apache.struts.action.MESSAGE Error

2005-06-20 Thread EROL TEZCAN
which *appear* to be the same and that one is working whilst the other is failing with the Cannot find message resources under key org.apache.struts.action.MESSAGE error? -Original Message- From: EROL TEZCAN [mailto:[EMAIL PROTECTED] Sent: 17 June 2005 15:53 To: Struts Users Mailing List

Cannot find bean employees in any scope

2005-06-20 Thread EROL TEZCAN
that everything is ok now? Or are you saying that you have two projects which *appear* to be the same and that one is working whilst the other is failing with the Cannot find message resources under key org.apache.struts.action.MESSAGE error? -Original Message- From: EROL TEZCAN [mailto

Cannot find message resources under key org.apache.struts.action.MESSAGE Error

2005-06-17 Thread EROL TEZCAN
Hi All, I am working to run an example in Mastering Jakarta Struts Chapter 11 . When I want to run this application , I got an error. javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE at

RE: Cannot find message resources under key org.apache.struts.action.MESSAGE Error

2005-06-17 Thread EROL TEZCAN
(MLIM) [EMAIL PROTECTED] wrote: Is there a file named ApplicationResources.properties in the WEB-INF/classes/employees/view folder within your deployed application? If so, does this file contain a property for app.title (e.g. app.title=Foo)? -Original Message- From: EROL TEZCAN [mailto