3,892 Posted Topics

Member Avatar for Stefano Mtangoo
Member Avatar for Stefano Mtangoo
-1
327
Member Avatar for anevins

The problem is with this line [icode]firstcube = static double pow(double first, double 3);[/icode] which is invalid. When invoking methods, you don't need to specify the method modifiers along with their parameter types. I'd recommend reading the Java tutorial on Sun or the sticky at the top of this forum …

Member Avatar for donaldw
0
113
Member Avatar for alsoumhi

What is the name of your web application? If it's school, then trying removing /school from the URL pattern. It should work. Also, specify the location of all your resources wrt the web app root i.e. exclude the `school' directory.

Member Avatar for ~s.o.s~
0
313
Member Avatar for rickprospers

Anything placed in the JSP between the <%! %> tags [jsp declaration tag] is placed outside the service() method but inside the auto-generated servlet class. You can of course create a method containing the given piece of code, which can be invoked from within the code placed inside the <% …

Member Avatar for ~s.o.s~
0
92
Member Avatar for timaquerra

Oh and BTW, once you are done with understanding how web services work, try splitting your logic in layers like the business[model] layer, database[persistence] layer etc. Database access from a web method is err... bad. :)

Member Avatar for ~s.o.s~
0
198
Member Avatar for jephthah

> i miss getting beat up by her. You can of course pop in the Daniweb irc to get beaten down in real time... ;-)

Member Avatar for The Dude
2
160
Member Avatar for hdurina

Does this address look familiar ;-) [code] Boucher, Cindy Cindy.Boucher@suddenlink.com Cebridge Connections 12444 Powerscourt Drive St. Louis, MO 63131 US 314-965-2020[/code]

Member Avatar for The Dude
-1
585
Member Avatar for VernonDozier

This issue was [URL="http://www.daniweb.com/forums/thread208180.html"]brought up & discussed [/URL]to some lengths a couple of months back. > As you can see I have no tags whatsoever in "plaintext" This problem crops up only when you arrive at Daniweb via a search made on google; all the highlighted terms [in yellow] in …

Member Avatar for happygeek
1
395
Member Avatar for Dark_Omen

It isn't, it's Elbonian. It's the new language of inner city ghettos, spreading across the world from India. Sheesh, talk about baseless accusations...:mad:

Member Avatar for pkc
0
426
Member Avatar for Dani

Happy B'Day girly. ;-) May you live a long and prosperous life. [B]PS:[/B] Infractions for those who don't wish you. :-)

Member Avatar for AndreRet
1
430
Member Avatar for hobo38
Member Avatar for Jupiter 2

> Should poster who answers a question only be a qualified MSCE? Definitely not; a question posted on Daniweb is always open to discussion. Personal attacks as a means of adding more value to the discussion or correcting an existing incorrect [supposedly incorrect?] answer is not acceptable as per the …

Member Avatar for ~s.o.s~
-4
998
Member Avatar for madhu28
Member Avatar for cwarn23

> Does anybody know how I can append to the array You can't. The best you can do is perform a copy-on-write if the content to be written is more than the initial capacity with which the array was created. Try using an implementation like ArrayList which relieves you of …

Member Avatar for cwarn23
1
353
Member Avatar for JohnSample

Maybe a custom function like [URL="http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/"]getElementsByClassName()[/URL] ?

Member Avatar for dsom73
0
120
Member Avatar for frankycool

[quote]I want to implement this technique in an Inventory software where ,when a user buys e.g Ford Mustang the units sold shall be decremented from 1000 which is the total available units in stock.[/quote] You'd typically look-up the item of interest and then perform the necessary operations on it rather …

Member Avatar for ~s.o.s~
0
850
Member Avatar for stevenpetersen

>I like the reputation system better I personally feel that the reputation system is a complete fail and the point system introduced by StackOverflow is awesome. You get a vote-up if the answer is acceptable; a vote-down is not. The reputation generated for each vote-up/vote-down is the *same* irrespective of …

Member Avatar for stevenpetersen
0
538
Member Avatar for vsanandan

> The following program doesn't work in my Linux system's Mozilla firefox. > Any help to fix this problem is appreciated This isn't a browser problem. Make sure that your page which hosts EL snippets has an extension of [icode].jsp[/icode] and not [icode].html[/icode]. The container serves HTML pages as static …

