RE: Problem with struts and jfree chart

2007-03-06 Thread Patil, Sheetal
Before a long I face such kind of problem, and I resolve it. I don't remember exactly but it was something regarding to jcommon.jar/common.jar. Just search on it. I don't remember much. Shital -Original Message- From: GulliGulli Bob [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06,

RE: File Upload validation

2006-10-05 Thread Patil, Sheetal
U cant enter client side validation for file present or empty rather u can restrict to enter data manually typing (offcource in javascript). like html:form onkeypress=return false/ Better to put validation on server side apart from this -Original Message- From: Pankaj Gupta [mailto:[EMAIL

RE: Action output in new window without menu/toolbar

2006-09-20 Thread Patil, Sheetal
For that u have to go for manually in javascript -Original Message- From: Martin Kindler [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 4:38 PM To: 'Struts Users Mailing List' Subject: Action output in new window without menu/toolbar Hi I am using Struts 1.2.x and try to

RE: Html:file - urgent

2006-09-20 Thread Patil, Sheetal
YOU CANT CHECK B'COZ JAVASCRIPT DOSENT ALLOW U TO READ THE FILE ON DISC. You can do 1. html:file property= onkeydown=javascript:return false;/ //it causes that no user can enter data manually, rather he has to select using brows button 2. check in javascript wheather that field is empty or

RE: Validation framework for Dynamically added HTML elements?

2006-09-14 Thread Patil, Sheetal
U can create array and create field as per reqiuirment,but this has limit and here problem is for arrayindexoutofboundexception after limit exceeds. Elsewise u can use ajax, put ur form in session and send requeset to an action which will increase the size of array and again put into the session.

RE: ParserUtils: warning org.xml.sax.SAXParseException error

2006-08-06 Thread Patil, Sheetal
. Thanks all for your help, Shital -Original Message- From: Patil, Sheetal Sent: Thursday, August 03, 2006 7:11 PM To: 'Struts Users Mailing List' Subject: RE: ParserUtils: warning org.xml.sax.SAXParseException error Hi thanks for reply, I have already gone through this solution. I have

ParserUtils: warning org.xml.sax.SAXParseException error

2006-08-03 Thread Patil, Sheetal
hi all currently i am facing ParserUtils: warning org.xml.sax.SAXParseException message while compiling any jsp page. after jsp file is compiled this message dosenot come for next request to jsp page. i am developing application from struts. currently i used JFreeChart to design some chart. for

RE: ParserUtils: warning org.xml.sax.SAXParseException error

2006-08-03 Thread Patil, Sheetal
. It doesn't matter how you were, but rather how you are that decides your future. A right attitude will get you to Success. - Original Message - From: Patil, Sheetal To: Struts Users Mailing List Sent: Thursday, August 03, 2006 5:34 PM

graphs in jsp/struts

2006-08-01 Thread Patil, Sheetal
hi all i want to display graphs in my application. so is there any taglibs or something else to display graphs. Sp

Ajax query

2006-07-31 Thread Patil, Sheetal
hello friends, i have one query with Ajax. in struts we separate model-view-controller, even that's struts purpose. but now a days i am using Ajax, and i seen most of the examples are producing html code or data to display and sending it to client. but i think this is violating M-V-C pattern as

RE: Proper Struts Tags

2006-07-31 Thread Patil, Sheetal
I also suffered from this problem so I write code like %String str=designation+count;% html:select name=employeeHashMap property=%=str% So it wroks fine -Original Message- From: Thomas Joseph [mailto:[EMAIL PROTECTED] Sent: Monday, July 31, 2006 6:34 PM To: Struts Users Mailing List

RE: Proper Struts Tags

2006-07-31 Thread Patil, Sheetal
- Original Message - From: Patil, Sheetal I also suffered from this problem so I write code like %String str=designation+count;% html:select name=employeeHashMap property=%=str% So it wroks fine -Original Message- From: Thomas Joseph [mailto:[EMAIL PROTECTED

RE: Proper Struts Tags

2006-07-31 Thread Patil, Sheetal
. But with your solution applied, I could get the html:select rendered, but not have the pre-selection Hope this would be clear Thanks Thomas Joseph - Original Message - From: Patil, Sheetal To: Struts Users Mailing List Sent: Monday, July 31, 2006 7:03 PM

RE: Session Tracking

2006-07-28 Thread Patil, Sheetal
As I know session timeout value is used, if for that perticular time if user is inactive then distroy the session. And as close window dosen't contact with server you can't track it (preferably use session timeout) or use ajax and send distroy request to server on pageclose event if possible

RE: form in application context`

2006-07-28 Thread Patil, Sheetal
Its better that u put an normal DTO in application scope and change values as per condition -Original Message- From: Kavita Mehta [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 4:02 PM To: Struts Users Mailing List Subject: Re: form in application context` but why not form bean

RE: Session Tracking

2006-07-28 Thread Patil, Sheetal
: Patil, Sheetal [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 11:28 AM To: Struts Users Mailing List Subject: RE: Session Tracking As I know session timeout value is used, if for that perticular time if user is inactive then distroy the session. And as close window dosen't contact

RE: form in application context`

2006-07-28 Thread Patil, Sheetal
:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 4:24 PM To: Struts Users Mailing List Subject: Re: form in application context` can you please exlpain it furthur as i am new to struts n i have never used a DTO . Patil, Sheetal wrote: Its better that u put an normal DTO in application scope

Replace ' by /' in while passing to javascript with bean:write

2006-07-25 Thread Patil, Sheetal
hi there, I am passing a string value to a javascript function with like Onclick=javascript:functionName('bean:write name=xx property=qq/'); And function is like Function functionName(data) { Alert(data); } Now it works fine if bean:write passes a string without any quotes like this is the

show value in array into textbox

2006-07-13 Thread Patil, Sheetal
hi everybody, i am doing an application for an survay. here i have a list of questions and i am getting answer by the users for that questions. to read the answers i create an int array in actionform as int[] answers; and in jsp i write like html:text property=answers/ html:text property=answers/

About sending mails from tomcat

2006-06-29 Thread Patil, Sheetal
Hi all Finally I got the solution for sending mails from my struts application The problem was that my antivirus was not allowing me to connect SMTP server through port no 25 When I disable port blocking I get success Tanks all, for your help Sp

want javamail debug help

2006-06-18 Thread Patil, Sheetal
Hello friends, I am trying to send email from my application but I am not able to. So I set debug=true and get following debug. I am having exception javax.mail.NoSuchProviderException: Invalid protocol: null . Can u please describe me this debugs. DEBUG: JavaMail version 1.4ea DEBUG:

Re: want javamail debug help

2006-06-18 Thread Patil, Sheetal
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 11:23 AM To: Patil, Sheetal Subject: Re: want javamail debug help Kindly Post the Source Code. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61

RE: urgent- exception in sending e-mail from application

2006-06-16 Thread Patil, Sheetal
Is it the same network? --- Patil, Sheetal [EMAIL PROTECTED] wrote: Ye I can ping to host Pinging smtp-host-name [IP] with 32 bytes of data: Reply from IP: bytes=32 time=361ms TTL=125 Reply from IP: bytes=32 time=323ms TTL=125 Reply from IP: bytes=32 time=326ms TTL=125 Reply from IP

RE: urgent- exception in sending e-mail from application

2006-06-16 Thread Patil, Sheetal
Oh my mistake Actually Our network is 10.9.57.* And Smtp is on 10.9.55.29 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 11:53 AM To: Struts Users Mailing List Cc: Patil, Sheetal Subject: RE: urgent- exception in sending

RE: PLZ help : urgent

2006-06-16 Thread Patil, Sheetal
Hi I have face the same prob but couldnot find any tags in jsp for that In action class when u put bean in array just check out for the required condition/repetation like if some division is repeated then keep blank that field in bean and then put it to arraylist and session And use

urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
Hello friends I am trying to send mail from my application Here is the code Properties properties = System.getProperties (); properties.put (mail.smtp.host,smtp host name); Session session = Session.getDefaultInstance (properties,null);

urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
Hello friends I am trying to send mail from my application Here is the code Properties properties = System.getProperties (); properties.put (mail.smtp.host,smtp host name); Session session = Session.getDefaultInstance (properties,null);

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
() { PasswordAuthentication pa = new PasswordAuthentication(username,password); return pa; } } props.put(mail.smtp.auth, true); Authenticator a1= new MyAuthenticator(); Session mailsession = Session.getDefaultInstance(props, a1); --- Patil, Sheetal [EMAIL PROTECTED] wrote: Hello friends I am

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
); Authenticator a1= new MyAuthenticator(); Session mailsession = Session.getDefaultInstance(props, a1); --- Patil, Sheetal [EMAIL PROTECTED] wrote: Hello friends I am trying to send mail from my application Here is the code Properties properties = System.getProperties

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
- exception in sending e-mail from application Are you on the same network as the SMTP host? Can you ping the host? --- Patil, Sheetal [EMAIL PROTECTED] wrote: Hi thx for reply I have tried to use the authentication, as u describe but still the exception is same Thanks Shital

wanna know abt threads and springs

2006-06-08 Thread Patil, Sheetal
Hi Actually I work on struts and tomcat 5.0 and I am not aware of treads and springs, which are more popular on mailing list now days, so can u please tell me about these or give me some links for threads and springs Thanks in advance Sp

RE: hey again

2006-05-28 Thread Patil, Sheetal
Hi When u selects multiple values then it will store array of the data type of your values in list box If nothing is selected it will store null -Original Message- From: Abhimanyu Koul [mailto:[EMAIL PROTECTED] Sent: Monday, May 29, 2006 10:47 AM To: Struts Mailing list Subject:

Comparison of two beans in jsp

2006-05-12 Thread Patil, Sheetal
Hello friends Can we compare values of two beans in jsp page by using any tag ( like logic etc...) Or is there any other method to compare values of two beans in jsp page Thanks in advance, Sp

RE: problem while deployin

2006-05-11 Thread Patil, Sheetal
Hay u havent mention what is this va-value -Original Message- From: Anil Kumar Pippalapalli [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 4:32 PM To: user@struts.apache.org Subject: problem while deployin Hi all, I have a simple application which tries to validate user

RE: Accessing List in JSP

2006-05-11 Thread Patil, Sheetal
First thing you have to set your form object in either session or request by in action classs if(request.equals(mapping.getScope())) { request.setAttribute(mapping.getAttribute(),form); }else { request.getSession().setAttribute(mapping.getAttribute(), form);

RE: Basic Logic:iterate question

2006-05-10 Thread Patil, Sheetal
Hi there As my best knowledge your logic:equal tag is wrong it requir value And logic:equal dosenot support to comparison of strings it only supports for either int or boolean -Original Message- From: josh t [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 7:41 AM To:

Jsp Tabs

2006-05-05 Thread Patil, Sheetal
Hello friends I am using ditchnet tab taglib . However it works fine for normal text in tagPane tab:tabContainer id=foo-bar-container skin=wireframe tab:tagPane id=aa tabTitle=one Hello 1