5,031 Posted Topics

Member Avatar for nilo

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 …

Member Avatar for peter_budo
0
87
Member Avatar for motheva
Member Avatar for peter_budo
0
241
Member Avatar for pradn

You may want to use [URL="http://commons.apache.org/fileupload/"]Commons FileUpload[/URL]library. Linked site also includes some examples/tutorials

Member Avatar for peter_budo
0
63
Member Avatar for shapam

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]

Member Avatar for peter_budo
0
107
Member Avatar for RazorRamon

[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!

Member Avatar for Airshow
0
106
Member Avatar for m_amruta

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

Member Avatar for peter_budo
0
192
Member Avatar for Coach_Nate

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 …

Member Avatar for 11thlogin
0
1K
Member Avatar for sonu33

[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

Member Avatar for sonu33
0
3K
Member Avatar for calender24365

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]

Member Avatar for peter_budo
0
118
Member Avatar for sagar_wordlife

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 …

Member Avatar for peter_budo
0
113
Member Avatar for kennski23

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

Member Avatar for peter_budo
0
329
Member Avatar for gudads

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 …

Member Avatar for peter_budo
0
1K
Member Avatar for rahulrulez

[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) …

Member Avatar for nohup
0
2K
Member Avatar for mahdi68

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 …

Member Avatar for peter_budo
0
152
Member Avatar for eltommyo

[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

Member Avatar for Jia22
0
91
Member Avatar for madhub2v

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]

Member Avatar for peter_budo
0
105
Member Avatar for blknmld69

[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)

Member Avatar for NormR1
0
263
Member Avatar for PDB1982

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 …

Member Avatar for tux4life
0
98
Member Avatar for ismithx

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

Member Avatar for ismithx
0
264
Member Avatar for nix_xin

[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]

Member Avatar for nix_xin
0
321
Member Avatar for nitin_gyan

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.

Member Avatar for peter_budo
0
146
Member Avatar for dev.vini
Member Avatar for himmat.m4
Member Avatar for peter_budo
0
105
Member Avatar for brandongood

[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] …

Member Avatar for Ezzaral
0
120
Member Avatar for ambikanair

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]

Member Avatar for peter_budo
0
153
Member Avatar for alex.antony.a

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.

Member Avatar for peter_budo
0
177
Member Avatar for tuse

You can find instruction how to install Tomcat on our forum in this [URL="http://www.daniweb.com/forums/post1110463.html#post1110463"]post[/URL]

Member Avatar for peter_budo
0
152
Member Avatar for pavanpj
Member Avatar for grandpadave

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)

Member Avatar for WASDted
0
180
Member Avatar for P00dle

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

Member Avatar for peter_budo
0
81
Member Avatar for josiefrut

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 …

Member Avatar for nohup
0
143
Member Avatar for mahdi68

You would need use [URL="http://wurfl.sourceforge.net/"]WURFL[/URL] that in scenario that device is connecting to a server.

Member Avatar for peter_budo
0
96
Member Avatar for Premsathishbe
Member Avatar for churva_churva

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.

Member Avatar for peter_budo
0
221
Member Avatar for stha2

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

Member Avatar for peter_budo
0
115
Member Avatar for xterradaniel

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 …

Member Avatar for xterradaniel
0
7K
Member Avatar for xterradaniel

[code] public class Circles2D{ public static void main(String[] args){ //Keep working } }[/code]

Member Avatar for xterradaniel
0
1K
Member Avatar for NSBailey

[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]

Member Avatar for extemer
0
112
Member Avatar for nur_ahm4d

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

Member Avatar for peter_budo
0
79
Member Avatar for MonkeyCode

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.

Member Avatar for peter_budo
0
850
Member Avatar for mahdi68

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 …

Member Avatar for peter_budo
0
89
Member Avatar for LianaN

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

Member Avatar for LianaN
0
291
Member Avatar for himmat.m4
Member Avatar for Pushpasheela

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&????" ?

Member Avatar for peter_budo
0
234
Member Avatar for veyhong
Re: j2me

[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?

Member Avatar for peter_budo
0
52
Member Avatar for ApocDen

PHP+JSON to MySQL approach from [URL="http://www.helloandroid.com/tutorials/connecting-mysql-database"]helloandroid.com[/URL] is what I found so far

Member Avatar for ApocDen
0
76
Member Avatar for kvij
Member Avatar for Jawahar prabhu
Member Avatar for mahdi68

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 …

Member Avatar for peter_budo
0
96
Member Avatar for tiger86

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)

Member Avatar for tallship
0
415

The End.