Hello everybody, My question is simple. I wish to develop a web site and I have been looking for web hosts and most offer MySql. At my job we use oracle, but after some searching I haven't found any great differences between them and any real reasons why I should choose one over the other. So I would like to ask, from your personal experience, if MySql is the right choice and good enough for handling large numbers of data or paying some extra money for choosing oracle is worth it. I know that beeing in the MySql forums most …

Member Avatar
Member Avatar
+0 forum 5

Hello everybody. I have a question/problem. I have a select tag with several options. Sometimes the text of the option becomes very large. So I tried something like this for example: [CODE] <select> <option>A Very Big <br/> sentence</option> </select> [/CODE] But it didn't work. What I was trying is to put the <br> between the option tags, so some of the options to be displayed in 2 lines. Is that possible? Thank you.

Member Avatar
Member Avatar
+0 forum 2

This is not much of a question, but a discussion and searching for opinions. I have seen that many use the Scanner class for getting input from the keyboard. Some, like myself, use the BufferedReader. Why will someone use one over the other? Or they both do the same thing when it comes something simple as that and their real difference is when it comes to using them for something more complex?

Member Avatar
Member Avatar
+0 forum 14

Hi, I recently decided to learn how to program and distribute applications for iPad. After some research I have some questions. I found similar threads in this forum but none where exactly what I wanted. 1) Do I have to buy a Mac to develop my iPad program? After reviewing this link: [URL="http://www.daniweb.com/forums/thread323449.html"]http://www.daniweb.com/forums/thread323449.html[/URL] and this [URL="http://www.dragonfiresdk.com/index.htm"]Dragon Fire SDK[/URL] I found that I can write my app in C++. But is it possible that some things that I need to do for my app cannot be done in C++ and I should be using Objective-C (or Cocoa Touch Programming)? Has anyone …

Member Avatar
Member Avatar
+0 forum 2

Hi, here is the question: I have 2 textfields in my JSP: [CODE] <s:textfield name=" ...." /> <s:textfield name=" ...." /> [/CODE] Now I went to browser and did: View Source Code, and noticed that around the above tags, there were auto-generated tags that put the above fields into 2 rows in a table. It was like: [CODE] <tr><td> <input type="text" ....> </td></tr> <tr><td> <input type="text" ....> </td></tr> [/CODE] Now I wanted those 2 fields to be at the same row, so I originally wrote: [CODE] <table> <tr> <td> <s:textfield name=" ...." /> </td> <td> <s:textfield name=" ...." /> </td> …

Member Avatar
Member Avatar
+0 forum 5

Hi All I have a problem. I have been having some problems with my PC so I called technical support and they suggested that I should re install the drivers. I entered the CD with the Vista Drivers, followed the instructions after a while a black screen appears with this: [QUOTE] Bad or missing Command Interpreter Enter the full shell command line: command.com /P /E:256 [/QUOTE] What should I do? It is stack there? Also the CD label said: P5Q PRO/P5Q Series Intel P45 Chipset Support DVD Rev.374.04 Thanks

Member Avatar
Member Avatar
+0 forum 2

I had a problem at work which I solved, but that raised me another question. I wanted to export a page to excel, so I used this: [CODE] response.setContentType("application/vnd.ms-excel;charset=iso-8859-7"); [/CODE] It worked but while I was searching for an answer I found 3 possible content types for the excel: > application/vnd.ms-excel > application/x-msexcel > application/ms-excel As well as this: [URL="http://stason.org/TULARC/business/spreadsheets/10-19-What-is-the-correct-registered-MIME-Content-Type-for.html"]http://stason.org/TULARC/business/spreadsheets/10-19-What-is-the-correct-registered-MIME-Content-Type-for.html[/URL] [QUOTE] What is the correct, registered MIME Content-Type for Excel files? application/vnd.ms-excel see [url]http://www.isi.edu/in-notes/iana/assignments/media-types/application/vnd.ms-excel[/url] so don't use any of these: application/ms-excel application/msexcel application/excel application/x-ms-excel application/x-msexcel application/x-excel application/octet-stream [/QUOTE] QUESTION: Why only this: [U]application/vnd.ms-excel[/U] is correct and those are not: > …