Member Avatar for vsanandan
0
303
Member Avatar for feoperro

AFAICT, Dani uses a customized version of vBulletin so any feature which isn't supported out-of-the-box has to be patched in. BTW, why do you need this feature? I mean, how different is it from going to your own profile and viewing the solved threads in each forum. IMO, the chances …

Member Avatar for feoperro
0
347
Member Avatar for BestJewSinceJC

>It preserves your formatting and uses a terminal font: ...but is still not enough since the original CODE tags didn't add line numbers. This auto-line numbering feature kinda breaks posts in which code tags were used for the sole purpose of preserving formatting and using a terminal font *without* the …

Member Avatar for cwarn23
0
392
Member Avatar for AnGuRuSO

> The code fails if the url does not end in a filename. So if I were to input: You have a URL and it points to a resource; filename or not, it doesn't matter. There are multiple representations of exposing the same resource. The different representations don't matter as …

Member Avatar for nalini.harsha
0
852
Member Avatar for ibanez270dx

> Is there something similar to this that I can use for a Java Web App? Yes, you can either use the <jsp:include> standard action or [URL="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPTags5.html"]tag files[/URL] to include reusable view templates in your web pages. Edit: Just keep in mind that the above mentioned techniques include the content …

Member Avatar for ~s.o.s~
0
127
Member Avatar for sknake

> there's no way of knowing for sure whether or not it's automated. > Someone could set up a greasemonkey script, couldn't they? I'd again like to suggest what I initially suggested for the "Tags" feature. Instead of having a blanket rule applicable to all, the time duration should be …

Member Avatar for Dani
0
205
Member Avatar for madankumar

Hmm.. hey buddy is there a problem with your code or you want to submit an example to help others out ?

Member Avatar for gurucode
0
937
Member Avatar for tech291083
Member Avatar for mikejonesey
-1
342
Member Avatar for mikeandike22

This forum is basically for generic Javascript questions which don't necessarily refer to a particular library. This question would be more appropriate in the Prototype.js forums where you have better chances of getting help. :-)

Member Avatar for imadbalcoh
0
490
Member Avatar for Cort3z

You say that the form sends an empty string but your error checker doesn't detect empty strings? Have you tried debugging your code to see what *actually* the error checker is checking against? There are a number of ways in which the problem can be rectified but without knowing the …

Member Avatar for ~s.o.s~
0
142
Member Avatar for Fire00f1y

[QUOTE=JamesCherrill;1021967]Maybe the use of <E> in the iterator class is taken as a new declaration of a type, and masks the <E> that is declared for the outer class? If so, maybe you could declare the iterator class as public class CircularListIterator<F extends E> ...[/QUOTE] IMO, though the analysis is …

Member Avatar for ~s.o.s~
0
172
Member Avatar for eggmatters

> data[i][k + 1] = new Boolean(false); Better yet; [icode]data[i][k + 1] = Boolean.FALSE[/icode]. Same result, no unnecessary object creation.

Member Avatar for ~s.o.s~
0
897
Member Avatar for Nick Evan

I can see both the links. Try clearing the cache using a force refresh.

Member Avatar for Dani
0
202
Member Avatar for syum

Read [URL="http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html?page=1"]Why Runtime.exec() won't work?[/URL] If you are using Java 1.5 or more, look into [URL="http://mindprod.com/jgloss/exec.html#PROCESSBUILDER"]ProcessBuilder [/URL]class which has replaced the old "exec" way of spawning processes.

Member Avatar for ~s.o.s~
0
85
Member Avatar for kilermage

> Can anyone help? help Check if the Client class has a no-arg constructor in case you have explicitly provided a overloaded constructor. Also, looking at the error message gives an indication that you are not placing your class in a package. Make it a habit to put your classes …

Member Avatar for ~s.o.s~
0
118
Member Avatar for chengeto

> By number of characters l mean not punctuation or a space Look into the [icode]isLetter[/icode] method of the [icode]Character[/icode] class; modify your logic to increment the count only if the above method returns [icode]true[/icode].

