18 Solved Topics

Remove Filter
Member Avatar for javaAddict

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 …

Member Avatar for javaAddict
0
270
Member Avatar for javaAddict

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 …

Member Avatar for javaAddict
0
107
Member Avatar for javaAddict

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 …

Member Avatar for StephNicolaou
0
551
Member Avatar for javaAddict

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 …

Member Avatar for garaki
0
1K
Member Avatar for javaAddict

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: > …

Member Avatar for javaAddict
1
929
Member Avatar for javaAddict

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 …

Member Avatar for javaAddict
0
127
Member Avatar for javaAddict

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. …

Member Avatar for Suspishio
0
145
Member Avatar for javaAddict

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 …

Member Avatar for sangyl
0
3K
Member Avatar for javaAddict

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 …

Member Avatar for h.sileem
0
445
Member Avatar for javaAddict

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 …

Member Avatar for The Dude
0
240
Member Avatar for javaAddict

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 …

Member Avatar for jephthah
0
101
Member Avatar for javaAddict

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 …

0
75
Member Avatar for javaAddict

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 …

Member Avatar for javaAddict
0
148
Member Avatar for javaAddict

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 …

Member Avatar for javaAddict
0
502
Member Avatar for javaAddict

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 for javaAddict
0
93
Member Avatar for javaAddict

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 …

Member Avatar for jwenting
0
149
Member Avatar for javaAddict

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 …

0
82
Member Avatar for javaAddict

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

Member Avatar for javaAddict
0
294

The End.