doubt

Поиск
Список
Период
Сортировка
Искать

doubt

От:
pavi thra <paveek@yahoo.com>
Дата:
dear sir,
 
how can i run jdbc in applet. it compiled correctly. but in runnig it gives security error.how can i overcome
 
plz sir reply immediately sir
 


Yahoo! FareChase - Search multiple travel sites in one click.

Re: doubt

От:
"Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Дата:
Java takes a pretty conservative approach to security.  An applet
is only allowed to connect back to the server from which it was
loaded.  The database must be on the same computer as the web
app, or you must use tunnelling software.

Without more information I can't be sure that this is your issue,
but it seems likely.

-Kevin


>>> pavi thra   >>>
 
how can i run jdbc in applet. it compiled correctly. but in runnig it
gives security error.how can i overcome

Re: doubt

От:
Achilleus Mantzios <achill@matrix.gatewaynet.com>
Дата:
O Kevin Grittner έγραψε στις Nov 5, 2005 :

> Java takes a pretty conservative approach to security.  An applet
> is only allowed to connect back to the server from which it was
> loaded.  The database must be on the same computer as the web
> app, or you must use tunnelling software.
> 
> Without more information I can't be sure that this is your issue,
> but it seems likely.
> 
> -Kevin
> 
> 
> >>> pavi thra   >>>
>  
> how can i run jdbc in applet. it compiled correctly. but in runnig it
> gives security error.how can i overcome

If security is an issue, you can always sign your applet.

http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/jarsigner.html
and
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/keytool.html
are your friends.

Also check that postgresql.jar is in your CLASSPATH as in :


.......




.......



> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
> 

-- 
-Achilleus

FAQ