5,346 Posted Topics

Member Avatar for satin

I think you miss server name (localhost) [CODE] Its your code : String url = "jdbc:mysql:mxj:///" + dbName + "?" + "server.basedir=" + databaseDir.getPath() // + "&" + "createDatabaseIfNotExist=true"// + "&" + "server.initialize-user=true" // ; and Its code at [URL="http://dev.mysql.com/doc/refman/5.0/en/connector-mxj-configuration-java-object.html"]http://dev.mysql.com/doc/refman/5.0/en/connector-mxj-configuration-java-object.html[/URL] String url = "jdbc:mysql://localhost:" + port + "/" + dbName …

Member Avatar for kvprajapati
0
154
Member Avatar for Truffy

Please read the Methods of class [B]File[/B]. The class [B]File [/B]is file system independent class.

Member Avatar for Truffy
0
115
Member Avatar for Nperic

I think, you want to add i18n (internationalization); multiple culture and language feature into your application. Can you tell me about your application whether it is web or desktop?

Member Avatar for jaka.ramdani
0
108
Member Avatar for payamrastogi
Member Avatar for joker21

Hi Joker21, If you want to talk to us then you approach the daniweb, same way your java program need a valid and available IP-Address. Yes, It is also possible that you might have no permission or a firewall reject the connection request.

Member Avatar for joker21
0
218
Member Avatar for vr4indian

I will be glad if you explain this code and gives me difference of Item.Version and Item.Versions.. Item.Version represent single value where as Item.Versions is a collection (multiple values).

Member Avatar for Diamonddrake
0
160
Member Avatar for fuzzyrose

Dear FussyRose, Your program is written for any hardware (because you choose java platform). After all, Java source code needs compilation if you want to change the os. so, compile your java program and run it on Linux without hesitation. Good Luck

Member Avatar for kvprajapati
0
238
Member Avatar for Kishorey

Dear, Gadget means an object having User Interface. Packages - java.awt, java.applet, and javax.swing are for the same purpose. You may use existing gadget or create new one.

Member Avatar for Kishorey
0
126
Member Avatar for UAEU Student
Member Avatar for kvprajapati
0
156
Member Avatar for lardshow
Member Avatar for anzaan
Member Avatar for Qasim Ali

Use templated column and add another gridview into an area of templated column whose datasource's [B]where clause [/B] is evaluated by the value of primary key's content.

Member Avatar for Qasim Ali
0
89
Member Avatar for KimJack

