5,031 Posted Topics
Re: First post [URL="http://www.daniweb.com/forums/thread249070.html"]here[/URL] explains how to install Java under Windows or Ubuntu. Here you can find simple [URL="http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html"]"Hello World!" for Microsoft Windows[/URL] or [URL="http://java.sun.com/docs/books/tutorial/getStarted/cupojava/unix.html"]"Hello World!" for Solaris OS and Linux[/URL] for command line | |
Re: If you want database to embedded why don't you use serverless DB like SQLite, HSQLDB or similar instead of MySQL that would become pre-requirement for your application to be able run on different machine. Also mentioning connection pool name, some relevant coding and exact error you getting is always helpful … | |
Re: When you run application from JAR file you can not write into files that are packaged inside, you can only read. Therefore if you need this file for writing on each application start up check if file exists or create it if necessary. | |
Re: what it is saying is that you did not closed all open brackets. In your case you closed your inner class DrawPanel inside Connect4View but never actually closed Connect4View that is encapsulating the inner class. Just add "}" at the end of program and you done. PS: Any basic IDE … | |
Re: You need to use [code=html] <form name="frm" method="GET" action="http://localhost:8080/connect/ConnectServlet">[/code] as you are calling "class" and not "java". Also you servlet need to be included in web.xml | |
Re: [QUOTE=ProgrammersTalk;390025]that's just the same thing haha..[/QUOTE] Please read the [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]forums rules[/URL] before posting futher more specialy [B]Keep It Pleasant[/B] section | |
Re: @mukeshbca2 [list] [*] almost 6 years too late [*] double posted [*] copying code from second post and forgot to ask question [/list] If you have question create new thread as this one is of this moment closed... | |
In my current project we need to provide drag&drop functionality of items from left to right and vice-versa and on click of the button send array of item IDs to server. Main problem was that we couldn't get array across to server and online examples that we found did not … | |
Re: You may start with [URL="http://www.daniweb.com/forums/post646446.html#post646446"]this[/URL] | |
Re: 1. [URL="http://www.eclipse.org/webtools/initial-contribution/IBM/evalGuides/WebServicesToolsEval.html"]Web Services Tools Evaluation Guide[/URL] 2. [URL="http://wiki.eclipse.org/Creating_a_Bottom-Up_Java_Web_Service"]Creating a Bottom-Up Java Web Service[/URL] 3. [URL="http://wiki.eclipse.org/Creating_a_top-down_Axis2_Web_service"]Creating a top-down Axis2 Web service[/URL] | |
Re: @pradip.shingate well done you just replayed to almost 6 years old thread with information of very little value... Thread closed! | |
Re: No, as we have following rule, [URL="http://www.daniweb.com/forums/announcement9-2.html"]We only give homework help to those who show effort[/URL], so you better start read something like [URL="http://books.google.com/books?id=chepSC2iAB8C&printsec=frontcover&dq=beginning+j2me+from+novice+to+professional&cd=1#v=onepage&q&f=false"]this[/URL] | |
Re: You forgotten to put closing bracket in your "processRequest" method, and same goes for closing whole class after method "service". PS: implements servlet, servlet should be capital "S" | |
Re: That code is not correct, I do not think it was actually ever finished. Try to use[URL="http://www.javaworld.com/javatips/jw-javatip19.html"] this[/URL] | |
Re: Well you forgot few things like read forum rules and announcements like [URL="http://www.daniweb.com/forums/announcement9-2.html"]We only give homework help to those who show effort[/URL] | |
![]() | Re: You cannot pass string to Color class as parameter as the class hasn't got such constructor |
Re: Moved, in the future please use "Flag Bad Post" and type short message such as "Please move to XYZ section" and somebody from mod team will do it EDIT: Now both threads are merged and there should be minimum to none confusion | |
Re: [QUOTE=stultuske;1187777]Check [URL="http://www.lmgtfy.com/?q=jsp+%2B+servlet%2B+tutorial"]this[/URL][/QUOTE] Why not use our own resources? On top of our JSP section is [URL="http://www.daniweb.com/forums/thread141776.html"]JSP database connectivity according to Model View Controller (MVC) Model 2[/URL] | |
![]() | |
I have little bizarre problem. Working in Java web development we have project that we use plenty of templates from Velocity. Where one template can refresh section of it self and display one or more templates. My problems is that in parent template I have to pop up window with … | |
Re: [QUOTE=saggykulji;1187245]i juz joined in...juz checkin this sie...dont even need helpp[/QUOTE] [LIST=1] [*]We strongly encourage all posts to be in full-sentence English. [*][URL="http://www.daniweb.com/forums/announcement9-2.html"]We only give homework help to those who show effort[/URL] [*]I'm not sorry at all that and we would be glad if we could get rid of lazy people … | |
Re: [QUOTE=Bobon;1187357]OK i have a limited knowledge of javabeans. I have created a javabean and created an instance of it in the code below.[/QUOTE] Why don't you try to follow tutorial from top of JSP section about MVC2? | |
I running my little blog on Tomcat 6 server. My hosting company allows me to set up multiple sub domains. I was trying to do for last few hours, but no luck. Having started with [code=xml] <Engine name="Catalina" defaultHost="mydomain.co.uk"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> <Host name="mydomain.co.uk" appBase="/home/user/public_html" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Alias>www.mydomain.co.uk</Alias> … | |
Re: Ever heard of Google? Search [URL="http://www.google.co.uk/#hl=en&source=hp&q=org.jdom&meta=&aq=4&aqi=g10&aql=&oq=org.jd&gs_rfai=&fp=6bd50ce141ef8c71"]result[/URL] | |
Re: Not a Java Server Pages question (that what JSP stands for), therefore moving to JavaScript | |
Re: Exactly as to any other HTML based document, either use internal or external approach. | |
Re: Sorry I do no see logic in what you trying to do. Redirect is for giving up current document and moving on next one and not holding on old location. Will you explain what you are up to? | |
Re: Sorry, at this point without look on whole code I cannot help... | |
| |
Re: Did you check/updated your PATH for Java in system settings? | |
Re: [URL="http://java.sun.com/docs/books/tutorial/java/data/strings.html"]The Java Tutorials - String[/URL] [QUOTE]Using String's static format() method allows you to create a formatted string that you can reuse, as opposed to a one-time print statement. For example, instead of [CODE]System.out.printf("The value of the float variable is %f, while the value of the " + "integer variable is … | |
Re: [QUOTE=andrew13d;652256]hey all, I was also thinking about a chatting application. However I am kinda new to programming. Would someone pliz guide me on how to go about it using C++ or C#(i've gone through the basics of C++). Can the chatting "operation" be achieved by scripting also?[/QUOTE] If you want … | |
Re: Why don't you re-use/continue use array object on which you calculated average and been flagged? Are there any restrictions that says you need to through all arrays rise flag when need it and only after that do data output? | |
Re: 1. BAD thing what you just showed as database connectivity, you shouldn't do it from page view 2. Of course it will not work, because what you getting from database is blob object and not ready to display image. You need to convert blob to something that browser will understand | |
Re: [QUOTE=em-kay;1182213]can anybody do it with C++ ???[/QUOTE] For sure somebody know how. You just need to post your question in correct forum section instead of bumping old thread... Closed down | |
Re: How do you find this sort of code? Easy to read? Do you have problems to find out where scriplet starts and where is end? How would you handle methods calls that are so easily available to you through server side coding? [code]<%@ page language="java" import="java.sql.*" %> <% String driver … | |
Re: [QUOTE=k bindu;1180806]hi ,i want some advanced java mini project topics[/QUOTE] sourceforge.net is where you should already look into, instead of bumping old and fruitless thread Thread closed | |
Re: You better to move that database query to servlet | |
Re: If you are using free-host you are most unlikely be able to run Java. Are you sure it was Java you want to use or was it JavaScript? | |
Re: That will be difficult task as there will be many restrictions on it. If it is your school project then school is responsible for providing you with appropriate resources. Also do search on our JSP section as there been already similar discussions in the past | |
Re: I do not want to be rude, but you better stop there before you get bad habits, like JSP-database connectivity. Start reading [URL="http://books.google.com/books?id=15wp6fmAy4sC&printsec=frontcover&dq=head+first+servlets+and+jsp&cd=1#v=onepage&q=&f=false"]Head First - Servlet and JSP[/URL] | |
Re: Every GUI component has some way to set and get content so I do no see problem there [code] JTextField field = new JTextField(); field.setText("This component"); JTextArea area = new JTextArea(field.getText());[/code] You better post your code and explain on it where you having problems | |
Re: For each loop [code] int[] intArray = getMyArray(); for(int i: intArray) { arrayAsString = arrayAsString + i; }[/code] Don't you want to provide some sort of separator between values (space, comma, semicolon, etc)? | |
Re: You are introducing to many variables and confusing your self. Just quick simplification [code]import java.io.*; final class ReadString { public static void main (String[] args) { // Intro System.out.print("Welcome to World Bank. Please make a selection from the following and selct the Enter key:\n 1)Checking\n 2)Savings\n 3)Loans\n Choice:"); // Open … | |
Re: Did you included JasperReports library in your final JAR file? If not you either have to let your system know that library has to be added, or just simply copy&paste into appropriate location | |
Re: You better to start reading something like [URL="http://books.google.com/books?id=15wp6fmAy4sC&printsec=frontcover&dq=head+first+servlets+and+jsp&cd=1#v=onepage&q=&f=false"]Head First - Servlet and JSP[/URL] | |
Re: [QUOTE=JSPnewbie;1177766][CODE]<% System.out.println(request.getParameter("user")); %>[/CODE][/QUOTE] Excuse my French, but WTF you trying to do there? | |
Re: By following industry standards [URL="http://lmgtfy.com/?q=isbn+code+978&l=1"]here[/URL] | |
Re: Beginning J2ME - From Novice to Professional, fancy title but it shows what you need like [URL="http://books.google.com/books?id=chepSC2iAB8C&lpg=PP1&dq=beginning%20j2me%20from%20novice%20to%20professional&pg=PA143#v=onepage&q=&f=false"]get image from server[/URL] And as jwenting put it, it is obvious this is not pseudo-code by homework requirements. Nobody in their proper mind would put all above functionality in one class... | |
Re: All you need [URL="http://http://jasperforge.org//website/jasperreportswebsite/trunk/tutorial.html?header=project&target=jasperreports"]JasperReports Tutorial[/URL] |
The End.