736 Posted Topics

Member Avatar for vobiahu

You are not meant to use arrays, does the restriction also imply against use of Collection like [URL="http://www.baskent.edu.tr/~tkaracay/ders/prg/java/api/java/util/ArrayList.html"]ArrayList[/URL], [URL="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashSet.html"]HashSet [/URL]etc

Member Avatar for Nick Evan
0
2K
Member Avatar for The Dude
Member Avatar for sau_shilpa

Do not connect to a database directly from within a JSP. JSPs are only for display purposes, your main business logic / database connectivity etc should be performed in Java code which you will include in your JSP and use as a API, So in case if in the future …

Member Avatar for patel_amul
0
241
Member Avatar for sharathk60

Sharath, When you specify "codebase = /WebContent/WEB-INF/" the browser will serach for the Class file of your Applet in the "/WebContent/WEB-INF/" in the directory in which it is running on the client machine where your servlet output is being displayed, it does not look for the class file on the …

Member Avatar for sharathk60
0
273
Member Avatar for The Dude
Member Avatar for The Dude
Member Avatar for vishalsnc

@vishalsnc Drop the IM speak this is not a chat room, and try to read the rules and search the forums before you post anything. [QUOTE]cn u pls mail me some examples if u have ..[/QUOTE] What do you think does the Sticky which Peter has linked to contain ??? …

Member Avatar for chauhan_vipul87
0
189
Member Avatar for Ashwin1985

[QUOTE=Ashwin1985;1101013]Any suggestions / code examples for Encryption/Decryption of files(any file format) in java. command line args - <inputfilename> <outputfilename>[/QUOTE] Show us what you have tried first please.

Member Avatar for peter_budo
0
481
Member Avatar for vladdy19

Which platform are you running this on ? When I was running Eclipse 3.3 on Ubuntu 7.10, I remember encountering a similar error (for a Linux GCC toolchain based project), So I had to install the package build-essential (which includes GNU Make, GCC and other tools). However I do not …

Member Avatar for lmpmbernardo
-1
814
Member Avatar for neti1987

[QUOTE]I thought the Hash's comparison between two object should be by their equals method, [/QUOTE] The comparison is within the hash bucket, if two objects return the same hashcode then only the equality check by equals() takes place as mentioned below on [url]http://www.ibm.com/developerworks/java/library/j-jtp05273.html[/url] [QUOTE] The interface contract for Object requires …

Member Avatar for neti1987
0
2K
Member Avatar for acdougla17

It seems you are from a Structured Programming background so you need to keep in mind that your main method is static and so can access only static methods and static fields of other classes (or even same class)directly. Remember Java is object oriented so to invoke your methods as …

Member Avatar for stephen84s
0
169
Member Avatar for pirateninja1111

The comparison operator in Java is "==" not "=". Change that on line numbers 7 and 9 and check whether it works. "=" is the assignment operator, so you are actually setting the value to your array element there.

Member Avatar for pirateninja1111
0
92
Member Avatar for achieve_goals
Member Avatar for bones93

[QUOTE]What file is it my friend?? (Ill look in mine and see if mine is there)[/QUOTE] I do not know about AOL but if you use[URL="http://www.pidgin.im/"] Pidgin/Gaim[/URL] (which is a good chance if you use the GNome desktop environment on ''linux ) and tell it to save passwords, it saves …

Member Avatar for menaces2323
0
835
Member Avatar for Hakoo
Member Avatar for stephen84s
0
96
Member Avatar for vaishnavicse
Member Avatar for mundee

JSPs can be deployed on any platform for which a servlet container(Eg Apache Tomcat) has been made or any platform for which you can find an implementation of J2EE Application Server (Eg JBoss, Glassfish). So it will work on All flavours of Linux, Windows, Solaris etc

Member Avatar for masijade
0
72
Member Avatar for achiman

Well what you have is a plain ol' syntax error, on your Line No 3:- [code=java] Thread mythread1; mythread2 [/code] If you want to declare two references on the same line, use a comma (',') to separate the references and not a semicolon (';'), the semicolon is used only to …

Member Avatar for stephen84s
0
104
Member Avatar for hell04

[QUOTE]Actually I have no clue of how to fix line 4 to 17 but I have fixed the Sum method and it looks something like;[/QUOTE] Well I can see how this can be fixed, but I need to know your motive in writing lines 4 to 17, are they for …

Member Avatar for tiny7415
0
6K
Member Avatar for BrianK123

In case you do not want your user to press "Cancel" in a JOptionPane dialog, you can actually get rid of that button altogether using the [URL="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JOptionPane.html#showOptionDialog(java.awt.Component,%20java.lang.Object,%20java.lang.String,%20int,%20int,%20javax.swing.Icon,%20java.lang.Object[],%20java.lang.Object)"]JOptionPane.showOptionDialog()[/URL] <EDIT> Cleaned some of my errors.