Member Avatar
Member Avatar
+1 forum 6

I encountered some code at work that got me thinking. There was a util - class that had some methods that had nothing to do with the state of the class. They were all "util" methods. Meaning that they could all be declared static with [U]no[/U] problem because the only thing they did was some calculations and return the result. But methods were declared non-static and the class was created as singleton. So even though an instance was needed to call them, because the class was singleton only one instance was created in the end. I asked the programmer why …

Member Avatar
Member Avatar
+0 forum 12

Hi everybody. I have a problem and I need some suggestions. A few weeks ago, my monitor suddenly turned off on its own. Then I shut down my computer and switched it on again, and after 5 minutes the monitor turned off again. This happened several times in a row. Some hours later I turned on the computer and it was working OK. But recently when I turn the computer on, the monitor periodically switches on/off for several times before it "stabilizes". The little green light the monitor has also switches on/off. What do you think is the problem? Do …

Member Avatar
Member Avatar
+0 forum 5

Hi here is another question: I searched the internet for information about the radio tag, and this is all I found so I put it in my code [CODE] <s:radio name="..." list="myArray" /> [/CODE] The above displays all the elements of the array with radio buttons. My problem is that they are not being aligned when they are displayed. This is my problem: I have an iterator and a list with objects: [CODE] <s:iterator value="listOfObjects"> <s:property="property_1"> <s:property="property_2"> <s:property="property_3"> <code to be added /> </s:iterator> [/CODE] The above creates a table and each row has the properties of each object in …

Member Avatar
Member Avatar
+0 forum 6

Hi all, I am having problem with openCV: I am using Microsoft Studio 2008 From this lnk: [URL="http://sourceforge.net/projects/opencvlibrary/"]http://sourceforge.net/projects/opencvlibrary/[/URL] I downloaded the [U]OpenCV_1.1pre1a.exe[/U] for windows and installed it. I have been searching ways to include the libraries installed but the instructions don't seem to match my VS version? So after creating a new project I went to the folder where the .cpp and .h files were and started adding the .h files that were installed. (cv.h ,cxcore.v and so on) The code was compiling but when I added the highgui.h I got this error: [QUOTE] Error 1 error LNK2019: unresolved external …

Member Avatar
Member Avatar
+0 forum 4

Hi everybody, I hope that this is the right forum to post this. I just received a rather strange PM from someone. They were asking me for my bank account number in order to deposit a great amount of money. The PM had an extensive story why they want my help in order to transfer the money into my account. Now I didn't know where to report this so I found this forum which I thought was appropriate. If some administrator is reading this, please provide me with instructions on how to proceed. By the way, I just noticed that …

Member Avatar
Member Avatar
+0 forum 12

Hi everybody, I have found these books [URL="http://www.amazon.com/Learning-OpenCV-Computer-Vision-Library/dp/0596516134/ref=sr_1_1?ie=UTF8&s=books&qid=1242936833&sr=1-1"]Learning OpenCV: Computer Vision with the OpenCV Library[/URL] from [B]AMAZON[/B] and this: [URL="http://www.papasotiriou.gr/product.ebook.asp?pfid=1761941&prid=1016178"]Learning OpenCV[/URL] from my [B]LOCAL[/B] store Which one do you suggest to buy? Should I wait and order the first one? OR is the second at my local store as good as the first

Member Avatar
Member Avatar
+0 forum 2

