Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-19-2008, 04:04 PM
Member
 
Join Date: Jan 2008
Posts: 83
Preethi is on a distinguished road
Connecting database from Applet
I have digitally signed my applet to read the localfile system.Now,i want to connect to the database...will it possible?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-19-2008, 04:11 PM
sanjeevtarar's Avatar
Senior Member
 
Join Date: Apr 2008
Location: Delhi(India)
Posts: 251
sanjeevtarar is on a distinguished road
ya it is possible, You will have to set java-policy tool to connect Database using Applet.
__________________
sanjeev,संजीव
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-19-2008, 04:21 PM
Member
 
Join Date: Jan 2008
Posts: 83
Preethi is on a distinguished road
I have set permission to read...Its reading a file from localfile even from a IE...should i have to include the lib file for sqlserver in the jar file also?
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-19-2008, 04:29 PM
sanjeevtarar's Avatar
Senior Member
 
Join Date: Apr 2008
Location: Delhi(India)
Posts: 251
sanjeevtarar is on a distinguished road
What do you want, ..... want to read file or want to connect databse,....

what it means ...........Its reading a file from localfile even from a IE......
__________________
sanjeev,संजीव
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 05-19-2008, 05:04 PM
Member
 
Join Date: Jan 2008
Posts: 83
Preethi is on a distinguished road
want to connect to the database(i'm working in command prompt,not using any IDE..)
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 05-21-2008, 10:14 AM
Member
 
Join Date: Jan 2008
Posts: 83
Preethi is on a distinguished road
I'm getting this error,when i try to connect database from applet


Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: Invalid remove
at javax.swing.JTextArea.replaceRange(Unknown Source)
at com.sun.deploy.util.ConsoleWindow$24.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to a database mxb7642 Database 2 08-20-2008 07:59 PM
Connecting to a database peiceonly New To Java 2 04-06-2008 04:28 PM
Specifying the character set while connecting to the database Java Tip Java Tips 0 02-13-2008 01:26 PM
Error while connecting to a database Fukushuusha Database 2 12-16-2007 11:40 AM
connecting to mysql database javagal NetBeans 2 08-04-2007 02:36 PM


All times are GMT +3. The time now is 03:47 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org