5,031 Posted Topics
Re: NormR1, Selenium is a tool which let you record, edit and run automated test on your website to check for form validation, action results (click something to be moved somewhere else, or be offered advanced options etc) @nilo what is problem? Selenium [URL="http://seleniumhq.org/docs/"]documentation[/URL] is extensive. You will need to be … | |
| |
Re: You may want to use [URL="http://commons.apache.org/fileupload/"]Commons FileUpload[/URL]library. Linked site also includes some examples/tutorials | |
Re: How to install Java, database, server or tools and setting necessary path values is showed in [URL="http://www.daniweb.com/forums/thread249070.html"]this thread[/URL] | |
Re: [QUOTE=RazorRamon;1333671]I am very new to Javascript... [/QUOTE] That would definitely explain why you wrongly posted JavaScript question in Java Server Pages (JSP) Post moved! | |
Re: [QUOTE=unnamed12;1334504]please can you provide me with source code on how to read .txt file using C thank you[/QUOTE] 1.It is a bad think to open old thread on any forum and specially here where you just begging for code 2. Forum has following announcement [URL="http://www.daniweb.com/forums/announcement8-2.html"]We only give homework help to … | |
Re: jbennet you maybe right but I went trough similar scenario. Before everything went bad with laptop I received various error messages from network adapter, then it started swapping profiles on start up. What I mean by that is that laptop is fitted with mobile processor. On start I will get … | |
Re: [QUOTE=sonu33;1334148]Thanks for the reply,javaAddict! My code is working now:) I hadn't entered the name and pwd inside the form tag (html code),which is why I got a NullPointerException.[/QUOTE] That is why we use validation directly on the page (with JavaScript) or do it on server side once submitted | |
Re: Yak what and ugly thing to do database connectivity from page instead of servlet. Check [URL="http://www.daniweb.com/forums/thread141776.html"]this tutorial[/URL] how to do it properly or even better start reading [URL="http://books.google.com/books?id=15wp6fmAy4sC&lpg=PP1&dq=head%20first%20servlets%20and%20jsp&pg=PP1#v=onepage&q&f=false"]Head First Servlet and JSP[/URL] | |
Re: sagar_wordlife, first welcome to the forum second please read forum rules (reason, double posting not allowed) third, you need to decide for your self what is your choise of language Java or VB and last, please search forum there are many post where people asked for ideas so you may … | |
Re: @PeterRossy, you think you just helped him? No, you just push him in one of the assignment so he can go and play games or chat with friends about rubbish on facebook and come back with another assignment. We have nice announcement that says [URL="http://www.daniweb.com/forums/announcement8-2.html"]We only give homework help to … | |
Re: Are you restricted only not to use array or you are also restricted to use any Collections (ArrayList, List, Vector, Map)? If you are allowed to use other Collections then no problem there I guess. In any other even I would go with 3 variables, (min, max, current) and with … | |
Re: [QUOTE=rahulrulez;1330579]I copied the ShoppingBasket.class and Product.class files into [B]\classes\shop[/B] folder.[/QUOTE] You cannot just simply copy and paste existing as you wish specially if these classes have package declaration at start of file. Here is and example how to do it from [URL="http://books.google.com/books?id=15wp6fmAy4sC&lpg=PP1&dq=head%20first%20servlets%20and%20jsp&pg=PA81#v=onepage&q&f=false"]command line[/URL], if you using IDE (IntelliJ, Eclips, NetBeans) … | |
Re: You better use Eclipse as NB Android plugin [list] [*]never worked properly, [*]they been behind version deployment bellow is quote from [URL="http://kenai.com/projects/nbandroid/pages/Intro"]official documentation[/URL] [list] [*]platforms/android-1.1 - a target matching to older SDK1.1 platform [*]platforms/android-1.5 - SKD1.5 [*]add-ons/google_apis-3 - SDK1.5 + Google Maps API [/list] [*]lastly this plugin was developed as … | |
Re: [QUOTE=eltommyo]so even if i used a the google image search? and wat about neopets?[/QUOTE] eltommyo for the futhure, do not post in more than one forum | |
Re: Hibernate [URL="http://www.hibernate.org/docs.html"]Community material[/URL] [URL="http://static.springsource.org/docs/Spring-MVC-step-by-step/index.html"]Developing a Spring Framework MVC application step-by-step[/URL] [URL="http://wiki.apache.org/struts/StrutsTutorials"]Struts Tutorials[/URL] | |
Re: [QUOTE=NormR1;1330461]When you get errors, please copy the full text and paste them here.[/QUOTE] That will be impossible since all catch statements are simple system calls [icode]System.out.println("Error");[/icode]. @blknmld69 replace all [icode]System.out.println("Error");[/icode] with [icode]printStackTrace(x);[/icode] (x is the exception object treated by catch block) | |
Re: The fault is in your understanding of creating object classes, how to initialized the class and how to populate/set data to variables of the object that did not received data on initialization. Meaning at the start you did call [icode]new Invoice(0.00);[/icode] that set balance, however you failed to call [icode]price(double … | |
Re: [list] [*][URL="http://java.sun.com/products/jlf/ed1/dg/index.htm"]Java Look and Feel Design Guidelines[/URL] [*][URL="http://java.sun.com/products/jfc/tsc/articles/sce/index.html"]Creating a Custom Look and Feel[/URL] [/list] there was another link I seen before, but alas not able to find it now Besides you can always have look on code from some L&F open source projects... | |
Re: [QUOTE=nix_xin;1330533]. . . i'm kinda a beginner, pls post a source code to this problem . . .[/QUOTE] That is wrong approach, you try it and we MAY correct it. Besides there is something like [URL="http://www.daniweb.com/forums/announcement8-2.html"]We only give homework help to those who show effort[/URL] | |
Re: Classic example of clashing multiple drivers locations. [B]Never mess around with Java installation directory![/B] Meaning delete that driver out of C:\ ... \Java\jre6\lib\ext and keep it either in server common library, Tomcat 5 and lower versions TOMCAT_DIRECTORY/common/lib, Tomcat 6 TOMCAT_DIRECTORY/lib or have it in project library folder TOMCAT_DIRECTORY/webapps/YOUR_PROJECT/WEB-INF/lib. | |
Re: Use Ajax or jQuery library and look for methods like change() or onChange() | |
Re: [code] public void getAccounts () throws IOException { int[]array1; int value1; int[]array2; int value2; int accumulator = 0; //Open valid_accounts.txt. File file = new File("valid_accounts.txt"); Scanner inputFile = new Scanner(file); //Read lines from the file until there are no more to read. while (inputFile.hasNext()) { accumulator++; [COLOR="Red"]array1 = new int[accumulator];[/COLOR][/code] … | |
Re: The way you trying to create JSP pages is very out of date. You should look at [URL="http://books.google.com/books?id=15wp6fmAy4sC&printsec=frontcover&dq=head+first+servlets+and+jsp&hl=en&ei=odyHTLbTAcqSswbM1PzgCg&sa=X&oi=book_result&ct=result&resnum=1&ved=0CCwQ6AEwAA#v=onepage&q&f=false"]Head First - Servlets and JSP[/URL] or official [URL="http://download.oracle.com/javaee/6/tutorial/doc/"]JavaEE 6 tutorial[/URL] | |
Re: You do not want to do this sort of stuff in JSP. Use JSP to give you handle on the file, pass it to servelt that will read file with input stream, process it and display what ever you need on JSP page. | |
Re: You can find instruction how to install Tomcat on our forum in this [URL="http://www.daniweb.com/forums/post1110463.html#post1110463"]post[/URL] | |
Re: Without exact error there is nothing we can do. | |
Re: For start did you open box and checked that cpu cooler is attached properly (sometimes these things get loose when moving between floors or houses) | |
Re: Well either server path or file path is wrong. Seeing that you already mentioned sever path in other thread and had no problems guess it will be file path. Check if file exists and also try to remove the empty spaces from file name | |
Re: You are getting NullPointerException that mean that somewhere you calling a variable that has null value (most likely wasn't initialized). Check the line line number which is showed together with the error. If you not able sort it out on your own post full error as you get it and … | |
Re: You would need use [URL="http://wurfl.sourceforge.net/"]WURFL[/URL] that in scenario that device is connecting to a server. | |
Re: Thread closed, please refer to the second instance that was left open [URL="http://www.daniweb.com/forums/thread309222.html"]here[/URL] @churva_churva I recommend you start following forum rules or you will soon face closed doors of this forum. | |
Re: By installing and setting up Tomcat properly. As the error ask where does your JAVA_HOME points to? Windows echo %JAVA_HOME% Unix echo $JAVA_HOME | |
Re: So what does your method needs to do? 1. Receive char array 2. Maybe you want to run check if each element of array is in deed number. Since you have already array of characters you can use loop to get each of them and check if is number with … | |
Re: [code] public class Circles2D{ public static void main(String[] args){ //Keep working } }[/code] | |
Re: [quote][B]Common Error Messages on Microsoft Windows Systems[/B] [I]Class names, 'HelloWorldApp', are only accepted if annotation processing is explicitly requested[/I] [B][COLOR="Red"]If you receive this error, you forgot to include the .java suffix when compiling the program. Remember, the command is javac HelloWorldApp.java not javac HelloWorldAp[/COLOR][/B][/quote] Source -> [URL="http://download-llnw.oracle.com/javase/tutorial/getStarted/problems/index.html"]here[/URL] | |
Re: In similar way like you get data from server. 1. Open connection 2. Set request method to POST 3. Set request property to "Content-Type" and "application/x-www-form-urlencoded" 4. Send you data over to server 5. Server does database data entry and return OK for success or some custom message | |
Re: Well done you just replied to 5 years old thread, where last entry was made 4 years ago with some feeble code, ignoring naming conventions. Was it worth it? Dunno... Thread closed, no more time travellers accepted. | |
Re: To be fair I know only of XML libraries provided for JME and no Excell (Office) one. I know there are some midlets available but these are commercial products. Try to look into BlackBerry libraries if there is any chance to get their library on common mobile device. Do not … | |
Re: [QUOTE=LianaN;1323709] But I don't fully understand how to implement the following. For instance, the User_A & User_B have installed my application on their computers. The user_A has rights to only read the data, whereas the USER_B is allowed to read and write the data. So, how could I check which … | |
Re: Not a JSP question, relevant to JavaScript. Moving post | |
Re: Do you think that query is correct? I don't. If you do not believe me try to execute directly on database (command line or gui tool). What are you trying to pass as "pin&????" ? | |
Re: [LIST=1] [*]Google -> [URL="http://www.google.co.uk/search?source=ig&hl=en&rlz=&=&q=midlet+hello+world&aq=0&aqi=g1&aql=&oq=midlet+hello&gs_rfai="]midlet hello world[/URL] [*]Mobile [URL="http://www.daniweb.com/forums/thread302854.html"]resources[/URL] of this forum section [*][URL="http://netbeans.org/kb/trails/mobility.html"]Netbeans.org tutorials[/URL] [/LIST] Was it so hard? | |
Re: PHP+JSON to MySQL approach from [URL="http://www.helloandroid.com/tutorials/connecting-mysql-database"]helloandroid.com[/URL] is what I found so far | |
Re: Please post your code and any errors if you get them. | |
Re: Cannot find class. Meaning you did not added resources correctly. | |
Re: To be fair I never messed up with JAD and took it for granted that is correct. To my understanding JAD function is in detection of device capabilities. Because JAD is just few kb in size it should be used by internet sites to send this file in first place … | |
Re: Good effort, but still it needs few more resources (have look on Java, JSP, C or C++ Read me marked threads to see extend of first posts) |
The End.