36,051 Topics
![]() | |
Hi all, I was wondering if anyone had tried to use the Quicktime for Java platform to stream video in either MPEG-4 or MJPG formats? Can the platform be used in linux if it uses the third-party Quicktime for Linux? Or is there another platform that might be suitable for … | |
Hello, I need to send the displayed jsp page in an email. My jsp has rows in a table and other good stuff like text, values, icons etc., Any ideas, how I can do that. I am familiar with the java mail, I am not looking for how I do … | |
Hi All, I need help ASAP to read a csv file & populate a String Multidimensional Array. The csv file is a table of x number of rows each containing 3 columns of data to be read as strings. It will then enable me to print out this data into … | |
hii ... i am trying to learn jsp technology . i tried a couple of ways to run the jsp pages but none was successful . can anyone temme the exact way to install a server and run a jsp page . | |
Hi people. I am new to this forum. In fact the reason why i registered here is my problems about making a JSP page work. I am using Apache-Tomcat I just wanted to test an html file. It was form.html.When i start tomcat and type ht*tp://localhost:8080/ everything works fine. But … | |
Hello All, I am trying to double the size of an array and copy its contents to the new array. I keep getting the following errors with the following code snippet: '.class' expected not a statement Here is my code: private void cpyArray() { if(itemCount == item.length) Doll [] temp … | |
hi people im hemamalin doing ma 4th yr in software field.. i hve gotta mini project and im wrking upon it. its dat im using java eclipse as ma software and i would like to hve basic pdf documents so dat i can learn from it, it would be kind … | |
So i have an UML diagram from wich i must define my code for my Customer class , and the start of the diagram attributes is with that -accounts : Account = new Account() , so i typed for it : private Account = new Account() accounts; and then i … | |
[B]I want to build a software of data modelling like [URL="http://www.dds-lite.com/"]dds lite[/URL] The 1st thing I wanna do in dis case is to make a erd editor using java , please give me some idea about the java packages and classes should be used.. please provide some tutorial about this … | |
hi friends! i have created a button on my applet. the button name is "PRINT". i wan the code for this button ,such that the print out of the information given as input to the applet must be printed. is there any command in java to directly get printed from … | |
I have a Java assignment due tonight, and I wrote this, but it will not compile. Can someone help me see what I'm doing wrong? Thanks! My assignment is: "Modify the Payroll Program application so it continues to request employee information until the user enters stop as the employee name. … | |
i have a small application which checks for username and password in the database and forwards the users to restricted pages on confirmation. i ve uploaded the application on eatj.com for testing, now my problem is that the session creation code is not working in [B]Internet Explorer[/B].means every time i … | |
Hiii.... i'm final year engineering student(cse).... i've to do one main project in java/j2ee/j2me...... pls suggest any good n latest topics..... thanx..... | |
I am using JAVA studio creator and I am having a hard time understanding how to add a page hit counter that uses the ApplicationBean. I am just trying to create a simple JSP that shows how many times the page has been visited. ANY help on where to get … | |
Hey guys, gonna try and explain this in an hopefully understandable way. I've got my GUI which is called a GUI class which is a singleton so I can access it anywhere in my code and manipulate the GUI object. I've also got a sharedMemorySection which again is a singleton … | |
Dear All, Since one cannot write the ping command in java because real ping requires ICMP support, and performs a very basic test that there is an IP protocol stake "awake" at the requested address and this is not supported by java. this code is not a "ping" in the … | |
Hi, I am trying to compile a code( which was written and compiled in 1.4) in 1.6. It gives few errors, when i compile in 1.6 for eg: compareTo(java.lang.String) in java.lang.String cannot be applied to (java.lang.Object) if (NatureOfAddress_SidNumber_str.compareTo(vTemp2.elementAt(iLoop)) < 0) Is there anyway i can suppress the warnings so that … | |
Hi, I need help with a timetable which must do the following: 1: Input: program name Output: list of core and option modules. 2: Input: module name Output: module leader, activities, credits, when run, constraints 3: Input: activity name Output: room(s) 4: Input room number Output size, condition, available resources … | |
Hey guys, I'm lost in terms of how to get 1 thread to stop another thread by changing one of its values. Ie say I've got a JButton which when pressed invokes thread 1. I've also got another JButton which when pressed stops thread 1 from processing. I'm lost since … | |
Hi all this is my problem: description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Exception in JSP: /DAO.jsp:16 13: 14: Class.forName("oracle.jdbc.driver.OracleDriver"); 15: 16: conn = DriverManager.getConnection("jdbc:oracle:thin:vincenzom86@localhost:1521:XE","xxx","xxx"); 17: 18: Statement st = conn.createStatement(); 19: Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause … | |
I'm getting a problem with a database resource in Tomcat 5.5.25 The error (from the log) is: [code] Cannot create JDBC driver of class '' for connect URL 'null' java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507) at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(JdbcOdbcDriver.java:476) at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(JdbcOdbcDriver.java:307) at java.sql.DriverManager.getDriver(DriverManager.java:253) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1143) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:274) at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159) at org.apache.jsp.test_002ddb_jsp._jspx_meth_sql_005fquery_005f7(test_002ddb_jsp.java:9766) at org.apache.jsp.test_002ddb_jsp._jspx_meth_c_005fcatch_005f7(test_002ddb_jsp.java:9732) … | |
I've read plenty of java Swing forums or questions and none of them have the right answers. I am trying to dynamically select a node in a JTree by searching for it using a search panel based on its property. My jtree allows single selection model. (SINGLE_TREE_SELECTION). [CODE]jTree.setExpandsSelectedPaths(true); // jTree.expandPath(treePath); … | |
Hi everybody, I have a class called "dynamicArray" which makes use of static array and provides addElement, deleteElement methods, etc. It stores the datatype, "myObject". I want to construct the JList with the instance of dynamicArray class, say myDynamicObj. so that whenever when I delete/add element from/to dynamicArray the JList … | |
[QUOTE] ArrayList<ArrayList> liste = new ArrayList<ArrayList>();[/QUOTE] eclipse saying : [QUOTE]ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized[/QUOTE] The list should be containing some strings and some integers. So what I should write is ArrayList<ArrayList<MyClass>> to get rid off the warning. The problem is I dont … | |
Hello developers, Im still practising my programming with coding a calculator after some reading on the basics of Java. Could really use a pointer or two here. I wrote a calculate function(calculateResult). The error message I got says that the function cannot be applied on the 'number2' argument. (on line … | |
hi there guys! I have a scenario that is presently giving me sleepless nights. I need to call an asp method from an "onclick" html event but the method is being called too early. [CODE] Public Sub CheckForSomeErrors() If Session("FliteDate") = "" Then Response.Redirect("../Errorpage.aspx?ErrorDetails='Flight Date' cannot be blank!! Click 'Previous' … | |
Write a java program that uses inheritance to extend box. Use the extend keyword to include weight. // use the super keyword to access the variables //of the parent class, remember that only weight(m) //was declared in this class but the other three //were declared in the parent class so … | |
Hi All, from my form bean when i am giving input as a german character, from the method request.getParameter(), it's converting it into some other data, can you people help me what should i do. | |
I have a test soon and are having troubles with the following questions.. 6) A local variable is a: (A) variable declared in a field (B) public statement of a variable in a method (C) private statement of a variable (D) variable declared and used within a single method 9) … | |
Hi, In this , i dont know how to do nested colums. <display:table name="${form.results}" id="row" cellpadding="true"> <display:column property="firstName" value="${row.firstName}"/> <display:column property="lastName" value="${row.lastName}"/> | | |// list of columns | | <display:column> <display:table name="${row.cdList}" id="row" > <display:column> <display:table name="${row.CDSummary}" id="row" > <display:column property="cdAccountType" value="${row.cdAccountType}"/> <display:column property="cdType" value="${row.cdType}"/> </display:table> </display:column> </display:table> </display:column> … | |
[QUOTE] ArrayList<ArrayList> bigList = new ArrayList<ArrayList>(); ArrayList liste = new ArrayList();[/QUOTE] [QUOTE]for(i=0 ; i<10 ; i++){ liste.add(0,i); bigList.add(0, liste); liste.clear( ); }[/QUOTE] What I want to get is something like [ [9] [8]...[0] ]. Instead of that I'm getting [ [ ] [ ]...[ ] ], an ArrayList of empty … | |
Hi, I want to use an ArrayList of long but [QUOTE]ArrayList<long>liste = new ArrayList<long>();[/QUOTE] doesnt work. Eclipse changes it to [QUOTE]ArrayList<long[]>liste = new ArrayList<long[]>();[/QUOTE]. What to do? I really need an arraylist of long values. Thanks. | |
hey and happy new year! i cant understand whats the difference between x++ and ++x if anyone knows let me know :) thanks in advance ! | |
hi can I insert a xslt in a page jsp??? do you have some examples???? thanks | |
Hi there folks, Very new to java and I have what I hope will be a simple question... I have JDK 1.5 installed on my C: drive and my source on my E: drive (flash drive). I'm trying to run the source and I always get NoClassDefFound errors when I … | |
| |
Hi I'm just trying to create an appliation in java that can hold my expenses and save it to review every month or end of the year.The problem with it is how can i hold the data of everyday expense into it.this could be with help of oracle or MS … | |
Hi, I am developing an app with some similarities to a bittorrent client. The problem I am facing is in writing blocks of data to appropriate places within a file since they can arrive out of order. I have looked over the OutputStream classes and cannot see a way to … | |
Hi I am trying to develop a project in Java as per the following requirements: 1. I need to store fingerprints in The oracle database, taken by any fingerprint scanner. 2. I need to access data using fingerprint matching process. 3. I donot know how to match the patterns using … | |
hey i have that singleton code in java but how can i check that it have an instance only? [CODE] class singleton { private static singleton instance; private singleton() { } public static singleton getInstance() { if (instance == null){ instance = new singleton(); } return instance; } } [/CODE] … | |
Hey, I am trying to implement a ctrl + x to close my program when the user clicks on the exit menu item or hits ctrl + x, but so far it is unresponsive, here is my code: [CODE=java] package main; import javax.swing.*; import java.awt.*; import java.awt.event.*; import testing.Intro; public … | |
I need to query a database on a server. As a first step, I have written the following Java code to just make sure I can access the database. I thought that the Try-Catch blocks would take care of the exception problem, but apparently they do not because when I … | |
hey i am new in java and i need help for a project of scool i need a program in wich i form a matrix and the numbers in it will form like this 1 but there is a problem the o must not be there only the 1 o … | |
hi all! how can i change the alignment of a form item such as imageItem or TextField or ... in netBeans 5.5.1 ? | |
can someone explain this to me... coz i cant understand.. im trying to this one but i cant do it. Implement and test this method: static double max(double[] x) { // returns the maximum of the elements in the array x | |
hi, im having problems with my password textfield. for instance, my password is "default", and when i start typing in letter "d", the letter "d" is being displayed first before turning it into an asterisk. i was thinking if it is possible to make my entry entirely in an asterisk … | |
Dear sir In my project i have to pass variables when a user click on the link i.e there is full address of a client which is getting from a table,when user click on this link all information is displayed,but the problem is if there is a space in the … | |
At 12:16 (I live in NH, if the time matters) I noticed I was having a problem with the Java forum and only that one. Whenever I loaded it (using Firefox, WinXP) the thread list was messed just a little. AS you can see it only shows the last post, … | |
Hai, I write a simulation and need to set the time for running the simulation. the simulation should stop based on the time that heve been set .How to set start time, get the current time and lastly to get the total time of java running program? really hope u … | |
In this is just one class. can someone tell me to add a new query? [code] /* * SplashView.java */ package splashapp; import org.jdesktop.application.Action; import org.jdesktop.application.ResourceMap; import org.jdesktop.application.SingleFrameApplication; import org.jdesktop.application.FrameView; import org.jdesktop.application.TaskMonitor; import org.jdesktop.application.Task; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.List; import javax.swing.Timer; import javax.swing.Icon; import javax.swing.JDialog; import javax.swing.JFrame; … |
The End.