Printing a JSP Page

2001-08-23 Thread Smita Kotnis
Hi all, Is it possible to save a JSP page as HTML, in to a folder on click of a button within that JSP? If possible how to do this? I am having a JSP page contaning some data, on click of a button of that JSP, the whole file should be stored as HTML. I appriciate any sort of help... Th

Charts

2001-08-23 Thread Smita Kotnis
Hi all, I need to develop some application which should produce some kind of charts (Bar charts to be precise) What is the best way to do that? Are there any free softwares available on internet related to this? Data to these charts is comming from data base. Any help? Thanks in advance

Re: Client Date

2001-09-03 Thread Smita Kotnis
I guess, the Java "Locale" class will be of help in this case. As this "Locale" class, will present the date to client according to local time zone. We got this problem solved using Locale class. Our server is in US and takes the date in WST timse zone, but when we are seeing the date in Singap

Re: Client Date

2001-09-03 Thread Smita Kotnis
hy dont u store the Time zone's of ur clients in the database > this might be help full for multiple clients at different time zone > i have tried it and it is working fine > > > Cheers > SriHari > > -----Original Message- > From: Smita Kotnis [mailto:[EMAIL PROTEC

Re: File Upload in JSP

2001-09-04 Thread Smita Kotnis
Hi, You can use classes readly avilable. One such thing is "JSP smart upload". You may go to the site, www.jspsmart.com for details, you need to put these class files in your application server path and it works. Hope this helps. Regards Smita Naresh Chhuttani <[EMAIL PROTECTED]>: > Hi, >

File Download in JSP

2001-09-06 Thread Smita Kotnis
Hi all, I want to download a file from server to client's local disc. What is the way to do this? I am trying to use, Jsp smart upload class for downlod (Which says there is a method to download too), but is giving me error that, "this page cannot be displayed" any ideas how to go ahe

File Download in JSP(Urgent)

2001-09-06 Thread Smita Kotnis
hi all, Please any one suggest me how to download a file from server? I want to save the file directly to client's local disk with out opening the dialog box... Any suggestions? Any freely available classes for this purpose? Please help Regards Smita --

Re: File Download in JSP(Urgent)

2001-09-06 Thread Smita Kotnis
Hi, Thanks for your reply. but, if I give href to that document, it will open that document, right? My requirement is a bit different. I want to download multiple files on click of a button from server to client's local disc. The directory where the files are to be copied is hard coded. Is

Re: File Download in JSP(Urgent)

2001-09-06 Thread Smita Kotnis
Hi Richard, I completely agree with your point. I am sorry, I have not thought in these lines. Actually the requirement was, out of some files, if client selects some of files and press download, they should come to his hard drive so that he can cut a cd with these files. Thanks for

CC field in Java Mail

2001-09-13 Thread Smita Kotnis
hi all, How to send a Java Mail to multiple users? Any code avialable with some body? Thanks in advance Smita - This mail sent through : http://mail.sify.com === To un

Formatting the Text in JavaMail.

2001-09-14 Thread Smita Kotnis
Hi all, I am sending a mail from JSP using Java Mail API. It contains a lot of text. I want that text to be formatted in a better way. Right now the whole test is coming in a single line, which looks very odd when ever that mail is opened. Is there any way for formatting that? I want

Re: Formatting the Text in JavaMail.

2001-09-14 Thread Smita Kotnis
hi *** <"+System.getProperties()); Session session = Session.getInstance(properties,null); Message message=new MimeMessage(session); message.setFrom(new InternetAddress("[EMAIL PROTECTED]")); message.setReci

Re: Formatting the Text in JavaMail.

2001-09-14 Thread Smita Kotnis
Hi, thanks If I set as text/html, will it be okay? I tried with "/n" and "/t", it is giving some adverse look Smita Quoting Senthil Raja V <[EMAIL PROTECTED]>: > Hi. > if you want to send mail in html format. > you can just change the message's MIME type alone. > i think you might

Mime Types and attachment in JavaMail

2001-09-17 Thread Smita Kotnis
hi all, In Java Mail (In JSP) if I use "text/plane" mime format, I can able to send an attachement, but I change the mime type to "text/html", it is not attaching the file. I want this "text"html" format as I am sending atable in the mail. Any idea how to overcome this problem? Thanks i

Receiving a mail from SMTP server

2001-09-20 Thread Smita Kotnis
Hi all, I am using JavaMail in my JSP to receive the mails from SMTP server. How to receive a mail from SMTP server with attachments? Any piece of code will be appreciated. Thanks in advance. Smita - This mail sent through : http://mail.sify

Re: Receiving a mail from SMTP server

