736 Posted Topics
Re: I will **NOT** give you the code to do this cause very simply I don't want to ruin the motive for which your course (whichever you are doing was made) but I will give you the logic on how to go about this. Now consider the JSP in which you … | |
Re: [URL="http://www.daniweb.com/forums/announcement8-2.html"]Here[/URL] you go, best of luck for your MCA. | |
Re: Please use code tags and pay a little attention to the rules before posting. Anyways if you just want to display the data in another window, the I would suggest you take a look at the [URL="http://java.sun.com/javase/6/docs/api/javax/swing/JOptionPane.html"]JOptionPane[/URL] Also an alternative approach if you find the JOptionPane dialog boxes too restrictive … | |
Re: Check this thread : [url]http://www.daniweb.com/forums/thread136315.html[/url] | |
Re: [QUOTE=member98;665395]Hi..! I am trying to get whole browser in my jsp page. I have a sample url as, "http://www.ab.com/#/pages/ab" I need this whole URL to be print in my scriptlet code in jsp. I can't use javascript as that is disabled. I tried with REQUEST objets several methods like getURL … | |
Re: For running the program mentioned, you need an echo server running on your system, which is provided by most UNIX machines and runs on port no 7. To check if your Vista box has one running just hit [icode]telnet localhost 7[/icode], if it shows connection refused or could not connect, … | |
Re: Depends on what is your current working directory i.e. the directory from which you are running your Java program. For example if your current working directory is [icode]dir1[/icode], then your relative path would be [icode]conf/a.txt[/icode] Else if it is [icode]dir2[/icode], it would change to [icode]../conf/a.txt[/icode] But if it is [icode]dir3[/icode], … | |
Re: SMPP is a protocol, it is used to connect to SMSCs (Short Message Service Centres) which connect to actuall providers via SS7 which is connected to hardware. There are quite a few Java APIs available for SMPP, my favourite is [URL="http://smstools.wiki.sourceforge.net/"]OpenSMPP[/URL], But doing such processing directly in JSP is not … | |
Re: [QUOTE=peter_budo;655960]No point to repeat that, this guy completely ignore that for last two weeks from me. Another hopeless case to bang on...[/QUOTE] yep ..... you have one witness here, who saw it first hand !!! ;) | |
Re: You must be joking, you are not mentioning what errors you are getting , what sort of an application this is (console or gui), what you have tried to solve those errors, ... in fact you have not even mentioned which compiler you are using !!! And you expect us … | |
Re: I think the question was given to YOU by YOUR instructor, so YOU should solve it, WE will ONLY HELP YOU in solving it. Provided you show us you put in the effort to deserve any help. For more info look [URL="http://www.daniweb.com/forums/announcement9-2.html"]here[/URL]. | |
Re: Well can you tell us what you are trying to achieve here actually, I don't have much to go on from what you have posted !! crt1.o looks to be an object file and it seems like your linker (ld) can't find it, but what are you actually doing when … | |
Re: [QUOTE]i have shortage of time please do this for me[/QUOTE] So your time is precious .... and not ours !!!! | |
Re: [URL="http://www.daniweb.com/forums/announcement9-2.html"]Here[/URL] you go guys, this should have all the features an e-banking project should need. | |
Re: That would be as simple as calling [icode]request.getParameter("--name-of-text-box--");[/icode], in pagina2.jsp . Also no need to stick to GET you can use POST without any issues. Only difference is GET would send your parameters as part of the HTTP URL (eg [url]http://localhost/pagina2.jsp?usuario=tefbaez[/url]) whereas POST would send it as part of the … | |
Re: Well the first line says that [icode]Unable to compile class for JSP[/icode], Which quiet simply means that you have an syntax error in you JSP and from the type of errors displayed I think you have put an extra [icode]}[/icode] in your code inside the try block. | |
Re: You ought to get a BIG RED for the amount of PMs you sent me without even making a single thread here, And finally when you post you do not use code tags !!!:angry: :angry: :angry: | |
Re: If I am not mistaken Netbeans uses internally Apache Ant's format for its build.xml for building (compiling etc) projects, So if you are familiar on how to use [URL="http://ant.apache.org/"]Apache Ant[/URL], you may even use notepad to modify your code or any other IDE (for ex [URL="http://www.eclipse.org"]Eclipse[/URL]) which allows you to … | |
Re: As Peter_budo had put it in one of his earlier posts, "Its hard to read errors from a crystal ball". But it seems like you have no intention of learning anything from here, you just come here for quick fixes to your problems. Practically every one has already told you … | |
Re: Please use code tags ..... it keeps the code readable, Anyways what line are you getting that error . . . knowing would have helped a lot ??? Now heres a shot from what I see .... The first line in your [icode]init()[/icode] function is [icode]Container getcontentPane = getContentPane();[/icode], But … | |
Re: Basically you need a Web Server to Run any ASP Page, including [URL="http://httpd.apache.org/"]Apache (HTTPD)[/URL] (with extensions that is), [URL="http://www.sun.com/software/chilisoft/index.xml"]Sun Java System Active Server Pages [/URL], etc. But since it appears you are starting out with ASP, my suggestion would be start by using IIS as I found it pretty easy … | |
Re: [CODE=Java] public static void changePerson(Person p) { p.setName("GHI"); p = new Person("JKL"); p.setName("MNO"); System.out.println(p.getName()); }[/CODE] The above output is cause of the simple Pass by reference for objects in Java and illustrates how pointers are actually operating without you seeing them. It is important to remember that when you declare … | |
Re: The reason you are getting negative numbers is most probably due to overflow i.e due to the capacity of data type [icode]int[/icode], A simple example would be as follows [code=java] int a=2147483647; a+=1; System.out.println("a = "+a); [/code] The above would print -2147483648 and not 2147483648 as you might have expected. … | |
Re: [URL="http://java.sun.com/docs/books/tutorial/deployment/jar/"]This[/URL] should help. | |
Re: [QUOTE]javax.servlet.ServletException: java.sql.SQLException: Illegal operation on empty result set.[/QUOTE] Honestly I do not know why would you choose not to believe your Web Server [B]when in fact it has practically pin pointed the root cause of the error to you[/B], the above line clearly states the [iCODE]ResultSet[/iCODE] generated from your query … | |
Re: Hmmm, strange problem, If you are on windows, can u try first running the command [icode]set CLASSPATH=[/icode] , and then trying to run the program in the same console after it. Oh yes and please remember to wrap code in code tags | |
Re: I think the introduction messages go [URL="http://www.daniweb.com/forums/forum165.html"]here[/URL], | |
Re: First I'd like to inform you this is not a JSP forum. And next don't perform Database operations inside your JSP. And finally close your database connection after you are done with your transaction | |
Re: Now I do not know what to say: [CODE=jsp]Statement st = null; ResultSet rs = null; rs = st.executeQuery("Select description from user ");[/CODE] Sorry If I sound rude, But do you expect some magic ;) , you are calling the method on an object (st) reference set to NULL, even … | |
Re: I suggest you use the Tomcat mentioned on [URL="http://tomcat.apache.org/"]here[/URL]. If my info is correct Apache Tomcat was known as Jakarta Tomcat back in the days when it was a part of the Jakarta Project (which is also a part of Apache), but now it is a full fledged Apache project … | |
Re: Since you are using Netbeans, I assume you are using the Glassfish server, Now "Requested resource is not available" is a page that can be displayed for almost everything that can go wrong in a JSP or a servlet. My suggestion would be you check the logs of glassfish, for … | |
Re: Yes I do but may I see what have you tried or on what lines are you thinking, cause the main purpose of this program (most probably given by your instructor) is to train your brain to think of a solution and then convert it into C code, a characteristic … | |
Re: Try running the Jar file via on the command line and check the error. To run an executable jar file from the command line you will need to type: [CODE]java -jar filename.jar[/CODE] | |
Re: There are quite a few good tutorials available on the for developing applications for mobiles at [URL="http://www.netbeans.org/kb/trails/mobility.html"]netbeans.org[/URL] itself. | |
Re: [QUOTE]be a real time project[/QUOTE] I am assuming that you meant real world and not real time as in REAL TIME as in Nuclear Reactions etc. | |
Re: Tried you code out in GCC 4.1.2, no problems, same output for both cases, no infinite loops!! I had directly copy pasted your code. | |
Re: Well the reference Manual on the MySQL site is a pretty good place to start learning MySQL. | |
Re: [QUOTE=guerreronoli;639996]what seprator can I use?? in my batch file I put a semi colon, but how in manifest file??[/QUOTE] The semicolon for separating you Jars is valid on Windows only, on Linux its a colon ( : ) Anyways whats the problem of manifest file, I don think you have … | |
Re: Looks like a copy paste from his site, mentioned in the signature, I only see Self-Promotion / Advertisement the reason for this post. | |
Re: Use of code tags would be nice | |
Re: A Simple google serach gave me this, [URL="http://www.igniterealtime.org/projects/smack/index.jsp"]Smack API[/URL] and [URL="http://yaja.sourceforge.net/"]Yaja[/URL] | |
Re: [QUOTE]and i didnt watch any hour in the java cour so i need help from any body to make my project and success in this subject the project is about [/QUOTE] You want someone to make your project or do u want help in making ur project ??? | |
Re: yes I do, but can I see what you have tried, cause this looks like one of those questions with little practical application and mostly for academic use only ? | |
Re: When you declare a "char" array as [icode]char *abc="alpha"[/icode], the string is not editable i.e. readonly, You need to declare it as [icode]char abc[]="alpha";[/icode], if you wish to edit by using the [icode]abc[index]='';[/icode] method, Why this difference exists however I am not aware of !! | |
Re: [LIST] [*]No Code tags [*]All JDBC Code is directly in the JSP [*]JSPs are only supposed to display data processed by the Java Beans where your database connectivity and processing should take place [*]This is a Core-JAVA forum, There already is a [URL="http://www.daniweb.com/forums/forum24.html"]JSP forum[/URL] in the web development section.[/LIST] | |
Re: Add the jar containing the jfreechart library in you class path by using the "-cp <path to jar>" argument while compiling as well as running your Java program | |
Re: Try [URL="http://www.jfree.org/jfreechart/"]JFreeChart[/URL], its a free API for making pie charts, bar graphs etc. | |
Re: Technically what you referring are called pseudo-random numbers and not actual random numbers, BTW can we see what you have tried or instead you could find the complete details for your program [URL="http://www.daniweb.com/forums/announcement8-2.html"]here[/URL] ? |
The End.