5,031 Posted Topics

Member Avatar for nejimz
Member Avatar for nejimz
0
77
Member Avatar for shubhang

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

Member Avatar for Antenka
0
321
Member Avatar for Blackeagle

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

Member Avatar for Blackeagle
0
401
Member Avatar for rajeshswain

If that is the case, yo better show your code so other can have look at it and find out where you going wrong...

Member Avatar for peter_budo
0
72
Member Avatar for zoroman
Member Avatar for samegirl

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 …

Member Avatar for peter_budo
-1
114
Member Avatar for umairsario

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

Member Avatar for masijade
0
114
Member Avatar for ajithraj

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]

Member Avatar for peter_budo
0
51
Member Avatar for venkat554
Member Avatar for OmniX

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]

Member Avatar for OmniX
0
91
Member Avatar for ceyesuma

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

Member Avatar for peter_budo
0
54
Member Avatar for dodo123456

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

Member Avatar for peter_budo
0
115
Member Avatar for anez247

People let the guy explain what he wants. @anez247 please use full sentence English, leet/chat/sms speak is not welcomed

Member Avatar for Ezzaral
0
103
Member Avatar for christiangirl

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

Member Avatar for christiangirl
0
138
Member Avatar for addsf1

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

Member Avatar for peter_budo
0
148
Member Avatar for axxouk
Member Avatar for ceyesuma
Re: OOP

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

Member Avatar for ceyesuma
0
96
Member Avatar for thariqrasheed
Member Avatar for KilluaX

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 …

Member Avatar for missalexa
0
4K
Member Avatar for danpad

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

Member Avatar for peter_budo
0
155
Member Avatar for littlebean21289

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

Member Avatar for littlebean21289
0
774
Member Avatar for ebiz

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

Member Avatar for quuba
0
207
Member Avatar for l_03

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 …

Member Avatar for peter_budo
0
102
Member Avatar for StephNicolaou

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 …

Member Avatar for peter_budo
0
124
Member Avatar for c_skyscraper

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

Member Avatar for c_skyscraper
0
95
Member Avatar for ebiz

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

Member Avatar for peter_budo
0
3K
Member Avatar for serkan sendur

[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

Member Avatar for peter_budo
0
281
Member Avatar for nouryn

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

Member Avatar for Ezzaral
0
165
Member Avatar for ebiz

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]

Member Avatar for peter_budo
0
153
Member Avatar for denniskhor
Member Avatar for Arald

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 …

Member Avatar for wad
0
159
Member Avatar for nice_true

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

Member Avatar for peter_budo
0
127
Member Avatar for sayaan

@buddylee17 - post moved to new thread @sayaan - Do not piggyback threads (aka "hijack" threads) by posting your question as a reply to another question.

Member Avatar for peter_budo
0
95
Member Avatar for squidthekiller

@ShawnCplus - post moved @squidthekiller - Do not piggyback threads (aka "hijack" threads) by posting your question as a reply to another question.

Member Avatar for peter_budo
0
57
Member Avatar for javaAddict

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

Member Avatar for javaAddict
0
93
Member Avatar for miso66

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

Member Avatar for peter_budo
0
109
Member Avatar for Shanti C

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

Member Avatar for shivjamesh
0
519
Member Avatar for nopaso

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

Member Avatar for nopaso
0
147
Member Avatar for allena

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)

Member Avatar for Vladimirr
0
213
Member Avatar for mahaboob Basha

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

Member Avatar for peter_budo
0
1K
Member Avatar for vivek_web

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

Member Avatar for ndtreviv
0
181
Member Avatar for cybernaut09

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

Member Avatar for stephen84s
0
122
Member Avatar for mahaboob Basha

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

Member Avatar for peter_budo
0
899
Member Avatar for jimbob90
Member Avatar for sundar divas

[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

Member Avatar for vee_liang
0
108
Member Avatar for Deusdies

It all depends on your knowledge of advanced technologies. Do you know either PHP, ASP or JSP?

Member Avatar for whitehorse_699
0
241
Member Avatar for mahaboob Basha

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

Member Avatar for peter_budo
0
524
Member Avatar for khalidmehmood

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 …

Member Avatar for Freaky_Chris
0
149
Member Avatar for Aamit

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

Member Avatar for peter_budo
0
175
Member Avatar for cwindham

The End.