Hi, I am trying to use this method: [URL="http://www.cs.indiana.edu/cgi-pub/oleykin/website/OpenCVHelp/ref/OpenCVRef_CxCore.htm#decl_cvCheckArr"]cvCheckArr[/URL] As a parameter I pass an IplImage and it compiles, but when I tried to run got this error: "Unsupported format in function: cvCheckArr .cxmathfuncs.cpp " I checked the above file and found from the code that it tries to convert the argument [I]const CvArr* arr[/I] into a CvMat. The problem is that I pass an IplImage. What I am trying to accomplish is to take the difference of 2 images and see if pixels of the result are lower than a certain threshold: [CODE] cvSub( frame, oldFrame, dst, NULL ); …

Member Avatar
+0 forum 0

Just a quick question. No rush to answer, it is not important, I might discover it later myself, but just in case someone knows it: I have been trying to create a [URL="http://java.sun.com/javase/6/docs/api/java/lang/reflect/Method.html"]Method[/URL] object using this method: [URL="http://java.sun.com/javase/6/docs/api/java/lang/Class.html#getMethod(java.lang.String,%20java.lang.Class...)"]Class.getMethod(String name, Class<?>... parameterTypes)[/URL] like this: [CODE] obj.getClass().getMethod(methodName, Class.forName(methodType)) [/CODE] My problem is that the method takes as argument an int: [CODE] public void setA(int a) { ... } [/CODE] So when I call this: Class.forName("int") I get an exception: java.lang.ClassNotFoundException: int But when I call it like this: Class.forName("java.lang.Integer") I get an exception: java.lang.NoSuchMethodException: pack.ClassR.setA(java.lang.Integer) Is there a way to fix this …

Member Avatar
Member Avatar
+0 forum 4

Hi, as you can understand from the name, I am new in VB. So I have 2 questions regarding buttons: 1: I have an array of buttons created like this in the code: [CODE]Dim buttons(10) As System.Windows.Forms.Button[/CODE] I need whenever each one of these buttons is clicked to invoke the same method. Then I will go into the method, figure out which button was clicked and act accordingly. The reason I am doing this is because the length of the array will be created dynamically. So I don't know how many buttons there will be when the form loads, but …

Member Avatar
Member Avatar
+0 forum 5

Hi there, Does anyone know any good books for Struts 2? I have tried reading: Struts 2 In Action, but I wasn't very thrilled about it Thanks

Member Avatar
Member Avatar
+0 forum 4

I presume that by back button you are referring to a browser and you have implemented that with JSPs. In that case when the username and password are correct, save the username in the session before you redirect to the next page. Then when you go to the next page (and every page) always take the username from the session and check if it is not null. When you logout remove the username from the session, so when you hit the back button and try to get the username from the session it will be null. Then you can redirect …

Member Avatar
Member Avatar
+0 forum 3

Hi All, I am an experienced java programmer for many years. But my problem is that the final assignment that was given to me for my master at the university, has to be written in VB .NET. Do you know any good books for learning VB .NET for someone like me? I don't want a book that just explains how to use the graphic environment and build GUIs. I have bought one those years ago and it wasn't helpful. It didn't explain much about the programming language ,but only how to create graphics. I am asking this question here, because …

Member Avatar
Member Avatar
+0 forum 4

I will briefly explain my problem: I have a while-loop and inside I call some methods. Inside one of the methods I have this error: java.lang.[B]NoClassDefFoundError[/B], which is been caught and the while continues. The problem is that a few seconds later as the while keeps running the same method doesn't throw that error and it executes correctly. Now, you are going to say that the first time the method tried to call something that was not found and the second time the program followed a different path. This is not the case because the class that the error says …

Member Avatar
+0 forum 0

Does anyone know where can I find how to calculate how many days February has for a given year?

Member Avatar
Member Avatar
+0 forum 5

Hello everybody. I am javaAddict. I have been a java addict since 2004. I came across this site when I was looking for some java project ideas to implement just for fun in order to kill time (yes that's what I do for fun when I am bored: I write java) But when I read more information about his forum I registered in order to help new programmers with their java programs. I didn't have any help when I was beginning, I had to discover a lot of things on my own, so I wanted to pass the knowledge and …

Member Avatar
Member Avatar
+0 forum 3

The End.