Member Avatar for stultuske
0
2K
Member Avatar for kvass

Well Sorry to burst the bubble here, But there is a well known work around for the problem you mentioned. If you need to access the Class member in your inner class in the above situation use the following syntax:- [code=java] <Outer_Class_Name>.this.<Member_Name> [/code] The following example should drive the point …

Member Avatar for javaAddict
0
177
Member Avatar for avinash_545

[QUOTE]That is not what avinash_545 has asked. He wanted to do that with primitive types (int, float). Not Integer, Double. And even though your code "accidentally" does that, it has already been answered.[/QUOTE] This is the second thread where I have seen 'balmark' post something related to the topic but …

Member Avatar for javaAddict
0
269
Member Avatar for qariella

From your post I am a bit lost on what you wish to do, but since the thread topic states you need help on arrays, here is a link to[URL="http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html"] the Java Tutorial on Arrays[/URL]

Member Avatar for qariella
0
987
Member Avatar for enbeeone3

Look you need to show us what effort you have put in, in analysing the problem to get to the solution, Most people here are not going to throw the solution at you, You need to show us the effort you have put in solving the problem, only then we …

Member Avatar for stephen84s
0
112
Member Avatar for sweetyyyy

[QUOTE=sweetyyyy;1114981]how we can send binary sms to any mobile particularly nokia mobile from pc using smpp...[/QUOTE] Since you mentioned SMPP, I am assuming you know about UDH, and the providers and what are binary messages. [URL="http://wiki.triangle-solutions.com/index.php/SMS_WAP"]Here[/URL] is a link on how to send WAP push messages, it does not deal …

Member Avatar for verruckt24
0
220
Member Avatar for dwrakh

[QUOTE]hi.. where can i get the java source code for multiple regression... [/QUOTE] On your hard drive, in the folder you saved it, once you have typed it out in an IDE.

Member Avatar for stephen84s
-2
75
Member Avatar for Justin12345

Read [URL="http://www.daniweb.com/forums/announcement9-2.html"]this[/URL] if you wish to receive any help. Edit: Deleted taunt

Member Avatar for aladar04
0
504
Member Avatar for pvn777

[QUOTE=peter_budo;704045]Please search JSP forum section for the answer is definite there. [I]Hint, I made a specific post on the MVC that is listed often lately [/I][/QUOTE] Shameless self promotion :P

Member Avatar for peter_budo
0
110
Member Avatar for SoulMazer

[QUOTE]So...I have just begun to whet my appetite for Java today, and I have already run into a stumbling block.[/QUOTE] If you have just begun Java, then I would strongly recommend using the JDK (Java Development Kit which includes the javac compiler and other stuff) directly available from Sun itself …

Member Avatar for peter_budo
0
207
Member Avatar for SmashM

[QUOTE]I just finished learning basic OO concepts and java programming.[/QUOTE] If you just know the basics of Java, then I would suggest putting some more time on getting comfortable with the language by programming in it, tinkering with collections, threads, exception handling, memory management, else while learning JSP you will …

Member Avatar for stephen84s
0
113
Member Avatar for floresj4

[QUOTE=floresj4;1084076]Hi all, I've registered a host name that I have been port forwarding to IIS for html/php pages. I recently setup up some connectors for Tomcat 6 and IIS, but that's not going so well. I can only view a set of sample pages that came with Tomcat and none …

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

Nice read, another article I really liked linked with developing skills in the programming field is [URL="http://norvig.com/21-days.html"]Peter Norvig's Teach Yourself Programming in Ten Years[/URL]

Member Avatar for alams
1
176
Member Avatar for schandru

[QUOTE=schandru;953250]I need java program for SHA message digest and encrytion and decryption in RSA[/QUOTE] Ok thank you for informing us about your need, hope you succeed in writing it.

Member Avatar for UIT
-3
129
Member Avatar for ZoomZoom

A request to the moderators please lock this thread as I doubt anything related to original post is bound to be added here anymore and for no reason at all is being brought on the first page repeatedly.

Member Avatar for Ezzaral
0
1K
Member Avatar for shobhit123

First of all Wrong Forum, There is a JSP forum in the Web Development section where this should go. Next you already get a ton of examples bundled with tomcat which is most probably the web server you are using to test your JSPs/Servlets

Member Avatar for ithelp
0
183
Member Avatar for temsuimsong

[QUOTE=temsuimsong;779613]anyone please tell me where i can get mp3 player for motorola v3i. Thnks [/QUOTE] Yes and someone tell me where I can get the moon !!! :P