I presume that the RECORD_SIZE=13 bytes. 4 bytes for integer + 8 bytes for double + 1 byte for buf array (BankAccount.SIZE). [CODE] public void write(int n, BankAccount account) throws IOException { [COLOR="Red"]n--; [/COLOR] file.seek(n * RECORD_SIZE); file.writeInt(account.getAccountNumber()); file.writeDouble(account.getBalance()); byte[] buf = new byte[BankAccount.SIZE]; file.write(buff); } /** Reads a savings …

Member Avatar for kvprajapati
0
268
Member Avatar for mani11

It is not your problem. You need administrative privileges. If you are asking about to develop secured pages that are only accessible by the user of the system then you have to implements youself and If there is problem then you post it.

Member Avatar for ithelp
0
98
Member Avatar for namita.gpt

[QUOTE=namita.gpt;874638]"Hi..Plz can anybody provide me a samll Asp.net application which is using Crustal Report, which all the main functionality in webform.. plz help me.....my mail id is [removed]"[/QUOTE] Your problem is that you are not finding such application. Actually, the forum and friends are here to help you if you …

Member Avatar for ithelp
0
246
Member Avatar for lardshow

adatapost>masijade has explained and I am giving an example. [CODE] Integer[] numberArray = {75, 59, 0, 70}; Student s=new Student(); // Create an Instance of Student class s.average(Arrays.asList(numberArray)); [/CODE]

Member Avatar for lardshow
0
552
Member Avatar for gitech
Member Avatar for dhm.shyara
Member Avatar for gsingh2011

I am not geting your question. Are you want to send data from one program to another program?

Member Avatar for gsingh2011
0
70
Member Avatar for lqdo

User Server.MapPath Method. [CODE] Image1.ImageUrl=Server.MapPath("~/yourimagefile.jpg"); [/CODE]

Member Avatar for kvprajapati
0
303
Member Avatar for dmanw100

Your class must implements a java.io.Serializable Interface and one more thing is that you have to use java.io.ObjectInputStream and java.io.ObjectOutputStream class to read and write objects respectively. [CODE] class apple implements java.io.Serializable { int flavor; String color; apple(int a, String b) { flavor = a; color = b; } } …

Member Avatar for dmanw100
0
111
Member Avatar for tformed

[CODE] Customer customer = new Customer(last, first, street, city, state, z, acctNum); [/CODE] This code uses 7 argument Constructor - So, you have to create another constructor which takes seven arguements.

Member Avatar for tformed
0
239
Member Avatar for blufab
Member Avatar for kashn

Exception shows that you are loading a file within your applet. By default applet cannot access file system. If you want to access the file system then you have to set permission using policy file & policytool.

Member Avatar for kvprajapati
0
166
Member Avatar for Jesi523

Http is a stateless protocol. When you submit a page ASP.NET intercept the HTTP request and create a new page object - so, fields and control are created each time when a page is postback (submitted). Solution of this problem is to use State Management - ViewState, Session, Cookies, Cache, …

Member Avatar for kvprajapati
0
119
Member Avatar for lqdo

Parameter's property [B]TypeName [/B] is missing or somewhat it uses different class name which is not available in your application.

Member Avatar for lqdo
0
937
Member Avatar for henks
Member Avatar for sivak

How many times are you going to post the same problem? Please refere old post for the same topic.

Member Avatar for kvprajapati
0
67
Member Avatar for cwarn23
Member Avatar for mrgregkid

masijade has solved your problem. Every public class must be saved in separate file and the name of file must be same as public class. PS: You post dice class twice. - Isn't it?

Member Avatar for peace_of_mind
0
85
Member Avatar for sivak

If your question is regarding to file path and you want to get the name of file not an extension then use System.IO.Path.System.IO.Path.GetFileNameWithoutExtension(path).

Member Avatar for kvprajapati
0
108
Member Avatar for sam1
Member Avatar for sam1
0
175
Member Avatar for Qasim Ali

Dear, Your problem is to bind the DropdownList control instead of regular Text or Label control. Isn't it?

Member Avatar for kvprajapati
0
179
Member Avatar for sanushks

> Hi All, > > Currently i'm using sprintf to copy from pointer variable to a character array. > sprintf(length,"%.*s",(int)len,part1); > where part1 is a pointer to a character array.. > length is a characteter array too. > > Is there a way i can do the above thingy to …

Member Avatar for sanushks
0
160
Member Avatar for serkan sendur

adatapost>Thanks SS, We will remeber this statement. [QUOTE] if you change the product code and upgrade code manually on both setup projects, then you are able to install two of the projects side by side. [/QUOTE]

Member Avatar for kvprajapati
0
115
Member Avatar for ahmksssv

[QUOTE=ahmksssv;873559]Hi frnds... i have some problem regarding uploading a s/w when hosting a website... here i am doing project like stock market news...in this i had a software for updating share prices per every seconds.... where and how can i install software on my hosting panel?[/QUOTE] Ask to your vendor. …

Member Avatar for BzzBee
0
100
Member Avatar for kvprajapati
Member Avatar for kvprajapati
0
171
Member Avatar for serkan sendur

Yes Boss, It is possible, but I not going to tell you. >I am joking..I will post anwer after two days..

Member Avatar for kvprajapati
0
115
Member Avatar for kvprajapati

I am confused about static class and nested class. Is there any difference to code and use of static & nested class?.

Member Avatar for JamesCherrill
0
169
Member Avatar for sivak

Web browser creates a message (request) contains header and body and sumit this message to the web-server. request header contains the instructions and client information where as request-body contains the form data in name-value pair.

Member Avatar for sivak
0
73
Member Avatar for PhoenixInsilico

Dear PhoenixInsilico, [QUOTE]JamesCherrill's anwer is appropriate. - A field may be an instance variable or a static variable.[/QUOTE] They are variables but used in different context.

Member Avatar for verruckt24
0
151
Member Avatar for JDBlack
Member Avatar for sivak
Re: iis

Different version of IIS (5.0 or 6.0) has somewhat different work process.

Member Avatar for kvprajapati
0
56
Member Avatar for FallenPaladin

Which post contains your problem definition? If you talking about database then use SQL statements or linq.

Member Avatar for kvprajapati
0
106
Member Avatar for localp

Dear, If you are not familiar with java media framework api you cannot do this. So, read documentation of Media framework and then code.

Member Avatar for kvprajapati
0
48
Member Avatar for anandarju

Dear, I got same error due to inconsistent version of jdk and application server packages. Also verify the classpath.

Member Avatar for kvprajapati
0
66
Member Avatar for ryn004
Member Avatar for sivak

Sivak, Please post javascript problem on web forum. Use <a href="page1.htm" target="nameofframe">Page1</a>

Member Avatar for kvprajapati
0
72
Member Avatar for christiangirl

Hi Poster, BestJewSinceJC's explanation is correct. There is no direct method to force user to restrict input.

Member Avatar for kvprajapati
0
143
Member Avatar for christiangirl

Dear, Decide first, whether you want to search a string from an array of string or a string from another string.

Member Avatar for kvprajapati
0
172

The End.