5,031 Posted Topics
Re: [URL="http://www.daniweb.com/forums/thread141776.html"]JSP database connectivity according to Model View Controller (MVC) Model 2[/URL] | |
Re: [QUOTE=masijade;1481102]set that as the host name for the smtp host?[/QUOTE] I wouldn't even bother with this dude any more after revious experiences. He does dump what ever question on forum waiting to get immediate answer, when you ask him for more details he doesn't reply and instead create another thread … | |
Re: Check this [URL="http://www.daniweb.com/forums/post1481199.html#post1481199"]post[/URL] | |
Re: PayPal provide SDKs for [list][*]Java [*]ASP.NET [*]Ruby [*]Classic ASP [*]PHP [*]ColdFusion[/list] You can download necessary stuff [URL="https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks"]here[/URL] and examples can be found [URL="https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/library_code"]here[/URL] | |
Re: Any reason to receive generic Object instead of receiving ModelNY? Also why not using PreparedStatement as showed bellow? [code] public void connect(ModelNY modelNY) { Connection conn = null; try { Class.forName("com.mysql.jdbc.Driver").newInstance(); conn = DriverManager.getConnection("jdbc:mysql://localhost/test", "root", "Mg78QnuE"); String todo = ("INSERT INTO personer(idPersoner, forNavn, etterNavn, adresse, epost) "+ "values (?,?,?,?,?)") ; … | |
Re: Only link between them is Java. Where JME provides only subset of traditional Java (JSE), Android adds-on plus relays on XML configuration files. Short comparison of platforms is here [url]http://books.google.com/books?id=8nqlWoGW30sC&lpg=PP1&dq=Professional%20Android%202%20Application%20Development&pg=PA5#v=onepage&q&f=false[/url] | |
Re: Already double posted in [URL="http://www.daniweb.com/forums/post1480629.html#post1480629"]C section[/URL]. Please follow discussion over there, as this thread is now closed. @Prisms please read [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]forum rules[/URL] and do not double post as this is not welcome | |
Re: Expand your world stephen84s, [URL="http://www.jetbrains.com/idea/index.html"]IntelliJ IDEA[/URL] RULES! Seriously now, I never used BlueJ, I did not become friend with Eclipse, but in my early days I used free version of [URL="http://jcreator.com/index.htm"]JCreator[/URL], later on moved to NetBeans and since last year when I persuaded one of university teachers to get student … | |
Re: Nobody can advise without seeing code... | |
Re: 1. By posting in correct section (post been move there) 2. Maybe by reading [URL="http://www.daniweb.com/forums/post1299837.html#post1299837"]this post[/URL] | |
Re: @vijaybrar Do not post the same question multiple times. You are dealing with same string manipulation task so do not create multiple threads for it. As James already kindly pointed we expect you to work on it and prove you doing your work before we decide to advice on it. … | |
Re: Thread closed. If you want to follow discussion you can do so [URL="http://www.daniweb.com/forums/thread348311.html"]here[/URL] @ajayb in the future instead of double posting hit "Flag Bad Post" button and ask for post to be move to correct section | |
Re: Top of this forum section [URL="http://www.daniweb.com/forums/thread99132.html"]Starting "Java" [Java tutorials / resources / faq][/URL] isn't that enough? | |
Re: Closing thread as OP will only come back, if ever, in 6 months and hopefully solve her personality and behaviour issues in the mean time | |
Re: Answer is [URL="http://www.daniweb.com/forums/announcement8-2.html"]here[/URL] | |
Re: [QUOTE=coervivekmca;1477175]how to find tomcat server log for godaddy.com plz tell me how to run server at godaddy.com...plz[/QUOTE] Tomcat logs - [URL="http://community.godaddy.com/groups/web-hosting/forum/topic/tomcat-logs/"]answer[/URL] [QUOTE=coervivekmca;1477199]can you please tell me how to run servlet on godaddy.com server...i m having loit of problemss...[/QUOTE] Why don't you [URL="http://community.godaddy.com/help/?hs=servlet"]search[/URL] or ask on their forum. Sorry but we … | |
Re: Closing thread as it is going off topic thanks to spoonlicker. You now have official warning about hijacking other people threads. @Sundayy if you still need help with your work please create new thread and I'm sure people who been helping you and other who are willing to help will … | |
Re: Apparently iText is using little [URL="http://threebit.net/mail-archive/itext-questions/msg02137.html"]inconvenient name[/URL] for line spacing "leading" based on PDF spec. So depending on where you want to change spacing Chunk/Phrase/Paragraph you can either use constructor to do it on start or a method setLeading() later in the process | |
Re: [B][COLOR="Red"]KEEP IT PLEASANT[/COLOR][/B] @Transcendent mind the language @spoonlicker do not post if you do not know answer or if you do not have reasonable suggestion. Also do not post to attack people. Next time read carefully reply "It's ok. Thanks for trying." is nothing personal, Transcendent was actually polite thanking … | |
Re: You need to upload JAR file into your mobile phone, from browse to location you pace it and click on it that should trigger installation PS: In the future please search before posting, I'm sure that this was already asked on our forum | |
Re: My favorite games are "Ban all spammers" and "Delete posts by signature spammers"... | |
Re: Little of google search and you would find this nice entry from[URL="http://www.coderanch.com/t/210406/java/java/RMI-Projects-Netbeans-setup"] Code Ranch[/URL] | |
Re: Well what I see from code you are just simply asking for array of all files i the folder and then print their name with time stamp. What I do not see is:[list] [*] some sort of collection where at least file name with it time stamp is stored [*] … | |
Re: If you want to get some return values then you need to change "void" in methods you calling for whatever return type you need boolean/int/string/etc. @javaAddict you been 1 second faster LOL | |
Re: 1. I do not understand why you didn't post in your post dating only 10 days back that is like 3-4 positions bellow this one at the moment 2. Are we magic ball readers that we know what have you written? No, so post your code... | |
Re: If you looked [URL="http://lmgtfy.com/?q=cpanel+gallery"]here[/URL] you would found something like [URL="http://www.siteground.com/tutorials/gallery/gallery-installation.htm"]this[/URL] | |
Re: [code]for (initialization; termination; increment) { statement(s) }[/code] Meaning on what value you wish to start like [icode]int i = 0[/icode], termination is like while statement [icode] i < 10[/icode] and increment can go either way like [icode]i++[/icode] or [icode]i--[/icode]. So in your scenario you need to create nested for loops … | |
Re: Moved to new thread, and as javaAddict suggested you should have look at this tutorial [URL="http://www.daniweb.com/forums/thread141776.html"]JSP database connectivity according to Model View Controller (MVC) Model 2[/URL] PS: Would be nice if you read forum rules specially about keep it organized and not hijacking other people posts or reopening old threads.... | |
Re: @enkidu75 please do not mark your posts as CODE SNIPPETS, this option is designer for people to posts and share working code and not for posting questions. Leave it to default FORUM THREAD. Edited, now it is forum thread as is supposed to be. | |
Re: You declared "input" inside of while loop therefore you cannot use it outside at this point. If you need it declare it before while loop, initialize it inside while loop and then you can use it outside [code] String input = ""; while(!finished) { System.out.println("Please enter a list of exam … | |
Re: Your problem is that you misunderstood concept of ArrayList populated with an object type. You do not need to create array list for variable that is inside the object separately. Just create object and add it to collection. Plus you are asked to create 5 phone book objects not ask … | |
Re: Please search the forum there was plenty of discussion in the past... | |
Re: I do not understand why somebody like you Poopster01 with 5 previous posts decide to make a post as CODE SNIPPET instead of FORUM THREAD? What you been trying to achieve? Thread edited, now it is FORUM THREAD. As for your error, you are assigning character at position, if you … | |
Re: I did copy and compile that program, got following errors [code=text] C:\HomeProjects\Daniweb\WebCrawler.java:16: reference to List is ambiguous, both class java.util.List in java.util and class java.awt.List in java.awt match List listMatches; ^ C:\HomeProjects\Daniweb\WebCrawler.java:76: reference to List is ambiguous, both class java.util.List in java.util and class java.awt.List in java.awt match listMatches = … | |
Re: change font size,color and style of what? (text is obvious, but where from and what you actually trying to achieve. will that application useful in anyway?) 1.is it possible? >YES 2.can you tell my the instruction and structure of how to write the code??? > Read [URL="http://books.google.co.uk/books?id=chepSC2iAB8C&lpg=PP1&dq=beginning%20j2me&pg=PP1#v=onepage&q&f=false"]Beginning J2ME From Novice … | |
Re: what about this [code] int i; int index = 0; int largest; largest = data[0]; for(i =0; i < data.lenght(); i++) if(largest < data[i]) { largest = data[i]; index = i; } return index; [/code] | |
Re: 1. Just because you didn't get answer in 24 hours you feel like you are entitled to create another new thread? 2. Why are you misusing JSP for something that is not supposed to do? Do document manipulation in servlet and just forward necessary data to page view. | |
Re: No you cannot. If these two midlets are your work then you can merge them in one and provide menu with options which one to run | |
Re: 1. You should look on PrepareStatement, it is better to use and less confusing when you need to submit more variables in the SQL query 2. You may want to change your query to use wildcards like [icode]where ChemicalName LIKE 'letter%'[/icode] that will pick up only these that does starts … | |
Re: @BenzZz industry market is split mostly between IntelliJ IDEA and Eclipse. I know there are companies using also NetBeans, but this is just minority. The reason is that each of these IDEs is supporting large range of various Java frameworks @brynFlew do [URL="http://blogs.jetbrains.com/idea/2011/01/intellij-idea-wins-toy-award-from-infoworld/"]more reading[/URL] Eclipse lost it this year :twisted: … | |
Re: Just because you didn't get reply in 24 hours you think you are entitled to create new thread? Definitely not. Forum rules apply to you same as anybody else [QUOTE]Do not post the same question multiple times[/QUOTE] | |
Re: You need to look on [URL="http://poi.apache.org/index.html"]Apache POI[/URL] or similar library. In POI it has number of sub-APIs you can work with [URL="http://poi.apache.org/hwpf/index.html"]Word[/URL], [URL="http://poi.apache.org/spreadsheet/index.html"]Excel[/URL] and others | |
Re: Yes you could do something like that, but then you would have to run a validation on object retrieved from array to find if it is instance of obejct A or object B [code] if(myArray[n] instanceOf Book){ //code here } else(myArray[n] instanceOf Movie){ //code here }[/code] | |
Re: [QUOTE=ztini;1466489]Hi, this is not against the rules of these forums. See [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]Member Rules[/URL] for more information. I wonder which is easier....reading API (as you suggest) or reading examples of code? Hrmm.....my guess is the later.[/QUOTE] Not a rule but recommendation - [URL="http://www.daniweb.com/forums/announcement8-2.html"]We only give homework help to those who show … | |
Re: If you read our [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]forum rules[/URL] carefully you will find out in Keep It Legal section that we ask [quote]Do not ask for help to pursue any illegal activity including, but not limited to, hacking and spamming[/quote] Providing links to copyrighted material is illegal, therefore forbidden. End of discussion. Thread … | |
Re: You need to decide which version of Pig Latin you want to do... 1) Simple just check first character trash becomes rashtay 2) Complex where till you hit vowel you have to move preceding characters at end like trash yields ash-tray and plunder yields under-play | |
Re: @i.ibrahem and @FRGT/10 our forum golden rule [URL="http://www.daniweb.com/forums/announcement8-2.html"]We only give homework help to those who show effort[/URL] So start working on it, or you may not get any help from us, only bickering about lazy students | |
Re: [QUOTE=frankel81;1466312] Like i said before i just dont know where to begin or how to execute this or anything.[/QUOTE] How about by writing these 3 classes from UML diagrams provided by your teacher, posting here instead of waiting somebody do it for you? Diagrams are clearly giving you name of … | |
Re: 1. Did you tried to execute that statement through MSSQL QueryBrowser or what ever GUI is available for this? 2. You have problem with quotes around parameters inserted into SQL query.[icode]'+c1+'[/icode] should be [icode]'"+c1+"'[/icode] 3. It would be better to start use PreparedStatement as you then do not have to … | |
Re: @murali.java being your boss I would make sure that you will not be offered new contract when your current expire. :@ making db connection from page. BAD! BAD! BAD! At least do it from servlet if you do not know [URL="http://download.oracle.com/javaee/6/tutorial/doc/bnbpz.html"]Persistence[/URL] or [URL="http://docs.jboss.org/hibernate/core/3.3/reference/en/html/tutorial.html"]Hibernate[/URL] @ypks_destiny have look on [URL="http://www.google.co.uk/#hl=en&xhr=t&q=jsp+ajax+asynchronous+call+to+database&cp=38&pf=p&sclient=psy&site=&source=hp&aq=f&aqi=&aql=&oq=jsp+ajax+asynchronous+call+to+database&pbx=1&fp=5081872550df914b"]Ajax Asynchronous call[/URL], … |
The End.