JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old December 5th, 2003, 02:14 AM
mistgal mistgal is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 mistgal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
auto send email

wher can i get jsp and serlvet code for doing auto sending of email?

Reply With Quote
  #2  
Old September 25th, 2006, 04:56 PM
colton22's Avatar
colton22 colton22 is offline
\ ^_^ / - Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: near chicago, Illinois
Posts: 471 colton22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 9 m 44 sec
Reputation Power: 3
Send a message via AIM to colton22 Send a message via MSN to colton22 Send a message via Yahoo to colton22
not sure,

but others may know

colton22

Reply With Quote
  #3  
Old September 26th, 2006, 09:21 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Quote:
Originally Posted by mistgal
wher can i get jsp and serlvet code for doing auto sending of email?

This isn't a Javascript issue; this would be a Java issue. Note the difference

There's a lot of examples out there, just need to Google first
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter!
DevArticles Forum Moderator

"The net is a waste of time, and that's exactly what's right about it." -- William Gibson

Reply With Quote
  #4  
Old September 27th, 2006, 05:10 AM
Speedle Speedle is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 9 Speedle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 15 sec
Reputation Power: 0
Quote:
Originally Posted by mistgal
wher can i get jsp and serlvet code for doing auto sending of email?

Try this:
<html>

<body>

<form method=post action=dbdemo.jsp>

type the selectquery here

<input type=text size=60 name='text1'> <br>

<input type=submit>

</form>

</body>

</html>

dbdemo.jsp

<html>

<body>

<%@page import="java.sql.*" %>

<%

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

String url = "jdbcdbc:telephone"; // an access database registered in odbc

Connection con = DriverManager.getConnection(url);

Statement stm = con.createStatement(); // container for sql

String sql = request.getParameter('text1'); // sql

ResultSet rs = stm.executeQuery ( sql);

while(rs.next())

{

out.println(rs.getString(1)+"<br>"); // name

out.println(rs.getString(2)+"<br>"); // telephone number

out.println("========");

}

%>

</body>

</html>

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > auto send email


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway