5,031 Posted Topics
Re: If you checked out very first post of JSP section, there wouldn't be any need for this post... | |
Re: Let me guess "un-catch exception". Put that section in try/catch exception and catch InterruptedException ([URL="http://java.sun.com/javase/6/docs/api/java/lang/Thread.html#sleep(long)"]API[/URL]) | |
Re: Error message is self-explanatory, you missing JDBC driver [URL="http://dev.mysql.com/downloads/connector/j/5.1.html"]Connector/J [/URL] or if you have it you did not added to your project CLASSPATH | |
Re: If that is the case, yo better show your code so other can have look at it and find out where you going wrong... | |
Re: You do not directly have to list technical specification, you should give your objective feeling on sites such facebook, bebo, wayn and others you can think of. Unfortunately you will either to register with them or find somebody who can let you on the site with his/her login details to … | |
Re: [URL="http://java.sun.com/docs/books/tutorial/java/concepts/interface.html"]Interface[/URL] [URL="http://java.sun.com/docs/books/tutorial/java/IandI/abstract.html"]Abstract Methods and Classes[/URL] | |
Re: As your post lack more in depth explanation I will provide you with general direction [URL="http://www.google.co.uk/search?hl=en&q=java+flickr+tutorial&btnG=Google+Search&meta="]java+flickr+tutorial[/URL] | |
Re: frames is something w3c would really like to forget about, they did good job some 5-7 years ago, but now are obsolete... Checking html 5 this concept is nearly abandoned and only remains of previous frames glory is only iframe and something about framesets [url]http://dev.w3.org/html5/spec/Overview.html[/url] | |
Re: It is just naming convention mostly used in OOP languages (Java, C#, C++) and ActionScript is mimicking the best from programming world currently. They trying to attract more programmers to do coding so designer may spend more time on creative work | |
Re: I think this should be moved to php, if you want so just post bellow your reply. Also you better explain what you looking for or which part of code you do not understand... | |
Re: People let the guy explain what he wants. @anez247 please use full sentence English, leet/chat/sms speak is not welcomed | |
Re: If you want to use same file without loosing original content then you need to use [URL="http://java.sun.com/javase/6/docs/api/java/io/Writer.html#append(java.lang.CharSequence)"]append()[/URL] method inherited from Writer class | |
Re: [QUOTE=addsf1;748313]My Friend as far as i am concerned you are a god in the PHP world i can not say thank you enough Cheers Adam[/QUOTE] You can thank to buddylee17, just click on "Add to buddylee17 reputation" in the post that deserves it. There you can also leave short message … | |
Re: Please do not flood the forum, you should just state in new post of existing thread you made changes and show the changes, not to create new thread for purpose of showing these changes | |
Re: What about binary calculations ;) 010 AND 010 is 100 | |
Re: what you have to do is design a bean which will hold what ever information you want to and pass to any other page on your site this can be done before a link was clicked or when you click link you run process which set-up bean for you, then … | |
Re: danpad it should not be the other way around, you just messed up the pattern. Check this out from your originally posted code [code]statusbar=false&repeat=false&fullScreen=true[/code] it is always attribute (status bar, repeat, full screen) followed by value (false or true). Not the other way around | |
Re: [code=Java]public class PostalZipCode { private String barCode; public PostalZipCode(String zipCode) { determinateBarCode(zipCode); } private void determinateBarCode(String zipCode) { //do what ever calculation you need to generate barCode setBarCode(GENERATED_STRING_FOR_BARCODE_HERE); } private void setBarCode(String str) { barCode = str; } public void getBarCode() { return barCode; } }[/code] PS: Please use code … | |
Re: [QUOTE=ebiz;746633]Thank You. frame.getContentPane().add(jsp); this comes up with an error... and so does: DefaultTableModel[/QUOTE] When you get any errors you have to let us know what they are exactly as we cannot see what you getting on your screen. For DefaultTableModel I bet you forgot to import required library. With your … | |
Re: Some where on the start of your code declare counter and then you should use it inside your else statement (with message dialog). Also else statement should contain sub statement and this will close down application once entered pin was wrong 3 times in succession PS:Would be about time you … | |
Re: Why not have class like this [code=Java]public class Points { private int xTopLeft; private int yTopLeft; private int xBottRight; private int yBottRight; public Points(){} public Points(int a, int b, int c, int d) { setXTopLeft(a); setYTopLeft(b); setXBottRight(c); setYBottRight(d); } private void setXTopLeft(int i){xTopLeft = i;} public int getXTopLeft(){return xTopLeft;} private … | |
Re: Font for Label [code=Java] Label label = new Label("Welcome To Java"); Font curFont = label.getFont(); label.setFont(new Font(curFont.getFontName(), Font.BOLD, 20));[/code] About second question I'm not sure. Maybe somebody else can answer that | |
Re: Place collected date&time from Date class in form of text to JLabel PS: just like stultuske showed in his post just that crucial second before me LOL | |
Re: [QUOTE=serkansendur;744385]yeah i saw it finally, but i want to see them all together as in the good old days[/QUOTE] You are free to state your opinion in [URL="http://www.daniweb.com/forums/forum26.html"]DaniWeb Community Feedback[/URL]. Personally I think that snipped together been good | |
Re: As I do not know which exactly writer you using only thing I can say is to look for append() method which will be either directly implemented in used writer class or inherited from other classes above this one | |
Re: Not sure what you mean by "displayed nicely", but here is classic tutorial from Sun on [URL="http://java.sun.com/docs/books/tutorial/uiswing/components/table.html"]JTable[/URL] | |
Re: and what programming language this application is done? | |
Re: Sorry, but with the code above you have very little chances of success as you ignored basics [CODE]HeaderSet connect(HeaderSet headers) [COLOR="Red"]throws java.io.IOException[/COLOR][/CODE] Where is yours try-catch cause? Also here is HeaderSet method as we know from API [code=java]void setHeader(int headerID, java.lang.Object headerValue)[/code]this is your attempt [CODE]hsOperation.setHeader(HeaderSet.NAME, "[COLOR="Red"]Hello.txt[/COLOR]");[/CODE] Hello.txt hardly fit … | |
Re: [QUOTE=sierrainfo;740266][url]http://asp-net-whidbey.blogspot.com/2006/04/generating-pdf-files-with-itextsharp.html[/url] [url]http://www.developerfusion.com/code/5682/create-pdf-files-on-fly-in-c/[/url] hope it will help u[/QUOTE] This will not help at all! It is only small fraction of whole image behind PDF creation with iText library which has port to C#. For full resources please go to [URL="http://itextsharp.sourceforge.net/"]iTextSharp[/URL] | |
Re: @buddylee17 - post moved to new thread @sayaan - Do not piggyback threads (aka "hijack" threads) by posting your question as a reply to another question. | |
Re: @ShawnCplus - post moved @squidthekiller - Do not piggyback threads (aka "hijack" threads) by posting your question as a reply to another question. | |
Re: Maybe [URL="http://apress.com/book/view/1590599039"]Practical Apache Struts 2 Web 2.0 Projects[/URL] can help you. However I have mixed experience with Apress books. J2ME by them was good, but I had problems with their JSP, JSF and Tomcat Web Development | |
Re: Can you please clearly explain what you trying to do because you lost me on your attempt to add Rectangle or Circle to LinkedList of type MyCanvas while inside this class you try to stored the object in one of new linked lists [code=Java] //from MainWindow show() LinkedList<MyCanvas> objekt = … | |
Re: [QUOTE=Shanti Chepuru;643423]Its not working on my computer... Tel me whats the wrong???[/QUOTE] Would be helpful if you provide your some pc specs so we do know what you use and this can also help Kkeith29 fix the issue if any there. Beside I would be interested too, as in many … | |
Re: This neither concerns Java or JavaScript, links are matter of HTML Somewhere in your page you will place that applet into view surrounded by link tag as this[code=html]<a href="#Bottom">APPLET_HERE</a>[/code] and then somewhere in the document you place [code=html]<a name="Bottom">Bottom</a>[/code] indicate where is the bottom | |
Re: It is not a city, just small village where I come from. Surrounded by mountains. In summer plenty of trekking opportunities, in winter fair amount of snow to enjoy and I will not be freezing my backside off like in Moscow (-30 Celsius ouch) | |
Re: Same question asked here [url]http://www.daniweb.com/forums/thread159180.html[/url] Forum flooding is not welcomed, please read the rules! Hopefully this will be moved and merge soon in JSP section | |
Re: [QUOTE=ndtreviv;741470]Actually, he wasn't asking about how to organise his web apps. He was asking a very simple question about database connectivity. vivek_web: Is your DSN definitely set up correctly? Also, try adding username/password details into the connection URL. For example: jdbc:odbc:db;ID=username;PWD=password[/QUOTE] He need to be pointed in more appropriate direction … | |
Re: Your validation will always return true because of red marked. I think you wanted to say [i]false[/i] [code]public boolean isValid(){ valid=false; //let by default if((username != null)&&(password != null)) { valid=true; } return [COLOR="Red"]valid[/COLOR]; }[/code] As for the second question you can pull Bean to use any time you need. … | |
Re: [list=1] [*] Direct connection from JSP to DB is very bad thing to do check this [URL="http://www.daniweb.com/forums/thread141776.html"]post[/URL] [*] You will get only one set of user data because you collect only one and discard whatever DB is still passing to you [code=java]while (rs.next ()){ mobileno=rs.getString("mobileno"); password=rs.getString("password"); } rs.close (); s.close … | |
Re: PHP / ASP or ASP.NET / JSP with extensive use of databases | |
Re: [QUOTE=sundar divas;736567] Please help me to start....[/QUOTE] What about a search of the forum? Any useful results? @vee_liang - connecting to DB from JSP is worst possible scenario. You should look at MVC model2 | |
Re: It all depends on your knowledge of advanced technologies. Do you know either PHP, ASP or JSP? | |
Re: [QUOTE=mahaboob Basha;741899]here is my code plz check it once.. and send me update ASAP very urgent... [/QUOTE] [LIST=1] [*]Once again you posted in wrong section. In Web Development we have [URL="http://www.daniweb.com/forums/forum24.html"]JSP section[/URL] to which most of your posts been already moved and this one will be hopefully moved soon [*]Your … | |
Re: I doubt you can get such materials for free. If you do most likely it will be illegal download. If you are university student check with your IT department if by any chance your university is not taking part in [URL="http://www.sun.com/solutions/landing/industry/education/sai/index.xml"]Sun Academic Initiative[/URL], then you get free access to Java … | |
Re: [LIST] [*] Your favourite IDE IntelliJ IDEA, NetBeans, Eclipse etc [*] Working Tomcat server, GlassFish or any other server supporting web development with Java [*] A database MySQL, Oracle, MSSQL or servless/stand alone solutions Derby, SQLite [*] Frameworks Spring MVC, Struts 2, Tapestry, Wickets [*] Tools like Ant, Maven2 etc. … | |
The End.