5,346 Posted Topics
Re: 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 … | |
Re: Please read the Methods of class [B]File[/B]. The class [B]File [/B]is file system independent class. | |
Re: 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? | |
Re: You may use the MCI - Media Control Interface API. | |
Re: 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. | |
Re: 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). | |
Re: 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 | |
Re: 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. | |
Re: Use utils from apache - [B]commons-fileupload-1.0.jar[/B] - to upload. | |
Re: The Excel file must be in your application folder. | |
Re: 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. | |
Re: 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 … | |
Re: 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. | |
Re: [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 … | |
Re: 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] | |
Re: You can use MIME type with any webserver. | |
Re: I am not geting your question. Are you want to send data from one program to another program? | |
Re: User Server.MapPath Method. [CODE] Image1.ImageUrl=Server.MapPath("~/yourimagefile.jpg"); [/CODE] | |
Re: 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; } } … | |
Re: [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. | |
Re: If you are looking for a project - struts 2.0 framework is the best option. | |
Re: 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. | |
Re: 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, … | |
Re: Parameter's property [B]TypeName [/B] is missing or somewhat it uses different class name which is not available in your application. | |
Re: May be flush() is missing. os.write(...) os.flush() | |
Re: How many times are you going to post the same problem? Please refere old post for the same topic. | |
Re: Try to create .JAR which contains an applet class and JSAPI. | |
Re: 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? | |
Re: 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). | |
Re: Dear, Please check the value of txtID.Text before executing command. | |
Re: Dear, Your problem is to bind the DropdownList control instead of regular Text or Label control. Isn't it? | |
Re: > 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 … | |
Re: 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] | |
Re: [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. … | |
I have difficulties to implement variable length argument to my C function. | |
Re: Yes Boss, It is possible, but I not going to tell you. >I am joking..I will post anwer after two days.. | |
I am confused about static class and nested class. Is there any difference to code and use of static & nested class?. | |
Re: 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. | |
Re: 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. | |
Re: use static field in your program. | |
Re: Different version of IIS (5.0 or 6.0) has somewhat different work process. | |
Re: Which post contains your problem definition? If you talking about database then use SQL statements or linq. | |
Re: Dear, If you are not familiar with java media framework api you cannot do this. So, read documentation of Media framework and then code. | |
Re: Dear, I got same error due to inconsistent version of jdk and application server packages. Also verify the classpath. | |
Re: Read MSDN online pages about digital certificate. | |
Re: Sivak, Please post javascript problem on web forum. Use <a href="page1.htm" target="nameofframe">Page1</a> | |
Re: Hi Poster, BestJewSinceJC's explanation is correct. There is no direct method to force user to restrict input. | |
Re: Dear, Decide first, whether you want to search a string from an array of string or a string from another string. |
The End.