Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
75% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #3K
~26.2K People Reached
Favorite Tags

25 Posted Topics

Member Avatar for silverkid

Java class construct: [CODE] public class Foo { private String datum; private int datum2; private void helperMethod() { ... } public String exposedMethod(int param) { helperMethod(); } public void main(String[] args) { //Special method invoked when java Foo is run; } } [/CODE] You need to study the Java syntax …

Member Avatar for LaughingOtter
0
22K
Member Avatar for gurmatchanan
Member Avatar for nikita.chandra

You should also remove the javascript code because it will be blocked or flagged as a virus by email clients.

Member Avatar for Cronless
0
226
Member Avatar for hardik.rajani

You can send SMS messages anywhere you can send email. You need to know the user's carrier (e.g. Verizon, Alltell, Sprint, AT&T, etc) and then you can lookup the carrier-specific email suffix to use. For example (PHP, but can be adapted to JSP quickly): [CODE] switch ($cair) { case "1": …

Member Avatar for parry_kulk
0
137
Member Avatar for rukshilag

I think you asked the wrong question...what CAN'T be built by Java is probably a more answerable question. Here are a few apps I would consider questionable in Java: - High speed graphics rendering - Real-time embedded systems (e.g. medical devices) - Anything you'd run on pre Windows XP machines …

Member Avatar for peter_budo
0
103
Member Avatar for ramjeev

+1 for the above. Understand what it is you want from the UI and then you can figure out the behavior in the code. Usually, you respond to single button events--clicked (that's it). If you're getting multiple clicks in a short time, disable the button after the click until your …

Member Avatar for ramjeev
0
74
Member Avatar for MooAndStuff

I'd suggest removing the overloaded operator= and try it again. Why are you overloading it in the first place?

Member Avatar for MooAndStuff
0
1K
Member Avatar for shashikant.v

Deprecation warnings are telling you that the API you're calling has been marked as unsuitable for long-term use. Generally, the documentation for that class will tell you what should be used instead--consult the Javadoc for the object you're using in your program and it should shed some light on the …

Member Avatar for masijade
0
204
Member Avatar for baheddad

Permissions are cumulative and DENY takes precedence. REVOKE removes GRANT and DENY permissions previously assigned. Because all users are members of public, you should DENY permissions to public only when you want to prohibit access by all database users. Hope that helps.

Member Avatar for whizkidash
0
204
Member Avatar for Kparas

IPN with PayPal is not as hard as it sounds...There's a great PHP library out there that supports it with reasonable docs: [URL="http://www.micahcarrick.com/04-19-2005/php-paypal-ipn-integration-class.html"]Micah Carrick's Paypal Class[/URL]. I put this on my site and the IPN code is pretty straightforward, but you may want to read the PayPal documentation about the …

Member Avatar for chrishea
0
229
Member Avatar for ninjaelves

Short of compiling and running your program for you, I think there are two things you could do to figure this out yourself: 1) Put in System.out.println() in the loop for drawLine() and see what is happening. And if you don't get it called, I'd put it outside the loop …

Member Avatar for Cronless
0
99
Member Avatar for gshockneo

If you're looking for examples, try Duke's Pet Store. That's a complete JEE solution for SaaS. However, I wouldn't suggest turning that in as your project. Google is your friend. :)

Member Avatar for Cronless
0
58
Member Avatar for Duki

There are lots of books available out there. If you were going with Java, I'd suggest Doug Lea's books. Conceptually, you'll need the info there no matter what language you use. But if you're looking for C++ specifically, may I suggest a tutorial on [URL="http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html"]POSIX threads[/URL] as a starting point?

Member Avatar for Cronless
0
121
Member Avatar for hawkontvn

You can do that above, but simply adding a quoted space should suffice as well: [code] echo '<p>' . $customer_forename . " " . $customer_surname . [/code] Never use a hammer when a screwdriver will do.

Member Avatar for venkat0904
0
153
Member Avatar for codemaker

[QUOTE=codemaker;1038134] 1- If It's a sendmail problem, would you provide me with the solution? 2- Is the mail function can be used to send a large about of mails to the subscribers? and if It's not, Would you please suggest another way to send a large amount of mails? Thanks …

Member Avatar for codemaker
0
80
Member Avatar for hno

You might also try looking up online cron services: [URL="http://www.google.com/search?q=Free+Cron+Jobs"]http://www.google.com/search?q=Free+Cron+Jobs[/URL]. I know which one I'd pick. ;)

Member Avatar for Cronless
0
82
Member Avatar for nonshatter

In addition to the "break" comment above, which is dead-on, you also can't catch the same exception twice in a try clause...you're catching IOException a second time after the break.

Member Avatar for Cronless
0
212
Member Avatar for aman_dba

You might also try appending "> /tmp/cronout.log" to the job to see if you get any error output from the execution. Could be a problem with the environment that the script is running in, too.

Member Avatar for aman_dba
0
156
Member Avatar for jrosh

Specifically, you should use: [code] Calendar now = Calendar.getInstance(); int year = now.get(Calendar.YEAR); [/code] Alternately, if you need the date formatted in various strings, you should use the java.text.SimpleDateFormat class. Google it and the Javadoc page has lots of details about how to use it...

Member Avatar for jrosh
0
227
Member Avatar for Aigini

Not sure if the cron environment or the crontab itself will support the use of scp in that shell the way you want to use it. I'd suggest pulling the scp command out into some script file and then running the script, after you explicitly set any required or assumed …

Member Avatar for Aigini
0
135
Member Avatar for swinefish

It's because of the float casting. Double is the native floating point type in Java and you should try to maintain your calcs in that if you want to maximize accuracy.

Member Avatar for mrnutty
0
130
Member Avatar for vishalanuj
Member Avatar for hajjo

Short of storing the old value in a hidden text field, you're out of luck on this one. The user input gets rid of the old value and there's no DHTML event that carries the old value around...only the new one.

Member Avatar for Cronless
0
62
Member Avatar for jman8877

Arrays are static--once you allocate them, they're pretty much stuck at that size. If you need a dynamic list, use ArrayList instead. Converting to an array is simple, use toArray(<type>) whenever you need to output.

Member Avatar for Cronless
0
271
Member Avatar for Aigini

Might also help to dump the output of each cron run to a log file in case it is running, but giving you an error by appending "> /tmp/crondaily.out" (one for each).

Member Avatar for Cronless
0
161

The End.