2,443 Posted Topics

Member Avatar for ronaldpaul

You need NONE of those. You build a webservice client where you can get normal OBJECTS to work with, rather than a blurb of XML. Edit: Not true, hibernate COULD help with your DB, but not NEEDED. And JAX-WS IS webservices. Simply google for some web service tutorial and pay …

Member Avatar for ronaldpaul
0
731
Member Avatar for smith ww

And your question is? Let see your code and WE will help YOU to correct it. We are NOT doing this for you. The instructions you posted are MORE than enough to get started, so get started.

Member Avatar for JamesCherrill
0
142
Member Avatar for Neon Tetras

Uhm, don't use Runtime OR ProcessBuilder for this, for one, see the API docs for Desktop.open. Then, also, make sure the file is really where you THINK it is AND that your program is running with the "currentWorkingDirectory" that you THINK it is.

Member Avatar for djslavens
0
195
Member Avatar for nikolaos

Don't use a "sync" AT ALL. See the API docs for AtomicInteger. And about using Integer for counter? No way. Each "increment" will create a NEW Integer, thereby changing the object on which to look.

Member Avatar for nikolaos
0
344
Member Avatar for trishtren

How about not using split, and, instead, using pattern and matcher with `(([^_^]+)?([_^])?)` i.e. package bogustest; import java.util.regex.Matcher; import java.util.regex.Pattern; public class BogusTest { public static void main(String[] args) { String test = "test_String_123_^"; Pattern p = Pattern.compile("(([^_^]+)?([_^])?)"); Matcher m = p.matcher(test); while (m.find()) { if (m.group(1) != null) System.out.println("Match: …

Member Avatar for masijade
0
278
Member Avatar for stackOverflow
Member Avatar for subhashmedhi

[code] telnet 150.236.18.66 25 <<EOF HELO whatever else you need to send the mail EOF [/code] Better yet, have the script write everything it wants to send in a file and do [code] telnet 150.236.18.66 25 <<filename [/code] Or, even better, simply create a properly formatted mail message and use …

Member Avatar for Tabsy
0
2K
Member Avatar for Pyler

Did you do stack1.reverse(); // or whatever you named the method again or did you do stack1 = stack1.reverse(); // or whatever you named the method. Hopefully you can see the difference, and, hopefully you now realize what difference that difference makes.

Member Avatar for JamesCherrill
0
223
Member Avatar for cleve23

Because it is an EXAMPLE showing method overriding through polymorphism.

Member Avatar for JamesCherrill
0
209
Member Avatar for Suvarna-25

Add the proper tags? See [this](http://www.tutorialspoint.com/jsp/jsp_standard_tag_library.htm) for help with some of the standard jstl tags that can help with this.

Member Avatar for Suvarna-25
0
244
Member Avatar for firoz alam

Learn Java? Learn about how Auto Dialers work? Put the two together? Come on, really, this is a pretty vague question. You would be much better served pasting it into Google.

Member Avatar for jwenting
0
257
Member Avatar for piyush_2

With a Scanner or InputStreamReader and a for loop and an if statement with one else if and an else.

Member Avatar for JamesCherrill
0
208
Member Avatar for jeansantos
Member Avatar for preeti_2
Member Avatar for 2teez
0
128
Member Avatar for Malaka_1

Look at the positioning of you brackets. Is that right? I don't think so. For a comparison, look at the positioning of the brackets used in the declaration of the main method.

Member Avatar for Malaka_1
0
166
Member Avatar for triple.ph
Member Avatar for Benjamin_4

So that people do not have to repeat themselves this is also posted [here](http://www.java-forums.org/new-java/82101-inserting-into-multiple-tables-mysql-using-java.html).

Member Avatar for Benjamin_4
0
3K
Member Avatar for SAM2012
Member Avatar for java_programmer

Nothing will, initially, be created on the heap, except of course, that which ArrayList itself needs. Well, I can't say nothing, the initial "list" will contain 10 "slots" so the memory needed for those references (4 bytes each) as well as the reference for the ArrayList itself (also 4 bytes) …

Member Avatar for jessicarobort
0
248
Member Avatar for iTechnnn

Use nextLine (as intimated by James in his first post) and, unless you are not allowed to as part of this assignment, use replaceAll and some regex (keyword word boundary).

Member Avatar for masijade
0
518
Member Avatar for yi625

See the JDBC tutorials for PreparedStatement. Cobbling together a statement like this is just BEGGING for problems. Not only for syntax problems like you have, which can even come if the code is right, because what happens if the text for a field value contains a single quote (')? But …

Member Avatar for silvercats
0
835
Member Avatar for ashwil

That "mtime" is modification time, read from the file meta data, it does not need to be in the name, at all. If you want to remove the files you need to change the ls command to an rm command, of course. run "man find". You might also want to …

Member Avatar for masijade
0
204
Member Avatar for Zet_

This is definitely a system-level sort of program and NOT the thing Java was intended for. If you intend to "drive on" with this then Google for "java jcap network", jcap, although not intended for what you want, MIGHT, if you investigate the code, give you some hints as to …

Member Avatar for masijade
0
195
Member Avatar for lmoiphetsodi

You should be writing an abstract class that declares abstract methods, then a class that extends that abstract class and implements those abstract methods, then a third class that uses that extended class (probably in a variable declared as the abstract class type) that uses those implemented methods to perform …

Member Avatar for jwenting
-1
156
Member Avatar for YumnaZia
Member Avatar for YumnaZia
0
272
Member Avatar for Neha_4

Start your own thread. But as a quick answer, see the tutorials, they have one that specifically covers menus and menubars, including separators.

Member Avatar for JamesCherrill
0
220
Member Avatar for Tobyjug2222

I would say, first, to contact whoever you got this "Tribot" from, and second to [file a bug report](http://bugreport.sun.com/bugreport/) with oracle.

Member Avatar for Tobyjug2222
0
1K
Member Avatar for happygeek

I'm fairly willing to bet that those Oracle customers with the correct support contract DO have a fix.

Member Avatar for masijade
3
367
Member Avatar for leghorn
Member Avatar for masijade
0
92
Member Avatar for leghorn

Those look like functions that someone wrote locally (I haven't done Perl in a while so I may be mistaken, but I do NOT remember functions with those names as part of standard Perl or its standard extension modules).

Member Avatar for leghorn
0
262
Member Avatar for cool_zephyr

@ManagedBean @ApplicationScope public class YourClass ... In Servlet: getServletContext().getAttribute("yourClass") In JSF: #{yourClass.whatever}

Member Avatar for masijade
0
220
Member Avatar for krystosan

for arg in "$@" do echo `pwd /${arg}` done Although I do not know why you are including a leading slant there, or, actually, ANY argument to pwd. Or are you intending to pass an OPTION to pwd, in which case it should "-" and not "/". "/" is the …

Member Avatar for L7Sqr
0
130
Member Avatar for techyworld

Show the blocks of css and the jsf code where you expected those to take effect.

Member Avatar for chandrasekhar1
0
148
Member Avatar for leghorn
Member Avatar for masijade
0
152
Member Avatar for dgrblr
Member Avatar for cool_zephyr

We will probably need something better than "or something like that", but my first guess would be to check the configuration of your local mail server. Can you send mail through it using an other mail tool?

Member Avatar for cool_zephyr
0
280
Member Avatar for bibiki
Member Avatar for leghorn

At least in the bash and korn shells there are associative arrays, essentially hashes. See [this](http://www.linuxjournal.com/content/bash-associative-arrays) for bash and [this](http://www.itworld.com/nls_unix_arrays060817) for korn.

Member Avatar for masijade
0
153
Member Avatar for cleve23

for (x = 0; x < 5; x++) System.out.println("This is x:" + x); When you do not use braces { } to demarcate your blocks (whether for if, for, when, whatever) then ONLY the next statement is part of that block.

Member Avatar for cleve23
0
138
Member Avatar for Fatima_110
Member Avatar for JamesCherrill
0
227
Member Avatar for CuteOrchidd

We will NOT write code for you. To actually help you we will need more information though. Here some info to get you started FileInputStream FileOutputStream Socket ServerSocket

Member Avatar for CuteOrchidd
-1
256
Member Avatar for varun7952
Member Avatar for JamesCherrill
0
150
Member Avatar for Louie_Rave
Member Avatar for |-|x
0
210
Member Avatar for Samaneh_1

When I google "java fuzzy logic library" the very first link is an Open Source library project and the second link is a "detailed example". Did these not work for you?

Member Avatar for masijade
0
72
Member Avatar for techyworld

It MIGHT help to know EXACTLY what you are changing AND HOW you are using it (i.e. both the css changes as well as how that css, including class and id if need be, is included in the JSF page).

Member Avatar for masijade
0
128
Member Avatar for lena1990

You can't (AFAIK), not like you're thinking. MSAccess is a file, and does not have, in anyway shape or form, a network interface (AFAIK). Place the DB on a shared filesystem and access it directly, but beware of concurrent connections, those are a problem for access.

Member Avatar for lena1990
0
235
Member Avatar for mikewyatt

@rubberman Really? nedit for Unix/Linux? I assume you do not use UTF-8 for your standard file encoding? Because the last time I used nedit it did not support UTF-8 encoding and that caused some very irritating problems for the web-site I was working on. Or does it now support UTF-8 …

Member Avatar for mikewyatt
0
253
Member Avatar for TokamakFusion

You are entitled to your opinion, BUT, when the process is EXPLICITLY defined by the JLS to NOT do that, it doesn't really MATTER what your opinion is. Edit: Also, you STILL do not seem to have grasped the fact that C++ "works" that way IN THE CURRENT IMPLEMENTATION of …

Member Avatar for bibiki
-2
465
Member Avatar for Shizuo
Member Avatar for JamesCherrill
0
452
Member Avatar for asrsmunna

It greps whether the command used contains the string "/transforms/" and returns 1 if it does and 0 if it doesn't. $0 (or, iow, ${0}) refers to the actual command used on the command line.

Member Avatar for sepp2k
0
332

The End.