2001-09-20 Thread Smita Kotnis
{ > e.printStackTrace(); > } > > Vikramjit singh, > eAngel Team, > Global Tele-systems Ltd. > Ph. 7612929-3140 > > > -Original Message- > From: Smita Kotnis [mail

Problem With Weblogic

2001-10-31 Thread Smita Kotnis
Hi all, We have a problem with Weblogic server 5.1. We have a application built with JSPs. After some time, the WebLogic becomes slow, meaning to say it takes a lot of time to load pages comparatively. If we restart the server the problem appears to be solved but after some time, it aga

File Upload Using Tomcat

2001-12-24 Thread Smita Kotnis
Hi All, I want to upload a file from client to server. Does tomacat provides any beans/tags for this. I am having a problem with "JspSmartUpload" using Tomcat. Please let me know if there are any such beans. Thanks in advance. Smita - This

Re: Please help me with JavaMail

2002-01-30 Thread Smita Kotnis
hile(stCC1.hasMoreTokens()) { firstPartCC1=stCC1.nextToke(); addressCC[l]= new InternetAddress(firstPartCC1) ; l=l+1; } message.setRecipients(Message.RecipientType.CC,addressCC); With best regards, Smita Kotnis. Lorena Carlo <[EM

Work Flow Generation.

2002-01-30 Thread Smita Kotnis
create the work flow using HTML/DHTML ? Work flow should be multiple branching and with OR/AND options. A drag and drop kind of a thing using JavaScript/HTML would be the ideal solution. Thanks in anticipation, Smita Kotnis. - This mail helped a

Re: Work Flow Generation.

2002-01-31 Thread Smita Kotnis
Quoting jehu fleuriot mbeumo <[EMAIL PROTECTED]>: > I am also interesting on the topic and i am starting a new project where > i > use that idea. > Please send me your code. > And the things to know to do Workflow with JSP. > > - Original Message - >

Re: Work Flow Generation.

2002-01-31 Thread Smita Kotnis
things to know to do Workflow with JSP. > > - Original Message - > From: "Smita Kotnis" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, January 31, 2002 6:39 AM > Subject: Work Flow Generation. > > > > Hi, > >

Generation Of Excel File From JSP

2002-02-13 Thread Smita Kotnis
Hi All, In my application I have a requirement of creating an excel file from a JSP page. The data would be in a couple of vectors and based on those values multi columned excel sheet is to be generated. How to do this?? any suggestions? Thanks in anticipation. Regards Smita --

Re: Generation Of Excel File From JSP

2002-02-14 Thread Smita Kotnis
Hi, Thanks for reply. But can you tell me how to do that?? Smita Sandy <[EMAIL PROTECTED]>: > u can use a combination of client side Scrpt (VB > Script) together with JSP to do that. > > > --- Smita Kotnis <[EMAIL PROTECTED]> wrote: > > Hi All, >

Taglib in Tomacat.

2002-02-24 Thread Smita Kotnis
Hi All, I need to use a taglib developed by third party in my JSPs. I have one .jar and a .tld file with me. Where to put these files so that my tomcat 3.2 understands it? I tried following options, 1. Made a directory as tld under WEB-INF and tried to call it in my JSP as, <@@ tag lib

Re: Taglib in Tomacat.

2002-02-24 Thread Smita Kotnis
\skillset\\WEB-INF\\web.xml (The system cannot find the file spe cified) So, I tried to put the web.xml file in /skillset/WEB-INF directory, in that case, tomcat didnot started at all. I am not understanding where I am making mistake? Any more inputs ?? Thanks in advance Smita Kotnis. Hans Be

Re: Taglib in Tomacat.

2002-02-25 Thread Smita Kotnis
at is happening here. This tag I am using for uploading a file from client. Alternatively, can you please suggest me some servlets for uploading a file? JSP Smart upload is distorting the tables of a word file. Thanks a million, Smita Kotnis. Hans Bergsten <[EMAIL PROTECTED]>: > Smit

Re: Taglib in Tomacat.

2002-02-26 Thread Smita Kotnis
. Thanks again, Smita Hans Bergsten <[EMAIL PROTECTED]>: > Smita Kotnis wrote: > > > Hi thanks for reply, > > > > I fear, my mail server is adding the backslashes. I actually have not > added these in my code. I tried with your suggestions and still it is > no

Re: JavaMail with attachments

2002-02-26 Thread Smita Kotnis
hi, I had used this is JSP, hope this would be help full to you.. Smita If it is sending the attachment it is some thing like this, ** //Text part BodyPart bodyPart1=new MimeBodyPart(); bodyPart1.setText(\"Sedn

Reverse Proxy and sendRedirect

2002-02-26 Thread Smita Kotnis
hi, We have configured a reverse proxy, to connect one of our internal application and database servers to the internet. Now we have problems with JSP-based applications and rewrite commands which were issued from those apps: The Login page is avaliable under http://reverse-proxy.domain/skills

Re: Pop3 Mail client.

2002-03-15 Thread Smita Kotnis
Hi, This you can do with using Javamail for sure. You may also wish to have a look at taglib at following URL http://www.servletsuite.com/servlets/poptag.htm I did one of my projects exactly on your lines, but it was not updaing the database is the only difference. Hope this helps, Smita

Re: sendRedirect() error.

2002-03-25 Thread Smita Kotnis
Yes, This "response already commited" error is because of the JSP tag of including the files as Vikram has pointed out. Remove that statement, it will work. Instead you can use, <@page include.. /> Smita Vikramjit Singh <[EMAIL PROTECTED]>: > hi adnan, > > even i had got this err

Re: javax.mail.NoSuchProviderException

2002-03-25 Thread Smita Kotnis
Hi, I too faced this problem, when I was working with Weblogic. The reson was, weblogic providers are old one and they won't suppport some of the features. What I did was, I gave a new classpath in weblogic preclass path for provider.jar, before the weblogic jar files. Thus, setting the c

Re: Email attachment

2002-04-02 Thread Smita Kotnis
Yes, Java Mail doc says how to do this. Please go through the docs. Smita Quoting Alireza Nahavandi <[EMAIL PROTECTED]>: > Hi All, > > Does anybody have the experience of attaching a file to an email in Java > ? > > Thank you. > > ==

Re: jsp:forward tag strange problem

2002-04-15 Thread Smita Kotnis
Hi, One other alternative would be, to use, response.sendRedirect="CompletURL". Your URL must me some thing like this, thirdpage.jsp?firstString=+firValue+"secondString="+secValue, I think, it will work. I too had same problem with this JSP:Forward using Params, I did this redirect, it wor

Re: java and excel

2002-04-23 Thread Smita Kotnis
Hi, There is a utility called, jxl, you can download that and put in your classpath. Then following code will get the data from excel file. Importing this jar will do, and I am not sure new version of weblogic do have this in built. This works fine and efficient... simple to code too..Hope

Re: Converting date to int

2002-05-01 Thread Smita Kotnis
Yes, Calender would be the good soln. In one of my aplication, I was supposed to compare the months, I had used the same concept. And it works fine. Smita Mike Shoemaker <[EMAIL PROTECTED]>: > Could you use the Calendar object? > > i.e. > > Calendar c = Calendar.getInstance(); > System.

Re: Files upload without form

2002-05-06 Thread Smita Kotnis
Hi, You can achive this using Java Applets. Can write the code "On Select" event. I am aware of a commercially avilable applet for this. We had used for our earlier project. You can upload multiple files, upload a directory or even can download multiple files to your hard drive. But, I am n

Re: How to send mail from JSP?

2002-05-06 Thread Smita Kotnis
Hi, And even, you can use Java Mail API for this purpose. Smita Dmitry Namiot <[EMAIL PROTECTED]>: > See for example Mail taglib from Coldtags suite: > http://www.servletsuite.com/jsp.htm > > > -- > Coldbeans Software - server-side Java (tm) components > http://www.servletsuite.com > > > >

Re: multiple HTML Forms

2002-05-16 Thread Smita Kotnis
Hi, If it is required to send all the values to the next page, you can submit a form and along with this request, you can get the values of the fileds of the other two forms and send them as query. Some thing like this, var temp1=document.form2.field1.value; var temp2=document.form3.field1.

Re: off topic 9two submit buttons in a form) ??

2002-05-16 Thread Smita Kotnis
hi, funtion first() { checkinhere document.form.action=checkin.jsp } funtion second() { checkout here document.form.action=checkout.jsp } is this going to work? or your requirement is some thing else? Smita sufi malak <[EMAIL

Submit a Window on Enter button

2002-05-17 Thread Smita Kotnis
Hi all, In my aplication, in some point of time, user clicks on change password button, a window will be opned up, asking about new password. On that window, I have a textbox and a image(On a href on this image, I am calling a java script function). Now, user wants to this to work, even

Re: what is Response has already been committed?

2002-05-30 Thread Smita Kotnis
Hi, This also comes when you include a file using a directive. If you are using any such directive, replace it with a jsp include tag as <@include,> this solves the problem Smita "It, Cockpit (CAP, Contractor)" <[EMAIL PROTECTED]>: > After writing some thing into the output stream.

Inserting Rows To HTML Table Dynamically

2002-10-22 Thread Smita Kotnis
Hi All, In my JSP page, I should have a table and rows and/or columns should be inserted/added/deleted/merged in to the table. After that the contents of the rows or coulmns should be updated to database. How I can do this? Javascript:addRows() helped me to append rows to the table, bu