Member Avatar for peter_budo
0
87
Member Avatar for harshadap

IMHO you cant make an OS independent executable (.exe) files, cause these files contain instructions native to the OS and your system architecture, for example an executable made for an 64 bit version of an OS may not run on its 32 bit version. What I think you are looking …

Member Avatar for stephen84s
0
90
Member Avatar for MxDev

Have your tried Googling for your request ??? To name a few we have :- [URL="http://www.netbeans.org"]NetBeans[/URL] [URL="http://www.eclipse.org"]Eclipse with the appropriate plugins[/URL] If you are a web designer even Dreamweaver would be a good option and if you are not satisfied with either of them you can always [URL="http://www.google.com"]Google [/URL]for more.

Member Avatar for qhuwn
0
131
Member Avatar for ishlux

[QUOTE=sbhavan;981598]Do you need any further help? If so post your queries.[/QUOTE] Well if he could ask for a download location for Tomcat, I am betting he would have [I]shamelessly[/I] asked :P if he had any other issues too, not necessary to simply bump this thread for asking that.

Member Avatar for stephen84s
0
119
Member Avatar for Brian.oco
Member Avatar for #include<DAN.h>

To get this code to work on Linux, just replace the line [icode] system("cls"); [/icode] with [icode]system("clear")[/icode]. BTW gotta say a very nice and useful piece of code.

Member Avatar for stephen84s
0
170
Member Avatar for ishlux

That happens because when you click on your web application directly from tomcat, it goes to the ROOT of your web application and unless you have a set a welcome page in your web.xml ( or enabled directory listing) you are bound to get that error. So to actually display …

Member Avatar for stephen84s
0
157
Member Avatar for hajjo

[QUOTE]I dont want to do it by calling beanid.setname("fadi"); .. is there any other way??[/QUOTE] Well you could use the [icode]<jsp:setPropery>[/icode] tag, but may I ask what you are trying to achieve with it ?

Member Avatar for kvprajapati
0
142
Member Avatar for Great start

Well if you do not know much about [URL="http://www.daniweb.com/forums/thread99132.html"]Java[/URL], then first I suggest going back and getting your foundation in Java strong first (cause after all JSPs are java code embedded inside HTML), then proceed to learning about servlets and then move on to JSPs. As far as learning JSPs …

Member Avatar for peter_budo
0
147
Member Avatar for sandeepgrandhi

[QUOTE=MoZo1;961759]Just download the one with NetBeans, then you'll get a free IDE ready to use out of the box. [URL="http://java.sun.com/javase/downloads/index.jsp"]http://java.sun.com/javase/downloads/index.jsp[/URL] Or do it the hard way: [URL="http://java.sun.com/javase/6/webnotes/install/jdk/install-windows.html"]http://java.sun.com/javase/6/webnotes/install/jdk/install-windows.html[/URL][/QUOTE] @ O.P. Recommend do it the hard way as Peter suggested cause that way you will learn more about Java. Don't straight away …

Member Avatar for stephen84s
0
126
Member Avatar for beanboy

You know a little bit googling wouldn't hurt you, Heres one resource which I found via google:- [url]http://onjava.com/pub/a/onjava/2001/03/15/tomcat.html[/url] You will find a ton of other resources if you just look around.

Member Avatar for stephen84s
0
73
Member Avatar for mithunthakkar

This is just plain old Java syntax error, the operator "+" in Java is used to concatenate String objects, remove the extra plus after "a" in all the three statements and you should be good to go, if(c.equals("BillNo")){ /*--error--*/ rs = stmt.executeQuery("select * from orders where billNo="+a+); }else if(c.equals("UserId")){ /*--error--*/ …

Member Avatar for mithunthakkar
0
152
Member Avatar for alsoumhi

Well you seem to be confused a lot, if what you are doing is for a production system for some organization I suggest you hand over the task to someone who knows what he is doing. On the other hand if this is just some past time project you are …

Member Avatar for alsoumhi
0
157
Member Avatar for komyg

[QUOTE=komyg;953498]Hi, I need to develop a C++ application for Linux, and I am worried about its compatibility with between different distros, for example if I develop it on Kubuntu, is it possible that I may have compatibility issues if I run it on Gentoo or Open SUSE for example? In …

Member Avatar for NicAx64
0
179
Member Avatar for stonkers

[QUOTE=stonkers;953662]For the past 6 years, I've been doing development work with C# and loved Visual Studio (probably a bad word around here). Intellisense is good, smooth debugging is good. With jsp, there was talk of tools working on better debugging facilities last I developed on jsp. Did any of those …

Member Avatar for stonkers
0
305

The End.