Re: Database Access Using Tags
If you want to avoid a typical MVC structure and having all your logic in Servlets instead of JSP files (which is what I would suggest you do), you can abstract your database accesses in classes that do all the work and only have the class method calls within our JSP code. That way you do not need to have the database implementation code visible in the JSP and you can reuse the classes in multiple JSP files. Create all the database access classes in a package and include that package in each JSP. It is not as well structured as a MVC type of structure but it does a reasonable job of isolating your database access from the JSP. If you create your classes properly you can make your JSP code independent of the database being used and thus allow it to be very portable. You can also make the classes centered around functionality as opposed to being table specific, thus granting you more freedom for future modifications. This will keep the object oriented design valid without having to use MVC. However, it is an inferior approach and should be used with caution and only in simple applications. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:JSP-INTEREST@;JAVA.SUN.COM]On Behalf Of rvt Sent: Friday, October 18, 2002 8:25 AM To: [EMAIL PROTECTED] Subject: [JSP-INTEREST] Database Access Using Tags Hi, I seem to recall reading on one of the user lists (maybe this one) that using taglibs for connecting to the database was not a good idea, for security reasons. The consensus was that it was at least better than embedding Java scrptlets in your JSP. I've been scouring the Net trying to figure out the best way to get a database connection. I'm using JSPs for the view, but I want to keep as much Java code out of the pages as possible, since that results in a much cleaner and easier to maintain application. But I'm a newbie when it comes to model 2. I've written a site before using just JSP with Dreamweaver UD4. But with what I'm working on now, that is not good enough. I've got Tomcat set up, and I'm trying to use connection pooling. I know that I can use JNDI and Tomcat to look after the connection pooling details, though I'm tearing my hair out trying to figure out how it all works and if I've got all the pieces in place that I need. My question/plea for input here is regarding what I should be using to write the actual connection in. If tags are not recommended, then should I be using a class, a bean, or a servlet to do that work? I read recently (I've been doing a LOT of reading) that tags are a replacement for beans--though that sort of conflicts with the point that I read before that tags are only one step up from using scriptlets. I'm starting to conclude that I should be using a servlet, but I would really appreciate some confirmation from people who are experienced with all this. Also, is it possible/necessary to try to make the structure of the Web application object oriented? If I'm using JSP, does that negate the need for creating an object oriented design--does it make that kind of a design, even though I'm using Java, impossible to really do? Thank you for any input. I'm trying to get all these concepts straight in my head, and the information out there is not only conflicting, but a little overwhelming. Val === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Forte for Java too slow?
Sun One Studio 4 is not at all slow if you have the recommended amount of memory and a decent processor. I run the enterprise edition on a 1 ghz P3 with 512 Megs of memory and it is very responsive. We tried to run it on a 600 Mhz P3 with 128 megs of memory at work and it was a dog. It was usable but somewhat slow on a 600 Mhz P3 with 256 Megs. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Zachary Roberts Sent: Thursday, June 20, 2002 1:31 PM To: [EMAIL PROTECTED] Subject: [JSP-INTEREST] Forte for Java too slow? Hello- Does anyone else use Forte for Java (now Sun ONE studio)? I have been trying it for a few weeks and I am finding that it is so slow I almost can't use it. It is especially slow if I have other programs running at the same time. Anyone else have this problem? Any suggestions on another JAVA IDE that is completely free? Thanks- Zac = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Access MS SQL Server
NetConnect's JSQLConnect JDBC driver works very well and efficiently. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Geraldo Dominguez Sent: Friday, March 01, 2002 1:04 PM To: [EMAIL PROTECTED] Subject: [JSP-INTEREST] Access MS SQL Server I have the Tomcat 4.0 running over a red hat linux 7.2. I want to access MS SQL Server 2000 with a good performance. Anyone know how I can do it? _ O MSN Photos é o jeito mais fácil de compartilhar e imprimir as suas fotos: http://photos.msn.com.br/support/worldwide.aspx === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Email from a jsp page
Use the javamail module (downloadable free from Sun's site) -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Carlos Sent: Tuesday, January 29, 2002 9:06 AM To: [EMAIL PROTECTED] Subject: [JSP-INTEREST] Email from a jsp page Can anybody says me hw can i send a email from a jsp page? i want to send a styring (message) to a email addresss. thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Where to put methods for a jsp page?
another alternative is to place methods in classes within a package imported into the JSP. For most projects using servlets as business logic containers is best but some applications offer themselves to the class/method structure very nicely. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Means, Garann R. Sent: Wednesday, January 23, 2002 1:22 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] Where to put methods for a jsp page? I apologize, I am dancing around my main questions here. What would be best - to try and work this all from the jsp page (sounds like no, because I do need multiple people to use this application at once), or to put it in a separate servlet? Or a Java Bean? I understand what people have said about how to use the methods inside the page, but my question has become more philosophical at this point. My understanding is that functionality reused within a page should be a servlet, classes reused throughout the app should be Java Beans, and things called by multiple applications would be EJB's. Is that right? At any rate, thank you all for your careful explanations. Garann PS - Celeste, thank you for pointing out that this is still OOP. I'm not a VB programmer, but I was approaching my changeovers as a find-and-replace kind of thing, not really considering that these are STILL Java programs. Keeping that in mind is going to help me a lot in learning jsp. -Original Message- From: Borislav Iordanov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 11:32 AM To: [EMAIL PROTECTED] Subject: Re: Where to put methods for a jsp page? Hi Garann, A JSP page is first translated to a Java class, a servlet, then compiled and executed on each request. All code outside of your functions is placed in a single method of the Java servlet and that method has the 'request', 'response' etc... "implicit" object declared as local variables. That is way they are available in the JSP page. However, when you declare other methods in the JSP, they don't have those local variables and that is way it does not compile. You might consider passing a PageContext or a HttpServletRequest parameter to your functions, or declaring a member variable like this: <%! HttpServletRequest currentRequest; %> <% currentRequest = request; %> However, the latter method is not suggested as member variables prevent the JSP container from reusing the same Java object when serving several requests at a time. Hope this help. --- "Means, Garann R." <[EMAIL PROTECTED]> wrote: > Hi, > > I'm converting a bunch of asp pages to jsp. The asp > pages had methods > running on the server side, so I've left them there > in the jsp. When I try > to compile the jsp, I get errors telling me the > compiler doesn't know > "request.getParameter", but only within the methods. > I'll post the code, and > maybe someone can give me feedback? > > > <%! public String mkDate() { > String sHourHTML = ""; > String sMinHTML = ""; > String sHTML = ""; > > sHTML = " name='selCollHour'>"; > > // ... > // ... > // ... this all compiles fine, and > doesn't use > request.getParameter > > return sHTML; > } %> > > <%! public String redChem(String root) { > float usrIn = 0; > float lBnd = 0; > float uBnd = 0; > String sRed = ""; > > // these next three lines are > throwing the errors > usrIn = > Float.parseFloat(request.getParameter("txtArea" + > root)); > lBnd = > Float.parseFloat(request.getParameter("hdnLowBnd" + > root)); > uBnd = > Float.parseFloat(request.getParameter("hdnUpBnd" + > root)); > > if (usrIn != 0) { > if ((usrIn > uBnd) || (usrIn > < lBnd)) { > sRed = > "style='color:red'"; > } > else { > sRed = ""; > } > } > return sRed; > } %> > > > Thanks, > Garann Rose Means > ITAS1 > WA State Dept. of Corrections > > === > To unsubscribe: mailto [EMAIL PROTECTED] with > body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: > "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ ===
Re: Mail Encryption
The most common form of encryption of email is a public key encryption system. You can do it yourself with a package like Cryptix (www.cryptix.org) or you can use a program like enigma (enigma.intouch.ca). Both work well. Enigma has enough overhead to it that it won't work well in high volume situations since it is single threaded. It can handle 5000 to 1 a day however. It functions as a mail server that automatically encrypts and decrypts as needed (you set javamail to point at it). It is a pure java solution. Cryptix is an encryption package compatible with PGP and it will allow you to encrypt your own messages and then send them using JavaMail. If you have a high volume requirement this would be the better choice for you. You will find that the recipients of the messages will be your biggest difficulty. They will forget pass phrases, destroy keyrings, regenerate keypairs, move to a different machine and generally gunk things up when dealing with encrypted messages. The software and encryption works fine but we find that people just do not deal well with encryption and the small amount of discipline that is needed to make it work correctly. Make sure you are prepared to recreate messages if the recipient does something that results in the unrecoverable loss of the keys needed to decrypt the message. We have that happen on a regular basis. Our recipients are not employees of our company and we have no control over them so better training is not an issue for us. You could also use a XOR based simple encryption system if the data to be encrypted is not critical. Unless designed by a professional encryption expert this type of system is relatively easy to break because of one to one character mapping and, in most cases I have seen, poor distribution of bit patterns generated by the keys. A professional can make this type of system VERY secure but it is relatively difficult to do. I hope that helps you. -Original Message-From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Lorena CarloSent: Tuesday, December 18, 2001 8:24 AMTo: [EMAIL PROTECTED]Subject: [JSP-INTEREST] Mail Encryption Hello all, Does anybody know how I can encrypt a mail that I send using Java. Does JavaMail have a method for this?. Please help me, Thanks in advance. Lorena Carlo
Re: multiple delims...
StringTokenizer supports multiple delimiters. The constructor from the Java Docs: --- public StringTokenizer(String str, String delim, boolean returnDelims) Constructs a string tokenizer for the specified string. All characters in the delim argument are the delimiters for separating tokens. If the returnDelims flag is true, then the delimiter characters are also returned as tokens. Each delimiter is returned as a string of length one. If the flag is false, the delimiter characters are skipped and only serve as separators between tokens. Parameters: str - a string to be parsed. delim - the delimiters. returnDelims - flag indicating whether to return the delimiters as tokens. --- StringTokenizer also returns the actual tokens (which is the characters between the delimiters). Do I misunderstand your question? StringTokenizer will pull a chunk of text out of a string when it is delimited by characters the program specifies and return it to you as a string. As you can see you can return the delimiters themselves as tokens if you need to know which delimiters you hit. From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of McKain, James (DPYUS) Sent: Monday, October 01, 2001 11:07 AM To: [EMAIL PROTECTED] Subject: [JSP-INTEREST] multiple delims... I am trying to take a line of text from a StringBuffer object and pull out a chunk of text from it. I has investingated the StringTokenizer, but this sorts with only one delim. also, Tokenizer cannot return me the location #(on the line) of the tokens. only the amount of them. question... what can I use to return 2 delimeters, and the locations of both? essentially I want the characters between the two tokens. James McKain 800.473.3789 x2013 Contract Support Engineer lDePuy Orthopaedics, Inc. a Johnson & Johnson Company === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: OFF TOPIC: Terrorist attacks
The citizens of a country are responsible for the actions of that country's government. Even the most extreme dictatorship requires the cooperation of the populace to exist. Individuals may be totally innocent but the population, as considered in total, have a collective responsibility. This has ALWAYS been the basis of war and will continue to be. This is the only way that extreme elements can be controlled and held responsible. It is unfortunate that innocent INDIVIDUALS must suffer along with the guilty but to do otherwise results in uncontrolled and extreme elements taking control of everything, which is also a situation where innocent individuals suffer. Jim -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Isidoros Vacropoulos Sent: Thursday, September 13, 2001 11:48 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] OFF TOPIC: Terrorist attacks Good morning, I'm sorry that i use this list for telling my opinion about the terrible things that happened in USA. Whoever does not want to read this mail, he can just erase it. I don't think it is tiring to erase an email I would also like to express my deep sorrow to the citizens of the USA. Maybe there are fellow subscribers that may have lost friendly people or relatives. Secondly, i would like to say that i'm from Greece and i'm a Christian Orthodox. After reading all these mails in this list, i would also like to say my opinion... Noone in this earth has the right to feel happy for the dead people and for all the destructions in the city of New York. N O O N E. Beyond religion, political beliefs and financial situation , we are all human beings and who are not given the right to feel relief for some people who die, even if their political or religious background is not the same to ours. On the other hand, noone has also the right to decide an attack and kill innocent people. Whether you want it or not, the fellow subscribers that come from the great countries, like USA,Germany,Great Britain and the other ARE RESPONSIBLE FOR THIS TRAGEDY TOO. Voting for presidents and people in high places in the goverments who decide that they will bomb innocent people (YUGOSLAVIA, AFRICA) is not less responsibility than taking this decision. I want to make clear that i'm not saying that USA got what it deservedI don't think that human beings are the right beings to decide who has done wrong and who has done right. I'm just saying that you are the one who voted for your presidents.Your presidentd decided many bad things and attacks in the near past (and noone can deny it) and these presidents made so many countries,folks and people enemies of yours. What i'm saying is that you gave the right to some people to hate you because you made attacks that shouldn't have happened. Whether you want it or not you hold the situation of the planet in your hands. You can decide now what will hapen in my country in the next 30 years.If you ever understand the power that you hold in your hands. Again, i want to express my deep condolences to the families of the dead and wounded people, i'm sure that are deep religious people in my country that will pray for you. Isidoros (P.S) I would like some fellow subscribers, especially from USA, to judge my opinion. Thanx === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JDBC, MS-SQL server and mySql
A good one that is not free is J-netdirect's JSQLConnect if you are looking for a pure java solution and their JDataConnect is you can use a type 3 driver instead. They work well. I am not connected in any way to netdirect. There are many other good drivers out there as well. Do not use the JDBC-ODBC bridge however, it is not suited for a production environment. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Alireza Nahavandi Sent: Tuesday, September 04, 2001 9:10 AM To: [EMAIL PROTECTED] Subject: [JSP-INTEREST] JDBC, MS-SQL server and mySql Hi All, Is there any free JDBC out there for SQL-server? if not what is a good one to buy? did you find MySql a reliable database? Thank you. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jrun:sendmail
Sorry, POP3 access is for retrieving and reading email only. SMTP is how you send email... The "mail.smtp.host" is telling the system what property you are setting. You must set this to a smtp server name that you have access to. You can not use a POP3 server to send mail. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Supreme Being Sent: Thursday, May 31, 2001 10:02 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] jrun:sendmail Jim, thank you very much Sir. i guess finally i've understood everything u're trying to tell me. I have a few things though i'd like to clear out. For sending mails, i can use a POP3 account as well, instead of an SMTP one? Now if that is the case, how do i insert it into my code props.put("mail.smtp.host", "smtp.jspinsider.com"); This is the code that connects to the SMTP server. If i replace this with props.put("mail.smtp.host", "mypop3.com"); but what do i do with "mail.smtp.host" and where & how do i put in the username & password that is needed to access my POP3 account. In fact, for that matter, even if i do have an SMTP account, how do give the user/pwd? There is another line of code that mentions SMTP : transport = sendMailSession.getTransport("smtp"); transport.send(newMessage); What will i have to change in this "smtp" in order for my POP3 account to function? I'm sorry for constant questions. I'm new to both JSP and Mail servers. Thanks a lot, Cheers & Glory, SupremeBeing >From: "Jim Rueschhoff" <[EMAIL PROTECTED]> >To: "Supreme Being" <[EMAIL PROTECTED]> >SUBJECTDate: Thu, 31 May 2001 09:43:46 -0700 > >You can use any mail provider you want including internet mail but you must >have pop3, imap and/or smtp access to the mail servers. A mail server >provided by your internet service provider would be fine but you must have a >mail server to connect to from java mail. > >The javamail package is a java extention and as such should be installed in >the d:\Allaire\JRun\lib\ext directory to be consistant with the other javax >files. You could install them elsewhere but you would have to change the >import paths, etc. to get it to work. Your error message seems to indicate >that the system is finding them however. > >The java container (server) you are using is JRun from you other answers. > >Your code shows you are trying to send the email through the >smtp.jspinsider.com email server. You need to change this to an email >server that you have permission to use. I am not sure what servers you have >available but for instance if you were an earthlink customer you would use >something like mail.earthlink.net as an email server. I didn't check it >closely but it appears to me that the rest of your code is ok. > >I have not seen the exact error you are getting before but I think it may >mean that the smtp.jspinsider.com email server is rejecting your attempt to >use it because your domain name is not authorized to send email through that >server. > >Perhaps someone here that has seen this error before can confirm it. > >I hope that helps. > >-Original Message- >From: Supreme Being [mailto:[EMAIL PROTECTED]] >Sent: Thursday, May 31, 2001 8:48 AM >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: Re: jrun:sendmail > > >Jim, > >I'm not having any email server installed on my system. In fact i use >Internet Mail (Yahoo, Hoboe) etc. Apart from JSP, i use PHP and ASP for my >Server Programming. PHP has the in-built mail() function and ASP uses either >the CDONTS component or JMail. So i never faced any such problem with them. >However, now with JSP, i'm having these problems sending mail. > >>JavaMail and JAF works fine. How do you have it installed. In which >>directories did you put all the .jar files. > >I've placed all these files in D:\Allaire\JRun\servers\lib >In fact, they are also in D:\Allaire\JRun\lib >cause on person told me they should go there. > >>What java container are you using? >This, i don't understant. > >>When you say it doesn't work, what do you mean? >Well this the error that i get when i click my "Send" button : > >javax.mail.SendFailedException: Sending failed; nested exception is: >javax.mail.SendFailedException: Invalid Addresses; nested exception is: >javax.mail.SendFailedException: 553 sorry, that domain isn't in my list of >allowed rcpthosts (#5.7.1) > >And if you wanna see ... this is the code that i'm using : > ><%@ page > import=" javax.mail.*, javax.mail.internet.*, &g
Re: jrun:sendmail
Actually he needs to substitute the smpt.jspinsider.com with his smtp server. The "mail.smtp.host" is the property key. I sent him a private note explaining his problems. I didn't think the whole group needed to deal with it so I sent it directly to him. Jim -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Shawn Zhu Sent: Thursday, May 31, 2001 11:13 AM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] jrun:sendmail If using CDONTS worked for you on the same machine, that means you have a smtp server. now you just need to figure out what to put in props.put("mail.smtp.host", "smtp.jspinsider.com"); You need to substitute "mail.smtp.host" to the hostname of your smtp server. > -Original Message- > From: Supreme Being [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 31, 2001 8:48 AM > To: [EMAIL PROTECTED] > Subject: Re: jrun:sendmail > > > Jim, > > I'm not having any email server installed on my system. In > fact i use Internet Mail (Yahoo, Hoboe) etc. Apart from JSP, > i use PHP and ASP for my Server Programming. PHP has the > in-built mail() function and ASP uses either the CDONTS > component or JMail. So i never faced any such problem with > them. However, now with JSP, i'm having these problems sending mail. > > >JavaMail and JAF works fine. How do you have it installed. In which > >directories did you put all the .jar files. > > I've placed all these files in D:\Allaire\JRun\servers\lib > In fact, they are also in D:\Allaire\JRun\lib > cause on person told me they should go there. > > >What java container are you using? > This, i don't understant. > > >When you say it doesn't work, what do you mean? > Well this the error that i get when i click my "Send" button : > > javax.mail.SendFailedException: Sending failed; nested > exception is: javax.mail.SendFailedException: Invalid > Addresses; nested exception is: > javax.mail.SendFailedException: 553 sorry, that domain isn't > in my list of allowed rcpthosts (#5.7.1) > > And if you wanna see ... this is the code that i'm using : > > <%@ page > import=" javax.mail.*, javax.mail.internet.*, > javax.activation.*,java.util.*" > %> > <% > > try{ >Properties props = new Properties(); >Session sendMailSession; >Store store; >Transport transport; > > props.put("mail.smtp.host", "smtp.jspinsider.com"); > sendMailSession = Session.getInstance(props, null); > Message newMessage = new MimeMessage(sendMailSession); > newMessage.setFrom(new > InternetAddress(request.getParameter("from"))); > newMessage.setRecipient(Message.RecipientType.TO, new > InternetAddress(request.getParameter("to"))); > newMessage.setSubject(request.getParameter("subject")); > newMessage.setSentDate(new Date()); > newMessage.setText(request.getParameter("text")); > > transport = sendMailSession.getTransport("smtp"); > transport.send(newMessage); >%> > Your mail has been sent. > <% > } > catch(MessagingException m) > { > out.println(m.toString()); > } > %> > > Anything else you need to know? > > Thanks, > SupremeBeing > > > > ** > From my right-eye i create all for myself, from the left-eye > i accept all that there is otherwise. It is nothing more than > what i deserve, for i am the Supreme Being > ** > > > Are you a Hoboe? Hobnob at http://www.hoboe.com > Click here -> http://www.hoboe.com Global Mail Access > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: > "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Ser
Re: jrun:sendmail
You need to use the mail server address (URL). If you are going to handle email you MUST have an email server to connect to the internet somewhere. How are you handling email now (any email, not just Java email)? However you connect to get email now is what you need to use as the mail server URL. JavaMail and JAF works fine. How do you have it installed. In which directories did you put all the .jar files. What java container are you using? When you say it doesn't work, what do you mean? Is the compiler not finding the package or is it not sending mail (you MUST have an email server set up to send mail). If you want help you must give us something to go on. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Supreme Being Sent: Monday, May 28, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] jrun:sendmail Hi, >You still need a host. owa.allaire.com needs to be replaced by your >server. Are you using your win 98 computer as a server or are you yup, i am using win98 PC and i'm just using JRun Studio right now for my JSP work. I won't be uploading to any server right now. Still am in the learning stages. the problem is, what is my mail server? What do i put in instead of owa.allaire.com ? I don't have any particular mail server installed. >to upload to another server? The sendmail tag is really using >Javamail. and that is another thing, i just don't know why my JavaMail doesn't work. What they told me was to download the JavaMail & JAF from Sun and it'll workbut it never did. Then some Mr. Ottinger or whatever started this thing about having a Mail Server first then using JavaMail. help! SupremeBeing > >Aneesha > > >> I'm trying to use the "sendmail" feature of JSP. I'm running JRun Studio >on my win98 pc. Following is the code i used : >> >> >sender="[EMAIL PROTECTED]" >>recipient="[EMAIL PROTECTED]" >>subject="Hello from SendMail tag"> >> Trying to test >> >> >> Though the page gives no error of any kind...nothing happens. What am i >doing wrong? Is there some kind of configuration reqd. to be done prior to >using this tag? >> >> Whatever Mr. Ottinger (or whatever's your name) talked about in big heaps >of gold & metal... i don't know...frankly i don't care cause this ain't the >first list i'm using or the lonely one for learning & enhancing the >programming power. Please don't inform me about the "procedures of reading >the manual first & then asking". You're not the only one swimming these >waters People come here when they want to learn how to swim...sometimes >you get the air-ring support..sometimes you don't. In any case, if you don't >wanna be extra nice - please don't be, most welcome... but please don't be a >grouch...you're wasting your own breath. >> ...and trust me Mr. Ottinger, with all due respect, reading the docs or >not reading them doesn't make you any more or any less Supreme. Visit my hut >and i'll show you what i'm taking about. >> >> Peace 2 you and Chow 2 rest. >> >> Supreme Being >> >> >> >Date: Mon, 21 May 2001 07:54:01 +1000 >> >From: Aneesha <[EMAIL PROTECTED]> >> >SUBJECTTo: [EMAIL PROTECTED] >> > >> >Hi >> >> Aneesha, >> >> thanks a LOT! my connection to mySQL with JSP is working GREAT now. >thanks >> >a ton. i did place my .jar files in the /servers/lib dir instead of where >> >they were and it's working. tell me something, if remove the %CLASSPATH% >> >references from my autoexec.bat, will it work? cause i think JRun's not >> >using the classpath. >> >> >> >Glad to be of assistance. You can remove the references from the >classpath - >> >if Jrun is gonna be the only app that needs access to these. >> > >> >> Somehow my JavaMail is still not working. I did put all my .jar files >> >concerned with JavaMail (mail.jar, smtp.jar, activation.jar etc.) in the >> >/servers/lib dir...but it's still not working could you tell me what >> >could be wrong and how to use JavaMail with JRun? >> >> >> > >> >I'm not sure about the javamail. I'll have to test this. What error >message >> >are you getting? I do no that within the Jrun/lib/ext folder you will >find >> >activation, mail and pop jar files. Jrun has a send mail tag. You should >try >> >this and see if it works. >> ><%@ taglib uri="jruntags" prefix="jrun" %> >> > >> >> > sender="[EMAIL PROTECTED]" >> > recipient="[EMAIL PROTECTED]" >> > subject="Hello from SendMail tag"> >> >Testing. C. >> > >> > >> > >> >> > >> >> >Hi >> >> > >> >> >JRun does not use the classpath. Check the documentation for sure but >I >> >> >think you place the jar files in D:\Allaire\JRun\Servers\lib\ >> >> > >> >> >Aneesha >> >> > >> >> > >> >> > >> >> >> this is what i'm putting in my autoexec.bat : >> >> >> >> >> >> SET CLASSPATH=%CLASSPATH%;D:\Allaire\javamail\mail.jar >> >> >> SET CLASSPATH=%CLASSPATH%;D:\Allaire\jaf\activat
Re: JavaMail with JSP
no, I have been answering questions on this thread for at least a week. I don't have Joseph Ottinger's adversity to answering off topic questions or blatant newbie questions (after all we all have had moments like that). However, if I am going to take the time to help someone, they should at the very least read the basic documentation concerning what they are trying to do. I don't expect them to analyze the code or anything, but just reading the first two paragraphs of the description of the code that they are using in their application is not too much to ask. I would not think of ever putting code into my application that I didn't at least understand what it did and how it was going to do it... -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Chase, Scott Sent: Tuesday, May 22, 2001 3:06 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] JavaMail with JSP Then don't answer... Tough day at the office Jim? -Original Message- From: Jim Rueschhoff [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 5:04 PM To: [EMAIL PROTECTED] Subject: Re: JavaMail with JSP The host, port, user etc. is for the connection to the email server that you will use to deal with email. JavaMail is a mail client set of methods, it is not a mail server. You should really at least attempt to read the documentation and try to understand what a package does before installing it. I don't mind answering questions, even beginner questions, but I do get frustrated when the person asking has not even read the documentation of the package they just downloaded before asking questions. Please read the javamail documentation FIRST and then if you don't understand something, please ask for help here. This is especially true if you feel the need to call yourself Supreme Being. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Supreme Being Sent: Tuesday, May 22, 2001 1:19 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] JavaMail with JSP How do i get this information? I just installed Jrun 3.0 on my win98 PC. I did not install or configure any smtp on my machine. I did download and put JavaMail from Sun's site. >Transport smtp = Session.getTransport("smtp"); >smtp.connect(host, port, user, password); which port, user, password & host do i have to use here? because i don't know any other than the one that my JRun uses. SupremeBeing > >Justy > >- Original Message - > >> Aneesha, >> >> how can i setup my SMTP host? >> >> Cheers, >> SupremeBeing >> >> >> >Date: Mon, 21 May 2001 07:54:01 +1000 >> >From: Aneesha <[EMAIL PROTECTED]> >> >SUBJECTTo: [EMAIL PROTECTED] >> > >> >Hi >> >> Aneesha, >> >> thanks a LOT! my connection to mySQL with JSP is working GREAT now. >thanks >> >a ton. i did place my .jar files in the /servers/lib dir instead of where >> >they were and it's working. tell me something, if remove the %CLASSPATH% >> >references from my autoexec.bat, will it work? cause i think JRun's not >> >using the classpath. >> >> >> >Glad to be of assistance. You can remove the references from the >classpath - >> >if Jrun is gonna be the only app that needs access to these. >> > >> >> Somehow my JavaMail is still not working. I did put all my .jar files >> >concerned with JavaMail (mail.jar, smtp.jar, activation.jar etc.) in the >> >/servers/lib dir...but it's still not working could you tell me what >> >could be wrong and how to use JavaMail with JRun? >> >> >> > >> >I'm not sure about the javamail. I'll have to test this. What error >message >> >are you getting? I do no that within the Jrun/lib/ext folder you will >find >> >activation, mail and pop jar files. Jrun has a send mail tag. You should >try >> >this and see if it works. >> ><%@ taglib uri="jruntags" prefix="jrun" %> >> > >> >> > sender="[EMAIL PROTECTED]" >> > recipient="[EMAIL PROTECTED]" >> > subject="Hello from SendMail tag"> >> >Testing. C. >> > >> > >> > >> >> > >> >> >Hi >> >> > >> >> >JRun does not use the classpath. Check the documentation for sure but >I >> >> >think you place the jar files in D:\Allaire\JRun\Servers\lib\ >> >> > &
Re: JavaMail with JSP
The host, port, user etc. is for the connection to the email server that you will use to deal with email. JavaMail is a mail client set of methods, it is not a mail server. You should really at least attempt to read the documentation and try to understand what a package does before installing it. I don't mind answering questions, even beginner questions, but I do get frustrated when the person asking has not even read the documentation of the package they just downloaded before asking questions. Please read the javamail documentation FIRST and then if you don't understand something, please ask for help here. This is especially true if you feel the need to call yourself Supreme Being. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Supreme Being Sent: Tuesday, May 22, 2001 1:19 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] JavaMail with JSP How do i get this information? I just installed Jrun 3.0 on my win98 PC. I did not install or configure any smtp on my machine. I did download and put JavaMail from Sun's site. >Transport smtp = Session.getTransport("smtp"); >smtp.connect(host, port, user, password); which port, user, password & host do i have to use here? because i don't know any other than the one that my JRun uses. SupremeBeing > >Justy > >- Original Message - > >> Aneesha, >> >> how can i setup my SMTP host? >> >> Cheers, >> SupremeBeing >> >> >> >Date: Mon, 21 May 2001 07:54:01 +1000 >> >From: Aneesha <[EMAIL PROTECTED]> >> >SUBJECTTo: [EMAIL PROTECTED] >> > >> >Hi >> >> Aneesha, >> >> thanks a LOT! my connection to mySQL with JSP is working GREAT now. >thanks >> >a ton. i did place my .jar files in the /servers/lib dir instead of where >> >they were and it's working. tell me something, if remove the %CLASSPATH% >> >references from my autoexec.bat, will it work? cause i think JRun's not >> >using the classpath. >> >> >> >Glad to be of assistance. You can remove the references from the >classpath - >> >if Jrun is gonna be the only app that needs access to these. >> > >> >> Somehow my JavaMail is still not working. I did put all my .jar files >> >concerned with JavaMail (mail.jar, smtp.jar, activation.jar etc.) in the >> >/servers/lib dir...but it's still not working could you tell me what >> >could be wrong and how to use JavaMail with JRun? >> >> >> > >> >I'm not sure about the javamail. I'll have to test this. What error >message >> >are you getting? I do no that within the Jrun/lib/ext folder you will >find >> >activation, mail and pop jar files. Jrun has a send mail tag. You should >try >> >this and see if it works. >> ><%@ taglib uri="jruntags" prefix="jrun" %> >> > >> >> > sender="[EMAIL PROTECTED]" >> > recipient="[EMAIL PROTECTED]" >> > subject="Hello from SendMail tag"> >> >Testing. C. >> > >> > >> > >> >> > >> >> >Hi >> >> > >> >> >JRun does not use the classpath. Check the documentation for sure but >I >> >> >think you place the jar files in D:\Allaire\JRun\Servers\lib\ >> >> > >> >> >Aneesha >> >> > >> >> > >> >> > >> >> >> this is what i'm putting in my autoexec.bat : >> >> >> >> >> >> SET CLASSPATH=%CLASSPATH%;D:\Allaire\javamail\mail.jar >> >> >> SET CLASSPATH=%CLASSPATH%;D:\Allaire\jaf\activation.jar >> >> >> SET CLASSPATH=%CLASSPATH%;D:\Allaire\javamail\smtp.jar >> >> >> >> >> >> and still my JavaMail ain't working. What could be wrong? >> >> >> >> >> >> SupremeBeing >> >> >> >> >> >> >Date: Sat, 12 May 2001 17:08:55 -0500 >> >> >> >From: Shahed Ali <[EMAIL PROTECTED]> >> >> >> >Subject: Re: JavaMail with JSP >> >> >> >To: [EMAIL PROTECTED] >> >> >> > >> >> >> >You also need smtp.jar in your classpath >> >> >> > >> >> >> >> >> >> = >= >> >= >> >> >> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >> >> >JSP-INTEREST". >> >> >> >For digest: mailto [EMAIL PROTECTED] with body: "set >JSP-INTEREST >> >> >DIGEST". >> >> >> >Some relevant FAQs on JSP/Servlets can be found at: >> >> >> > >> >> >> > http://java.sun.com/products/jsp/faq.html >> >> >> > http://www.esperanto.org.nz/jsp/jspfaq.html >> >> >> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP >> >> >> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets >> >> >> >> >> >> >> >> >> >> >> >> Are you a Hoboe? Hobnob at http://www.hoboe.com >> >> >> Click here -> http://www.hoboe.com Global Mail Access >> >> >> >> >> >> >> >> >> >>>= = >= >> >> >> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >> >> >JSP-INTEREST". >> >> >> For digest: mailto [EMAIL PROTECTED] with body: "set >JSP-INTEREST >> >> >DIGEST". >> >> >> Some relevant FAQs on JSP/Servlets can be found at: >> >> >> >> >> >> http://java.sun.com/p
Re: encrypt and decrypt
Cryptix is also a good java based encryption package -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Phung Huu Phu Sent: Friday, May 18, 2001 3:04 AM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] encrypt and decrypt Hi, You can use JCE(Java Cryptography Extension) in Java. Regards, Phu - Original Message - From: "Sharon Rose Orillaneda" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 18, 2001 3:35 PM Subject: encrypt and decrypt > Hello! > Does anyone of you happened to know how to encrypt and decrypt in Java? > > Thanks, > Sharon > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: sending emails
JavaMail is free and is supported by Sun. It is available at http://www.java.sun.com/products/javamail/index.html JavaMail is implemented entirely in Java and is fully compatible with java, jsp, etc. and, as such, is also processor independent. The site mentioned above has all the information on how to download it, set it up, etc. JavaMail is a optional java extension package (javax). The problem with sendmail is that it is not processor/operating system independent and you would have to develop the interface between java and that program. The answer to the question as to why to use it is the same as why we use any java provided package. We are paid to implement programs for our companies. We do not need to continually reinvent work that has been completed, debugged and is openly available. We need to do the job we were hired to do. Why spend a lot of time and effort dealing with other mail interfaces when javamail can be installed and in use within a JSP in under 2 hours? -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of King Maurice Sent: Friday, May 11, 2001 7:53 AM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] sending emails How would you implement the javamail api Do you need to download the javamail. What are the steps involved to set this up? Newbie @ java, please forgive What are the benifits of javamail over let's say sendmail program that are out there that are free, etc... - Original Message - From: "Jim Rueschhoff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 10, 2001 9:54 AM Subject: Re: sending emails > A entirely java based email server is Enigma. It can be found at > enigma.intouch.ca . It is a java based email server that offers pop3, smtp > and imap protocols and also offers full public key encryption. JavaMail and > Engima working together allows for a entirely java based email solution. > > > > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Nishit Trivedi > Sent: Wednesday, May 09, 2001 2:48 PM > To: [EMAIL PROTECTED] > Subject: Re: [JSP-INTEREST] sending emails > > > Supreme Being, > I am not aware of any application server that comes > with JavaMail. See, JavaMail is not that huge > api that app server should include. I think there > are only two jar files that you have to include in > your classpath for JavaMail..that's it!!! > > one more thing..i didn't try this. But the other thing > what you can do is : Have a simple function (call it > sendMail()) which gets called from within jsp page > and this sendMail function will execute unix process, > and this unix process will use "SendMail" program which > sends email..(as we do in perl)..as i told you, this is > just my thinking..i did not try this..so this might work for > you. Otherwise for sending mail from jsp page, JavaMail api > is the best solution...as above, write sendMail function > which gets called in jsp page. > > Nishit > > -Original Message- > From: Supreme Being [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 09, 2001 5:18 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: sending emails > > > Nishit, i do have the coding that needs to be applied in sending email > through JavaMail in a JSP page. I'm using JRun studio on my win98 PC. Tell > me something, do most servers supporting JSP have JavaMail? because if they > don't ... is there an alternate? in any case, is there some other way other > than JavaMail by which you can send email using JSP? Also, i still have to > download and install JavaMail onto my machine, if you've done such a thing > before..can you tell me if there's any big problem that i might face? > > Thanx, > SupremeBeing > > > > >Date: Wed, 9 May 2001 16:29:34 -0400 > >From: Nishit Trivedi <[EMAIL PROTECTED]> > >SUBJECTTo: [EMAIL PROTECTED] > > > >Koustubh, > > > >Yes. u can use JavaMail api. > >if you don't get success through it, let me know.. > > > >Nishit > > > >-Original Message- > >From: Warty, Koustubh [mailto:[EMAIL PROTECTED]] > >Sent: Wednesday, May 09, 2001 4:19 PM > >To: [EMAIL PROTECTED] > >Subject: sending emails > > > > > > Hello , > >In my application suppose the customer places an Order through a > JSP > >page by clicking on the "Submit Order" button. Is it possible to send an > >automatic email response back to the client giving him his order details ?? > > > > Please do let me know . > > &g
Re: sending emails
A entirely java based email server is Enigma. It can be found at enigma.intouch.ca . It is a java based email server that offers pop3, smtp and imap protocols and also offers full public key encryption. JavaMail and Engima working together allows for a entirely java based email solution. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Nishit Trivedi Sent: Wednesday, May 09, 2001 2:48 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] sending emails Supreme Being, I am not aware of any application server that comes with JavaMail. See, JavaMail is not that huge api that app server should include. I think there are only two jar files that you have to include in your classpath for JavaMail..that's it!!! one more thing..i didn't try this. But the other thing what you can do is : Have a simple function (call it sendMail()) which gets called from within jsp page and this sendMail function will execute unix process, and this unix process will use "SendMail" program which sends email..(as we do in perl)..as i told you, this is just my thinking..i did not try this..so this might work for you. Otherwise for sending mail from jsp page, JavaMail api is the best solution...as above, write sendMail function which gets called in jsp page. Nishit -Original Message- From: Supreme Being [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 5:18 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: sending emails Nishit, i do have the coding that needs to be applied in sending email through JavaMail in a JSP page. I'm using JRun studio on my win98 PC. Tell me something, do most servers supporting JSP have JavaMail? because if they don't ... is there an alternate? in any case, is there some other way other than JavaMail by which you can send email using JSP? Also, i still have to download and install JavaMail onto my machine, if you've done such a thing before..can you tell me if there's any big problem that i might face? Thanx, SupremeBeing >Date: Wed, 9 May 2001 16:29:34 -0400 >From: Nishit Trivedi <[EMAIL PROTECTED]> >SUBJECTTo: [EMAIL PROTECTED] > >Koustubh, > >Yes. u can use JavaMail api. >if you don't get success through it, let me know.. > >Nishit > >-Original Message- >From: Warty, Koustubh [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, May 09, 2001 4:19 PM >To: [EMAIL PROTECTED] >Subject: sending emails > > > Hello , >In my application suppose the customer places an Order through a JSP >page by clicking on the "Submit Order" button. Is it possible to send an >automatic email response back to the client giving him his order details ?? > > Please do let me know . > > thanks, > - Koustubh > > > > > > > > > >>== = >>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >>JSP-INTEREST". >>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >>DIGEST". >>Some relevant FAQs on JSP/Servlets can be found at: >> >> http://java.sun.com/products/jsp/faq.html >> http://www.esperanto.org.nz/jsp/jspfaq.html >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets >> >>== = >>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >DIGEST". >>Some relevant FAQs on JSP/Servlets can be found at: >> >> http://java.sun.com/products/jsp/faq.html >> http://www.esperanto.org.nz/jsp/jspfaq.html >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > >Are you a Hoboe? Hobnob at http://www.hoboe.com >Click here -> http://www.hoboe.com Global Mail Access > >=== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > >=== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > >===
Re: MS Access
MS Access is a poor choice of database for an e-commerce web site. It is not made for multiple sessions and multiple connections and the ODBC connectivity environment is poor. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Ruaidhrm Fernandes Sent: Tuesday, May 01, 2001 10:47 AM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] MS Access Hi all, Im new to JSP. Trying to create an e-commerce web site using JSP alone. Im usinf MS Acess as my database and im wondering how i would go about making a connection to it using JSP. If anyone knows or knows some web page explaining how to do it that would be great. Thanks Ruaidhri Fernandes --- Ashish Shrestha <[EMAIL PROTECTED]> wrote: > Celeste Haseltine wrote: > > I must admit that I had not heard of the FreeTDS > driver. I've already > > purchased a Type 4 JDBC driver, but just out of > curiousity, is FreeTDS a > > type 4 driver, or a type 2? For my production > internet application, I > > needed a Type 4 driver, and one that included the > extended API. > > It is a Type 4 driver, but I think the > implementation is not > complete. > -- > a s h i s h @ j d g n p . o r g > Get Headlines 0.5.2 for free at > http://headlines.sourceforge.net/ > > === > To unsubscribe: mailto [EMAIL PROTECTED] with > body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: > "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets = "If a rabbit's foot is so lucky,. what happened to the rabbit?" __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: forte for java ie
Community Edition is actually quite nice and powerful. Version 2 of community edition is very usable for JSP. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Gilson do Nascimento Del Rei Sent: Tuesday, May 01, 2001 10:51 AM To: [EMAIL PROTECTED] Subject: [JSP-INTEREST] forte for java ie Hello all, I have seen much about the better IDE Development for java, i tried to get Forte for Java IE version but your download is on eletronic payment even the trial version (maybe i didn't understood correctly... ). Exists a free version this IDE Tool (not Community Editon )!? thanks in advance! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: PGP and Java Mail
We need to handle PGP encryption of outbound email generated from a JSP file. This need to be platform indenpendent so calling the PGP.DLL in a windows environment is not acceptable. We are planning on using javamail as the mailer. We need this to work in a windows 2000, linux and VMS environment. Has anyone on the interest group had any experience doing this? Various packages such as the JavaCrypt package provide encryption services but the documentation on how to make it PGP compatible is very poor. Any help or ideas would be appreciated. Jim Rueschhoff [EMAIL PROTECTED] === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: off topic conversations
I personally find discussions on this group about things that we all encounter in JSP programming but are not directly JSP functions very useful and informative. For instance the discussion of JDBC drivers informed me about new options I have to improve performance. They are not strictly about JSP coding but virtually every user of this list has to deal with these problems in a daily manner. While some users ask questions that are very simple and have answers that are easily found on the net, a gentle suggestion of some good sites to look at works better than flaming them. They may have an answer you need in a few months after all. In fact the only postings on this group that I really object to are the flames that Joseph Ottinger seems to continually post. They are off topic (like this post) and just encourage people not to post here. With all the flaming going on, there are people who have good questions that are afraid to post here now (I know one). Joseph, you mentioned that you were going to find a more exclusive newsgroup that only concentrates on JSP specific issues and quit posting on this group. May I respectfully suggest that you do so and by so doing improve both that newsgroup and this one. Jim Rueschhoff IMSure Network, Inc. [EMAIL PROTECTED] 602-274-0441 > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Joseph Ottinger > Sent: Wednesday, February 21, 2001 9:49 AM > To: [EMAIL PROTECTED] > Subject: Re: [JSP-INTEREST] JDBC Drivers comparing > > > I agree, it's a good way to find out things - to ask people about the > differences between products. > > So, which do *you* like better? The Honda Accord or the Toyota Camry? > > Oh, wait, that might be offtopic for JSP-Interest, too... but who cares, > send me an answer. Everybody else expects it here... > > > >From: Laurent Bruynooghe <[EMAIL PROTECTED]> > >Reply-To: A mailing list about Java Server Pages specification and > > reference <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: JDBC Drivers comparing > >Date: Wed, 21 Feb 2001 17:20:44 +0100 > > > >I think it's a stupid question !!! > > > >Are you professional ? Sometimes, it's a good way to ask people about the > >differences > >bitween products. > >If you don't want to answer to this kind of question, just shut up !!! > > > > > >Laurent BRUYNOOGHE > > > >Visit our new web site : http://www.compubase-europe.com ! > > > >e-mail:[EMAIL PROTECTED] > >tel : 01 69 47 27 11 > > > >compuBase > >8-10 rue du Bois Sauvage > >91055 Evry FRANCE > > > > > > > > > > > -Message d'origine- > > > De: Joseph Ottinger [SMTP:[EMAIL PROTECTED]] > > > Date: mercredi 21 février 2001 16:59 > > > À:[EMAIL PROTECTED] > > > Objet:Re: JDBC Drivers comparing > > > > > > WHy don't you try them out and see for yourself? > > > > > > > > > >From: Laurent Bruynooghe <[EMAIL PROTECTED]> > > > >Reply-To: A mailing list about Java Server Pages specification and > > > > reference <[EMAIL PROTECTED]> > > > >To: [EMAIL PROTECTED] > > > >Subject: JDBC Drivers comparing > > > >Date: Wed, 21 Feb 2001 16:52:08 +0100 > > > > > > > >Hi, > > > > > > > >Two weeks ago, i asked you for JDBC drivers for Sql Server 6.5, you > >gave > > > me > > > >good responses. > > > >Thank a lot for it. > > > > > > > >I have another question. I have 4 JDBC Drivers : > > > > > > > >JSQLConnect (netdirect), > > > >i-net UNA 2000 (i-net software) > > > >i-net SPRINTA 2000 (i-net software) > > > >i-net OPTA 2000 (i-net software) > > > > > > > >Did anyone try one of these JDBC drivers ? > > > >Which one is better ? > > > > > > > >Thanks for your responses and sorry for my english. > > > > > > > >Laurent BRUYNOOGHE > > > > > > > >Visit our new web site : http://www.compubase-europe.com ! > > > > > > > >e-mail:[EMAIL PROTECTED] > > > >tel : 01 69 47 27 11 > > > > > > > >compuBase > > > >8-10 rue du Bois Sauvage > > > >91055 Evry FRANCE > > > > > > > > > > >= > > > == > > > >To unsubscribe: mailto [EMAIL P
Re: null error from JRUN
Are you running this under netscape 4.x by any chance. We had an error like this running on jrun that failed under Netscape 4.x, but worked fine in IE, Netscape 6.0 and Opera 5. > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Malla c > Sent: Tuesday, February 20, 2001 11:42 AM > To: [EMAIL PROTECTED] > Subject: [JSP-INTEREST] null error from JRUN > > > Hi, > > > I am working upload and download application. My application is > working fine > in jswdk-1.0.1. > > > When I move my application to JRUN under linux environment, and > when I click > the download button to download the file from server's root > directory I > am getting Jrun Error like this.. > > I stuck here.. Please any one help me to solve this error.. I > will thankful > to u. > > Thanks, > Malla Reddy Choodi > > > > /myapp/demo/smart/download.jsp: > > null > java.lang.IllegalStateException > at > allaire.jrun.servlet.JRunResponse.getOutputStream(JRunResponse.java:294) > at > com.jspsmart.upload.SmartUpload.downloadFile(SmartUpload.java:579) > at > com.jspsmart.upload.SmartUpload.downloadFile(SmartUpload.java:508) > at > jrun__demo__smart__download2ejsp18._jspService(jrun__demo__smart__ > download2ejsp18.java:60) > at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40) > at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) > at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925) > at > allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatch > er.java:34) > at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:175) > at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) > at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925) > at > allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDisp > atcher.java:88) > at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131) > at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330) > > _ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Invalid cursor state ???
Most of the time this is caused by forgetting to do a result_set.next() before trying to access the data. It can also be caused by forgetting to check the boolean value returned by the .next() to see if a row was positioned to before trying to retrieve the column data. > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of sufi malak > Sent: Thursday, February 15, 2001 12:17 PM > To: [EMAIL PROTECTED] > Subject: [JSP-INTEREST] Invalid cursor state ??? > > > Hi, I am using MS access with jsp, but I got this error : > could you please help. > > A Servlet Exception Has Occurred > Exception Report: > javax.servlet.ServletException: [Microsoft][ODBC Driver Manager] Invalid > cursor state > > thanks > _ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: FW: Any views on the Java Web market in the US ???
The company I work for has been looking for mid level Java/JSP programmer for 6 weeks now and we haven't even found one to interview yet. The market here in Phoenix certainly doesn't know that Java is having problems in the marketplace. > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of M. Simms > Sent: Tuesday, February 06, 2001 1:16 PM > To: [EMAIL PROTECTED] > Subject: [JSP-INTEREST] FW: Any views on the Java Web market in the US > ??? > > > Ridiculous... > contact a company by the name of "Concrete, Inc" in New York City > they cannot take any more projects in Javabooked-up for 2 years in > advance. > Also, their minimum project size is $100,000. > > Websites have gone bankrupt from the cost of supporting CGI/BIN > code written > in Perl. > > Obviously a rumor started by some org like ZDNet..an M$ ass-kisser. > > > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]] On Behalf Of Mathew, Binoy (CORP, > GEITC) > Sent: Tuesday, February 06, 2001 4:04 AM > To: [EMAIL PROTECTED] > Subject: Any views on the Java Web market in the US ??? > > > Hi all, > > We keep hearing news on the downtrends of the Java web market in the US? > > How true is this and is this a slug or a permanent downfall of Java web > based > technologies like JSP, Servlets, XML ??? > > What about Europe? > > Would like your thoughts. > > Rgds, > Binoy. > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Read Access MDB File With JDBC/ODBC From Unix?
Why not just use ODBC. It will work fine. However, Access is a single user database so you will not be able to support multiple connections well. Access closely mirrors SQL Server except for the multiple connection support. If you want to be able to support multiple users you will need to get SQL Server. > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Hines, Bill > Sent: Monday, February 05, 2001 11:32 AM > To: [EMAIL PROTECTED] > Subject: [JSP-INTEREST] Read Access MDB File With JDBC/ODBC From Unix? > > > Can anyone say if we can read a Microsoft Access database from a > JSP/Servlet > that is running on a Unix box? I was wondering if there was some > sort of 3rd > party (i.e. ChiliSoft) product that would allow this or if I could put the > MDB on a NT box and read it from my JSP/Servlet running under Solaris just > by providing a correct database URL for it. > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets