2,443 Posted Topics

Member Avatar for Grub

Well at least give it a try. Post the code and all error/compile messages as well as what it does (not) do that you expected, once you have written something.

Member Avatar for Ezzaral
0
108
Member Avatar for hidash_in

You are getting a download box, because the browser (I assume your on Windoof) does not know what to do with files that have an extension of ".bat", so it is asking you what it should do with it. You need to add a mime type for ".bat". This entire …

Member Avatar for masijade
0
129
Member Avatar for hidash_in
Member Avatar for rectifier

I would have vary hard time explaining you, since I have no idea who/what you are, or what your purpose is.

Member Avatar for jwenting
0
196
Member Avatar for Grub
Member Avatar for masijade
0
104
Member Avatar for john_mark386

We are not going o do your homework for you. If you provide what you already have, we help to point you in the right direction though. And, if you bother to post (or write) your code, don't forget to use code tags.

Member Avatar for Jishnu
0
106
Member Avatar for ITAutobot25

Well, if it starts with "/*" then either that is the problem, or that code is not the problem, as it is commented out.

Member Avatar for masijade
0
198
Member Avatar for kaleeswaranm

Google "Java File Upload" and "POI" and read the JDBC tutorials. And, don't do this from a JSP, use a servlet to kick off the request, and supporting classes to do the actual work.

Member Avatar for masijade
0
57
Member Avatar for rpk5000

So, wht do you have so far? We are not going to do your homework for you, that is not only morally wrong, it is against the Daniweb terms and policies, which you agreed to when creating an account here.

Member Avatar for rpk5000
0
225
Member Avatar for kc8pdr
Member Avatar for sillyboy
0
297
Member Avatar for reubenraj
Member Avatar for jwenting
0
133
Member Avatar for dno117

You don't compare Strings with either == or != use [code] while(!"stop".equals(fName)) { [/code] And, before you ask, putting "stop" instead of fName first, avoids a possible NullPointerException if fName happens to be null. That does not mean you won't have problems inside the while if it is null, so …

Member Avatar for dno117
0
873
Member Avatar for DrTsus

Yes he does, and I believe that is his problem. Although it would have been nice to know which line "34" was, without having to count.

Member Avatar for iamthwee
0
183
Member Avatar for vsr
Member Avatar for kartik14

[QUOTE=iamthwee;471214]Don't put conditions in for loops...[/QUOTE] Nothing wrong with it. However, you must be aware that if the overall condition returns false, the loop ends. If you wish to skip a single iteration of the loop and continue with the next, then use only the standard condition (i.e. i < …

Member Avatar for masijade
0
446
Member Avatar for nagaharish

[QUOTE=hostsyst;303604]Hi, what to say "just a coincidence":) , I represent my company and we offer a solution for SVN and Tomcat.[/QUOTE] In this sort of case, I don't really mind the advertising (although it should be reported), but, the least you can do is to identify yourself as a member …

Member Avatar for masijade
0
397
Member Avatar for mangel.murti
Member Avatar for masijade
0
78
Member Avatar for leroi green

What exactly is the problem? Other than the fact, of course, that the method you're calling returns a value and you are simply ignoring that value, rather than storing it in a variable, evaluating it, then printing either it or the message.

Member Avatar for leroi green
0
135
Member Avatar for ColicabSyke

If that's your complete program, then you've forgotten to import the class Change, and yes, that class must be found on your classpath, see [url]http://java.sun.com/docs/books/tutorial/getStarted/index.html[/url]

Member Avatar for jwenting
0
192
Member Avatar for squall2463
Member Avatar for squall2463
0
106
Member Avatar for enes

Well, the contentPane of the the JFrams already has a layout. It simply needs to be used correctly. If you use add without any anchor parameter then according to the documentation [i]As a convenience, BorderLayout interprets the absence of a string specification the same as the constant CENTER[/i] So, simply …

Member Avatar for masijade
0
93
Member Avatar for pesho318i

Well, don't mix them. Eliminate the scriptlets altogether. You should be doing this stuff in Beans, and the like.

Member Avatar for pesho318i
0
196
Member Avatar for toadzky
Re: J2me

if [i]No main class [b]variable[/b] defined[/i] is the error, then it is no standard JVM error that I'm aware of. I would say to read the documentation for the Mysaifu JVM, as the first option.

Member Avatar for pavithran
0
92
Member Avatar for balagangadharm

It has nothing to do with the JDBC code (excpet for where it opens the file), and everything to do with how you are retreiving the file. Seemingly, according to the error messages, you are not uploading a file into the db, but simply saving a local file into the …

Member Avatar for jwenting
0
95
Member Avatar for Elektro

Yes there is. Now, to find out about it, Start your own thread, rather than hijacking this one, post the code you already have (you have some don't you) and ask a specific question about what is troubling you with it.

Member Avatar for masijade
0
366
Member Avatar for princestasnley
Member Avatar for 7233trebor

Start your own thread. And then, state what the actual problem is (i.e. compiler/error messages or actual vs. expected results), don't just say what the end result should be and then dump alot of code. We are not going to even try to decipher it, in that case.

Member Avatar for masijade
0
340
Member Avatar for Azeem Alam

Good for you. Get started. If you have a specific question, post your code, any and all error/compiler messages you got, and a detailed description of your problem, and we will help.

Member Avatar for masijade
0
88
Member Avatar for mrityunjay22
Member Avatar for nyczalex

Scanner or BufferedReader and an if statement and while statement. That's as much as you're going to get until you produce something on your own.

Member Avatar for nyczalex
0
150
Member Avatar for toadzky

As far as the J2ME on the Dell, I would say to ask them. As far as "communicating with the server", if the communication is normal network traffic, then why not? It would be quite hard to try RMI type stuff (although CORBA should, technically, work), but normal network traffic, …

Member Avatar for jwenting
0
116
Member Avatar for swtgirl52687

Next time, post to the javascript forum (not the Java forum, there is a difference), please. I have already asked the admins to move this thread.

Member Avatar for MidiMagic
0
100
Member Avatar for piers
Member Avatar for idgeitman

What are you trying to accomplish with [code] if ("name" == null) [/code] Comparing a string literal to null will always be false.

Member Avatar for masijade
0
85
Member Avatar for Barefootsanders

AJAX maybe, to connect to a Servlet (or some other serverside program) that returns the results. But, in any case, this is a JSP/Java forum, not JavaScript, please post this type of question in a JavaScript forum, next time. I have already asked the admins to move this one.

Member Avatar for lookof2day
0
106
Member Avatar for kc8pdr

Maybe, if we could understand what you just said. But I believe you are talking about transparency (transparent windows/frames), google that.

Member Avatar for kc8pdr
0
59
Member Avatar for itsjustme82

[QUOTE=ithelp;465887]... you cannot send a file over a socket.[/QUOTE] Since when? How do you think FTP does it?

Member Avatar for masijade
0
119
Member Avatar for sonya2525

change [code] mput "go*" bye rm go* End-of-session exit 0 [/code] to [code] mput "go*" bye End-of-session rm go* exit 0 [/code] Because the rm go* is being fed to the ftp command (everything up to "End-of-session" is being fed to the ftp command), but the ftp session ended at …

Member Avatar for eggi
0
166
Member Avatar for balagangadharm

Simply include the url. Whether or not that url becomes a "hyperlink" depends on the tool being used to view the mail.

Member Avatar for Paul.Esson
0
1K
Member Avatar for everlast

There are a lot of syntax highlighting editors out there, emacs, vim, nedit, ultraedit, and textpad (not notepad) to name a few. Google any of those. (vim is a more graphical version of vi)

Member Avatar for masijade
0
94
Member Avatar for naveensurisetty

delete every line from the first line to the exact line [inlinecode]%!ab-cdef$[/inlinecode], and on the rest of the lines change any occurence of the following character sequence [inlinecode].#@%&*)[/inlinecode] to [inlinecode])[/inlinecode]

Member Avatar for masijade
0
24
Member Avatar for leathan

Well, yes, seemingly they can run from everywhere, or you wouldn't be getting an internal server error, but rather the contents of the script spilled out onto the browser (or the browser asking you what you wanted to do with ".pl" file). As to why it is failing, hard to …

Member Avatar for xmassey
0
337
Member Avatar for munna_dude

Because jsp is not html (which is what you've written). JSP produces html, when compiled and executed by an application server (e.g. Tomcat, WebSphere, WebLogic, etc). Go through this tutorial (its for the last version, but hey) [url]http://java.sun.com/j2ee/1.4/docs/tutorial/doc/[/url]

Member Avatar for masijade
0
63
Member Avatar for Rajesh.D.N

Every time an error occurs in a JSP you will get a 500 http code at the browser. That does not tell us anything. It would really help to include that [i]actual[/i] error. But in general, move all this scriptlet stuff out of the JSP and into a Bean. Tomcat …

Member Avatar for masijade
0
207
Member Avatar for balgarath

An interface cannot implement anything, since an interface is not an implementation. An interface can only extend interfaces (exactly one). Edit: PS If you are a David Eddings fan, it is spelled Belgarath not Balgarath. If not, then please ignore.

Member Avatar for masijade
0
165
Member Avatar for pawan_1983

What the hell is wrong with the Date, Calendar, and SimpleDateFormat classes (that do all this bs for you), and reading the API doc for those.

Member Avatar for mickinator
0
84
Member Avatar for Triggerhappy41

All of that about Herb Schildt also applies to that roseindia site, in General.

Member Avatar for Ezzaral
0
119
Member Avatar for inflex

We are not just simply going to do your homework. Tell us your answers, and we might, I repeat [i]might[/i] tell you if you're right.

Member Avatar for peter_budo
0
142
Member Avatar for thejunkie

Look at the last line of parthibans post again. You were already provided with an answer for this.

Member Avatar for parthiban
0
174
Member Avatar for ranadheer

I will go out on a limb, and assume that you passed this hash to a method, and call the print statement in that method. In this case the print statement needs to be changed to: [code] print "$HeaderHash->{'Deal Name'}\n"; [/code] If that is not the case, then as KevinADC …

Member Avatar for masijade
0
122

The End.