aspose file tools*
The moose likes JSP and the fly likes onValidate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "onValidate" Watch "onValidate" New topic
Author

onValidate

V L Deepak Kotla
Greenhorn

Joined: Mar 02, 2006
Posts: 1
Iam developing an application in JSP.I have to display the ports in a drop down menu when a user selects the Country.I actually did this using java Script.There I just hardcoded the ports related to the countries. It is working. But I want the data to be collected from Database.and at the same time if a particular port is not found the user shud be able to add a port for a country.Kindly please give the type of solutions available for this problem.I would like to know if we can use database connectivity in javascript code?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

No, you would need to use a server-side language for the database connectivity. Javascript cannot provide this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: onValidate