Member Avatar for ~s.o.s~
0
166
Member Avatar for vedmack

[icode]form.submit()[/icode] causes a form submit irrespective of whether that form has been assigned a real or dummy action. Plus on a page at a time only one form can be submitted. The best way here would be to rethink your design and encapsulate all the elements in the same form …

Member Avatar for McVaio
0
193
Member Avatar for samaru
Member Avatar for PennKen2009

You can: [LIST] [*]create an array of 5 elements (either statically or on the fly ) [*]run a loop which will generate random number [*]search whether that random number is already in the array [*]as long as the number is one present in the array, keep on generating random numbers. …

Member Avatar for zati
0
759
Member Avatar for vishalanuj

> Does [0-9] need to be in quotes? No, it needs to be placed inside forward slashes to be considered as a regular expression. Of course, if you place them inside quotes, you need to explicitly use the RegExp() constructor. @vishalanuj That regex won't work. Try something like:[code=javascript] // This …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for domenzup

> You don't need to do the conversion to int and back; just send the > double in text format and parseDouble(...) at the Java end. I don't think that would handle values like +INF, -INF and NaN or even deal with the obvious truncation of values [think 1/3]. @Domenzup …

Member Avatar for domenzup
0
1K
Member Avatar for pritaeas

> Can i remove that duplicated post ?? Just report that post using the "Flag Bad Post" option and it should get appropriately handled.

Member Avatar for ~s.o.s~
0
81
Member Avatar for The Dude

[quote=The Dude;272711] Anyone else using Firefox have issues if they click the link above??[/quote] No I dont have any issues with this thing, it just asks me to save the file to a specified location

Member Avatar for The Dude
0
263
Member Avatar for kosofi

> is it impossible to do it without that active x? AFAIK, yes, it's not possible.

Member Avatar for kosofi
0
141
Member Avatar for sevensamurai

> Or you could do something along the lines of IE has problems with setAttribute. Plus assigning a function reference to an event listener is better than assigning a blank string to it.

Member Avatar for Troy III
0
1K
Member Avatar for Mahyar

First things first...post your code in code tags as the background image in which you write your post says. Read the forum announcements for more details. Dont use void main( void ). This is the wrong defination of main( ) . It actually is int main( ). Post the specifications …

Member Avatar for sarayaj
0
203
Member Avatar for llemes4011

> also, would this be something to do with JavaEE instead of JavaSE? Depends on what you need to learn and where your expertise lies, but yeah, nowadays the core business functionality *is* developed using JEE. You can develop a core business functionality using web services i.e. expose your business …

Member Avatar for llemes4011
0
245
Member Avatar for kaninelupus

Yes, as long as it's not a space, it would work. For a more standardized naming approach, trying replacing the underscore with a hyphen.

Member Avatar for kaninelupus
1
272
Member Avatar for Xessa

> I want it to have always 1 row length even it is as long as a novel. AFAIK, you can't, at least not unless you are using some excel manipulation API like POI.

Member Avatar for ~s.o.s~
0
81
Member Avatar for Dani
Re: Tags

Allowing thread owners to tag their threads seems like a nice idea; if properly used can be used to easily hunt down difficult to search threads. But allowing *everyone* to mess around with the tags of each and every thread kinda seems twisted. I guess I understand your rationale behind …

Member Avatar for ~s.o.s~
0
500
Member Avatar for sbhavan

> Aren't web languages also programming languages or do you disagree? Though a majority of the developers out there regard HTML as a programming language, practically speaking, it isn't. It's a *markup* languauge. BTW, it's Java and ActionScript for me ATM with a bit of Ruby thrown in here and …

Member Avatar for sivashins
-1
272
Member Avatar for Arsham3

JNI would be too low level; try something like [URL="http://www.swig.org/"]SWIG [/URL]or [URL="https://jna.dev.java.net/"]JNA[/URL].

Member Avatar for ~s.o.s~
0
116
Member Avatar for Aild

> The local memory is not reconciled with the main memory This might be because of each Thread is having a cached copy of your data; using the [URL="http://www.javamex.com/tutorials/synchronization_volatile.shtml"]volatile[/URL] keyword might just do the job.

Member Avatar for ~s.o.s~
0
280

The End.