• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

i'm not able to connect servlet to ms-access using tomcat 7

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when try to connect with swing it is possible but when tring to connect with servlet it's not possible
please help me out
 
Rancher
Posts: 43009
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there an exception? If so, post the entire stack trace. Also include the relevant code sections.
 
mandeepsangwan kumar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the reply man
I'M solved it
IS change the dsn from user to system now.its working
 
mandeepsangwan kumar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well i'm confused where to use doGet and doPost methods
 
Ulf Dittmer
Rancher
Posts: 43009
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't really expect anyone to be able to help with that if you give so little information, do you?
 
mandeepsangwan kumar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well sir i created a page in html to login and to create account also and now i want to send mails also
can you help me out how to send mails
 
mandeepsangwan kumar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
these are html files

<html>
<head>
<title>gmail</title>
</head>
<body>
<div style="height:100px;width:100px;border-width: 0px; border-style: solid; border-color: black;margin-left:525px;margin-top:25px;float:left">
<img src="D:\mike google project\gmail\Gmail_files\google.png">
</div>

<div style="height:100px;width:300px;border-width: 0px; border-style: solid; border-color: black;margin-left:300px;margin-top:0px">
<h3>
Enter your Details
<br>
It's free and always will be
</h3>

</div>





<div style="height:200px;width:200px;border-width: 0px; border-style: solid; border-color: black;margin-left:975px;margin-top:0px;float:left">

<form action=http://localhost:8080/MyApp/Create>
<h3>Sign up to Gmail</h3>
First Name:
<input type="text" name="first">
<br>
Last Name:
<input type="text" name="last">
<br>
User Name:
<input type="text" name="Name">
<br>
Password:
<input type="text" name="Pass">
<br>

<br>

<input type="submit" value="submit">
<br>
</div>
</body>
</html>
 
mandeepsangwan kumar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<html>
<head>
<title>gmail</title>
</head>
<body>
<div style="height:100px;width:100px;border-width: 0px; border-style: solid; border-color: black;margin-left:525px;margin-top:25px;float:left">
<img src="D:\mike google project\gmail\Gmail_files\google.png">
</div>

<div style="height:100px;width:300px;border-width: 0px; border-style: solid; border-color: black;margin-left:300px;margin-top:0px">
<h3>
One Account for All
<br>
It's free and always will be
</h3>

</div>





<div style="height:200px;width:200px;border-width: 0px; border-style: solid; border-color: black;margin-left:975px;margin-top:0px;float:left">

<form name="form1" action=http://localhost:8080/MyApp/Login>
<h3>Sign in to Gmail</h3>
User Name:
<input type="text" name="Name">
<br>
Password:
<input type="text" name="Pass">
<br>
<br>

<input type="submit" value="submit">
<br>

</from>
<br>
<h3>OR</h3>
<br>
<a href="createAccount.html" >create new account</a>
</div>
<div style="height:100px;width:300px;border-width: 0px; border-style: solid; border-color: black;margin-left:300px;margin-top:0px">
<h3>
Easier to send mail
<br>
Chat with your friends at same time
</h3>

</div>
</body>
</html>
 
Ulf Dittmer
Rancher
Posts: 43009
76
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what is your question about these files?

Anything to do with mail is an entirely different subject, and you should start a new topic for that. This would be a good forum for that: http://www.coderanch.com/forums/f-45/java
 
I'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!