Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
76% Quality Score
Upvotes Received
48
Posts with Upvotes
39
Upvoting Members
17
Downvotes Received
23
Posts with Downvotes
21
Downvoting Members
6
6 Commented Posts
~144.43K People Reached
PC Specs
OS Name Microsoft Windows XP Professional Version 5.1.2600 Service Pack 2 Build 2600 System Type X86-based…
Favorite Tags

202 Posted Topics

Member Avatar for Xeros606

this remove zeros... [CODE] for(int i = 0; i < array.length; i++) { if(array[i] == 0) { remove(i); } [/CODE] this remove zeros which is trailing of numbers like(90,100,)... [CODE] for(int i = 0; i < array.length; i++) { if((array[i] %10)== 0) { array[i]=(array[i] +"").replace("0",""); } [/CODE]

Member Avatar for JamesCherrill
0
3K
Member Avatar for snigger

follow this to get idea... [URL="http://www.daniweb.com/forums/thread252329.html"]http://www.daniweb.com/forums/thread252329.html[/URL]

Member Avatar for JamesCherrill
0
4K
Member Avatar for yuvi2288

if your parameter "goods" is fixed then you just rewrite url like [icode]<a href="http://www.example.com?value=goods"> goods </a>[/icode] then get "goods" like this... [icode]<% String goods=request.getParameter("value");%> [/icode] other ideas also available if the parameters are dynamic. you should study how to get the parameters in jsp.

Member Avatar for Vishija
0
14K
Member Avatar for beanboy
Member Avatar for parkz16

[CODE]fileName = new File("C:\\Users\\Tristan\\Desktop\\edited\\Assingment 2010-01-16 at 16.11.38", "UserData.xml");[/CODE] might be you were not given correct path for file... check also .. some times file will be taken but no contents in it.. so no user from the file means nullpointerexception may come..

Member Avatar for bguild
0
33K
Member Avatar for shopnobhumi

AFAIK, jsp converted into servlet by any application server(tomcat,jboss ,etc) automatically... servlet file itself a java file... so you no need to convert it as java by yourself...

Member Avatar for stultuske
0
4K
Member Avatar for gingerfish

[CODE]System.out.printf("%6s %6s %12s", "x1", "x2", "(y1, y2) \n");[/CODE] [COLOR="Green"]output:[/COLOR] (6space) x1 (6space) x2 (6space) (y1, y2)

Member Avatar for javaboy123
0
9K
Member Avatar for HesterSuma2007

Try using ascii value for equal operator... I think u want to terminate method execution when press = symbol....

Member Avatar for HesterSuma2007
0
162
Member Avatar for AppB

Can i send sms using my internet connection....i have router which is enough to transmit bytes...is port need to be open to send and receive message? ......

Member Avatar for masijade
0
117
Member Avatar for musthafa.aj

hi! can any one suggest me tutorial site for spring security... thank you !!!!!!!!!!!!!

0
75
Member Avatar for musthafa.aj

i run command to update all packages... the error came like this [CODE]E: Couldn't find package libmp3lame-dev[/CODE] what i need to do...

Member Avatar for jino
0
182
Member Avatar for sawant_nitesh
Member Avatar for sawant_nitesh
0
313
Member Avatar for prem2

KeySet which returns all the key values stored in hashmap. from the key you can get corresponding value for that key from the hashmap or hashtable. try to find difference between keyset and map.entry.

Member Avatar for prem2
0
136
Member Avatar for selfrules

do you asking program? or what? i can't understand what you come to ask and this is not a zone to show the manual for how to connect pc and weight machine. ask right and get right . edit: try to google for java api for connect external device with …

Member Avatar for NormR1
0
119
Member Avatar for musthafa.aj

afaik, i know the overall concept about this. but i need to know any in depth difference between them. and how one is better than others? when and where it will be used ?

Member Avatar for java_programmer
0
207
Member Avatar for gunjannigam
Member Avatar for musthafa.aj

afaik, string is immutable and string buffer is mutable. when we concatenate characters with string new string object will be created. but when we append string buffer it remains the same object. apart from these what are the key and other difference between them?.

Member Avatar for zerocool21
0
147
Member Avatar for prem2

download jar file for JMS [URL="http://www.java2s.com/Code/Jar/STUVWXYZ/Downloadjavaxjmsjar.htm"]http://www.java2s.com/Code/Jar/STUVWXYZ/Downloadjavaxjmsjar.htm[/URL] and add it in your class path........

Member Avatar for prem2
0
5K
Member Avatar for new_programmer

The keyword [B]final [/B]makes the declaration a constant. you cannot reassign value. [CODE]eg; final int i=10 i=20;//error:i can't be assigned[/CODE] The keyword [B]static [/B]makes the declaration belong to the class as a whole. A static field is shared by all instances of the class, instead of each instance having its …

Member Avatar for masijade
0
426
Member Avatar for SiraRaven

[CODE]String regex = ("[^\\d\\s]"); String text = "f 5//10 3//2 6//3"; text.split(regex);[/CODE] edit: or [CODE]String regex = ("[\\s\\\\[^\\d]\\s]");[/CODE] the above code pull out all the integer.. try yourself to get clear output.

Member Avatar for masijade
0
130
Member Avatar for har58

[CODE]int[] number = new int[10]; int[] outnum = new int[10]; int l = 0; int k; int newNum; Scanner scan = new Scanner(System.in); for(int i = 0; i < 10; i++) { System.out.print("Enter number: "); newNum = scan.nextInt(); // read next number k = 0; while (k < l) { …

Member Avatar for tong1
0
174
Member Avatar for Mylsamy

it may help you try this link [URL="http://www.velocityreviews.com/forums/t131194-java-string-encoding.html"]http://www.velocityreviews.com/forums/t131194-java-string-encoding.html[/URL]

Member Avatar for musthafa.aj
0
764
Member Avatar for diyez treze

what you actually want to do? the program you written has no errors look like and it is correct. then what you want..

Member Avatar for jon.kiparsky
0
143
Member Avatar for Kshawn

you should go through guidance given by vendor for the dll api... if you have any error or exception while calling method from dll using jni then you should post your bugs in the vendor's forum..

Member Avatar for Kshawn
0
239
Member Avatar for Mylsamy

don't override and replicate threads... the same that you already started this.. [URL="http://www.daniweb.com/forums/thread301298.html"]http://www.daniweb.com/forums/thread301298.html[/URL]

Member Avatar for Mylsamy
0
132
Member Avatar for Cabrakan

it may be a version incompatibility between eclipse 7.5 and your crystal jar and plugin.. see this link may be you can get some ideas... [URL="http://www.myeclipseide.com/PNphpBB2-printview-t-23807-start-0.html"]http://www.myeclipseide.com/PNphpBB2-printview-t-23807-start-0.html[/URL]

Member Avatar for musthafa.aj
0
435
Member Avatar for vinithktp

apart from the EXCELL work, if you need all decimal in jsp page.. use BigDecimal class in java....

Member Avatar for vinithktp
0
1K
Member Avatar for ueoptimum

what is your problem.. what exception or error you got.. post your run time or compile time error.. then we can help you.. otherwise we can't..we are not here to run and check your coding..

Member Avatar for ueoptimum
0
792
Member Avatar for jemimaloh

other option u can use EXCELL files... if txt file is mandatory then split or stringtokenizer option may fulfil your requirements.

Member Avatar for jemimaloh
0
2K
Member Avatar for Vishwa Vijay
Member Avatar for Asian_shalicool

see top of your thread heading like [B]JSP database connectivity according to Model View Controller (MVC) Model 2[/B] [URL="http://www.daniweb.com/forums/thread141776.html"]http://www.daniweb.com/forums/thread141776.html[/URL]

Member Avatar for musthafa.aj
0
75
Member Avatar for kerek2
Member Avatar for joe'g

[QUOTE=joe'g;1282746]am trying to make a menu with a frame en its not working. and how can i introduce multiple panels in the same frame? [/QUOTE] see this link.. [url]http://www.java-forums.org/awt-swing/10373-adding-multiple-panels-single-scroll-bar-jframe.html[/url] after then post your error or exception

Member Avatar for Jayavardhan
0
110
Member Avatar for Stefano Mtangoo

EJB the name itself has definition... Enterprise Java Bean.. what is an Enterprise application.. it is a large scale application.. this application needs remote object(Remote method invocation),session(staeful,stateless),data persistence(entity bean),concurrent transaction(JTA),object serialization(Value Object or JTO),security(JCE,JAAS).. these are all fulfilled by EJB.. this EJB specification in MVC is decoupling business logic from …

Member Avatar for Stefano Mtangoo
0
121
Member Avatar for george61

try this i also prepared this for my application .. [CODE]<script language="javascript"> var delay=1000 //set delay in miliseconds var curindex=0 var randomimages=new Array() randomimages[0]="image1.jpg" randomimages[1]="image2.jpg" randomimages[2]="image3.jpg" randomimages[3]="image4.jpg" randomimages[4]="image5.jpg" randomimages[5]="image6.jpg" var preload=new Array() for (n=0;n<randomimages.length;n++) { preload[n]=new Image() preload[n].src=randomimages[n] } document.write('<img name="defaultimage" src="'+randomimages[Math.floor(Math.random()*(randomimages.length))]+'">') function rotateimage() { if (curindex==(tempindex=Math.floor(Math.random()*(randomimages.length)))){ curindex=curindex==0? 1 : …

Member Avatar for peter_budo
0
2K
Member Avatar for emclondon

[CODE]JLabel label = new JLabel(); label.setIcon(new ImageIcon(image));[/CODE] in JPANEL add image as Jlabel. you can get other solution by simply google it or here daniweb also has similar threads like this...

Member Avatar for emclondon
0
570
Member Avatar for musthafa.aj

[B]i can predict your mother's name if you say yours father's name...[/B] so reply me..i have one miraculous mathematical calculation.. it will calculate yours mother name using yours father's name.. come on reply me with your father's name...

Member Avatar for Dcurvez
0
96
Member Avatar for hims4u

where you placed your aa1.jsp... it should be under webapps\ROOT folder in Tomcat home directory..

Member Avatar for hims4u
0
526
Member Avatar for thr

as per my knowledge.. for an Enterprise,web application,Mobile apps choose java(j2ee/j2se/j2me) . for Desktop,Networking,Hardware Interaction,Embedded choose c/c++. another possibility is JNI ,through which we can aid c/c++ support for Java. that is we can leverage our application by combining java and c/c++,perl,etc..using JNI. for small scale web application PHP also …

Member Avatar for JamesCherrill
0
171
Member Avatar for divya bangroo

for java see eclipse and jcreator,net beans.. in eclipse file-->new project then it will create one project(web project or java project) if it is java project then simply copy and past your source code folder of existing project.. if it is web then just past your servlet in src folder …

Member Avatar for steph47
0
110
Member Avatar for P00dle

1.prepare for Certification it will fortify your fundamentals. 2.surf some open projects in google then try yourself to do (weather you completed or not its not a problem ). 3.participate in the techie forums like Daniweb.so you can gain knowledge. this is what i am doing now.:) any more suggestion …

Member Avatar for musthafa.aj
0
96
Member Avatar for yuvi2288

sorry , i can't get your points.. i think you need DHTML ie,innerHtml to be appeared when you select particular value from the drop down list is it? please clarify about what you print as textbox..

Member Avatar for yuvi2288
0
138
Member Avatar for roishtraifler
Member Avatar for ans025

when i was tried this program i found nothing wrong.. how do you give file name as input.. if u give just file name like "test.txt"..it thorws error.. but if u give exact path of the file like "c:\\temp\\test.txt"..it is fine.. check it once again..and post the exact error and …

Member Avatar for NormR1
0
1K
Member Avatar for ashwiniku

this is little bit easy... i don't know why u following two database..may be you said DB instead of Table.. u just update user logged in date ... that is you should have column in table like DATE_LOGGED_IN_LAST... THEN your table has details of logging with recent activity date.. after …

Member Avatar for musthafa.aj
0
151
Member Avatar for daniiii

[URL="http://www.daniweb.com/forums/thread252329.html"]http://www.daniweb.com/forums/thread252329.html[/URL] refer this link..you can get idea..

Member Avatar for daniiii
0
89
Member Avatar for yuvi2288

you want how do navigate pages.. you must go through servlet mapping and web.xml... otherwise if you are using any framework(struts,spring,hibernate..) see xml file of the corresponding framework.. surf the google.. this is simple u can fix it yourself..

Member Avatar for musthafa.aj
0
87
Member Avatar for yuvi2288

check the java console at browser.. then find out the error... post the console error if u can't fix it....

Member Avatar for musthafa.aj
0
69
Member Avatar for Cotillion

using css with script as following example... [B]script [/B]: [CODE]function highlightOnLoad() { // Get search string if (/s\=/.test(window.location.search)) { var searchString = getSearchString(); // Starting node, parent to all nodes you want to search var textContainerNode = document.getElementById("content"); // Informational message for search var searchInfo = 'Search Results for: '; …

Member Avatar for fxm
0
300
Member Avatar for john butler

first of all you should understand polymorphism, that is inheritance which is main advantages of java the term "reusability". in terms of inheritance java provide interface and abstract. in an interface for example class A contains method1 and method2. class B contains some methods itself like method3 and method4. in …

Member Avatar for musthafa.aj
0
114

The End.