5,031 Posted Topics

Member Avatar for khnkng

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

Member Avatar for peter_budo
0
137
Member Avatar for ceyesuma

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 …

Member Avatar for ceyesuma
0
92
Member Avatar for Mandana_bgh

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.

Member Avatar for peter_budo
0
160
Member Avatar for ku95

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 …

Member Avatar for peter_budo
0
209
Member Avatar for funnychild

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

Member Avatar for peter_budo
0
57
Member Avatar for chihwei

[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

Member Avatar for peter_budo
0
200
Member Avatar for TimGerber

@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...

Member Avatar for peter_budo
-1
188
Member Avatar for peter_budo

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 …

2
908
Member Avatar for synxmax
Member Avatar for synxmax
0
154
Member Avatar for serik

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]

Member Avatar for peter_budo
0
95
Member Avatar for yeap521

@pradip.shingate well done you just replayed to almost 6 years old thread with information of very little value... Thread closed!

Member Avatar for peter_budo
0
104
Member Avatar for Sthe

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]

Member Avatar for peter_budo
0
127
Member Avatar for fango
Re: J2EE

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"

Member Avatar for jenn11
0
152
Member Avatar for abar_sow

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]

Member Avatar for peter_budo
-1
888
Member Avatar for escme

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]

Member Avatar for peter_budo
0
81
Member Avatar for jaredleo999
Member Avatar for peter_budo
0
178
Member Avatar for cjay175

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

Member Avatar for Airshow
0
6K
Member Avatar for vandersal

[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]

Member Avatar for peter_budo
0
1K
Member Avatar for Ajantis
Member Avatar for peter_budo

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 …

Member Avatar for Donall
0
123
Member Avatar for saggykulji

[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 …

Member Avatar for peter_budo
-2
127
Member Avatar for Bobon

[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?

Member Avatar for Bobon
0
146
Member Avatar for peter_budo

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> …

Member Avatar for peter_budo
0
1K
Member Avatar for Odena

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]

Member Avatar for peter_budo
0
106
Member Avatar for gsula

Not a Java Server Pages question (that what JSP stands for), therefore moving to JavaScript

Member Avatar for peter_budo
0
50
Member Avatar for jeetudaljit

Exactly as to any other HTML based document, either use internal or external approach.

Member Avatar for shahpraneel
0
6K
Member Avatar for moonis.ahmed

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?

Member Avatar for filestofiles
0
98
Member Avatar for dolorous86
Member Avatar for peter_budo
0
131
Member Avatar for Toysh
Member Avatar for happyhound
Member Avatar for Amurka

[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 …

Member Avatar for alisneaky
0
2K
Member Avatar for gokul

[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 …

Member Avatar for debjit.samsung
0
196
Member Avatar for jnthn205

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?

Member Avatar for jnthn205
0
258
Member Avatar for pradeepktg

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

Member Avatar for peter_budo
0
74
Member Avatar for bradleykirby

[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

Member Avatar for peter_budo
0
350
Member Avatar for morisboy

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 …

Member Avatar for peter_budo
0
120
Member Avatar for syamala devi

[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

Member Avatar for peter_budo
0
450
Member Avatar for zerioni
Member Avatar for g0pal

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?

Member Avatar for Taywin
0
292
Member Avatar for pavan146

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

Member Avatar for peter_budo
0
79
Member Avatar for rumpleteaser33

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]

Member Avatar for peter_budo
0
169
Member Avatar for chloeclover

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

Member Avatar for peter_budo
0
263
Member Avatar for rowdyboudy

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)?

Member Avatar for peter_budo
0
140
Member Avatar for mattyd

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 …

Member Avatar for peter_budo
0
96
Member Avatar for ozrayleigh

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

Member Avatar for peter_budo
0
129
Member Avatar for aditya_22cent

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]

Member Avatar for peter_budo
0
85
Member Avatar for JSPnewbie

[QUOTE=JSPnewbie;1177766][CODE]<% System.out.println(request.getParameter("user")); %>[/CODE][/QUOTE] Excuse my French, but WTF you trying to do there?

Member Avatar for peter_budo
0
88
Member Avatar for rozbaz
Member Avatar for peter_budo
0
27
Member Avatar for justM

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...

Member Avatar for peter_budo
0
185
Member Avatar for vasunttfshimoga

All you need [URL="http://http://jasperforge.org//website/jasperreportswebsite/trunk/tutorial.html?header=project&target=jasperreports"]JasperReports Tutorial[/URL]

Member Avatar for peter_budo
0
66

The End.