36,051 Topics

Member Avatar for
Member Avatar for redZERO

Hi, I don't want you to do the project for me, but I would like to ask about the logic behind building an RPG in java. You would have to assign a picture for trees and houses and stuff right? Then would you create an array and assign each map …

Member Avatar for redZERO
0
82
Member Avatar for sandeep_2482

How to upload a log.txt into mysql through servlet and jsp as front end please help me out iys urgent

Member Avatar for masijade
0
55
Member Avatar for sciwizeh

hello, i'm making a small calculator program, and i want the display to look like this: [URL="http://www.freewebs.com/sciwizehgames/images/want.jpg"]want.jpg[/URL] but i'm getting this: [URL="http://www.freewebs.com/sciwizehgames/images/Getting.jpg"]getting.jpg[/URL] this is the code i am currently using for the task: [CODE]public void actionPerformed(ActionEvent e){ String currText = viewer.getText(); String text = enter.getText(); int len = currText.length(); enter.setText(""); …

Member Avatar for sciwizeh
0
723
Member Avatar for new_2_java

Can someone tell me what jar file do I need inorder to use the above class?

0
122
Member Avatar for darklich13

I'm having trouble getting my InputMismatch working on my program. Do I need some kind of throw for this exception? The program compiles fine, but it dosen't pick up the exception. Can someone please help. [code] public class EndingListener implements ActionListener { public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("Convert")){ try{ …

Member Avatar for darklich13
0
206
Member Avatar for mansoorhacker

hello viewers. i have some problems in java database connectivity. the code compiles successfully but , when i execute the code it gives this error " error establishing socket connection". i have applied several solutions e.g enable tcp/ip in sql server, checking the name of sql server., giving ip to …

Member Avatar for Ezzaral
0
149
Member Avatar for anuragatiiith

hey i need to generate and print an identity-card kind of thing ..i hav the values in my database ..how can i do with help of java tools ..im new to java .pls help ..i-card hav speicifc format with a image . thanks !!

Member Avatar for Ezzaral
0
88
Member Avatar for ms88

Hi guys, I would like to ask if there is anybody have example files on how to use php_java bridge...... cheers

Member Avatar for scjp
0
75
Member Avatar for darlineth

Hi to all. i am darryl Nuyda from a native country philippines, i'm here your site to participate and need your help. I'm a sophomore student of information technology. am here in your site, to need a help for my Java application using J FRAME . I'm a newbies, this …

Member Avatar for VernonDozier
0
146
Member Avatar for zyaday

Hello, i'm using a Jpanel, I am using an image as background . On top of that i want to put buttons on it. The problem is I cannot repostion the buttons? can anyone help me here!!??

Member Avatar for zyaday
0
108
Member Avatar for arunagar

We have 2 JSPs A.jsp ==> Main screen JSP tabs.jsp ==> The jsp, which has the header and have several tabs JSP 'A' "includes" JSP 'tabs' Now I want that when page 'A.jsp' loads, it should make some check and set a Flag. This Flag should pass to JSP 'tab.jsp', …

Member Avatar for arunagar
0
130
Member Avatar for Kusno

Deal all, I'm learning J2ME wireless programming using Netbeans, and I have to format string to date. But when I add "java.text.SimpleDateFormat" NetBeans does not detect that package. What should I do ? Please help me !! Thanks, Kusno.

0
65
Member Avatar for cleopatra789

Hi, I m new to jsp and currently i m trying to fix this problem. In my project, we have an enhancement where we are trying to access a changepassword.jsp 1) directly through URL 2)Invoking this jsp after loginhandler.jsp. 1) is for existing users. 2) is for new users. We …

Member Avatar for masijade
0
115
Member Avatar for timhysniu

Hi guys, Can you please recommend a Java/JSP framework for a larger web application? It would help if this uses a MVC architecture. From my research, it looks like Struts is THE major and decent framework. I have heard from someone here, though, that there are better frameworks. I just …

0
61
Member Avatar for Alex Edwards

Does anyone have an website they would recommend to me for learning Regex? I have tried using the Sun's tutorial on Regex as well as the Pattern and Matcher classes that use Regex but I am not quite understanding it. I'd like to use it to return the String values …

Member Avatar for sciwizeh
0
128
Member Avatar for icorey

Hello. I'm very new at JSP. I'm trying to make a page navigator thing with an include statement like everyone does with PHP. So I have three files. I know it's way too much for something so simple, but I just wanna try things out. I'm using Eclipse and, unfortunately, …

Member Avatar for icorey
0
486
Member Avatar for knight fyre

I'm trying to create a client/server setup that allows two clients to communicate with each other. The problem is that when I run the application the the message does not go to the send client, only to the server. Here is the source code. Class MorseServer [CODE=java]import javax.swing.JTextArea; import javax.swing.JFrame; …

Member Avatar for Jishnu
0
232
Member Avatar for rubendoliveira

Hi everyone, Don't know for sure if this is the right place to post the question, but it goes: I'm starting a JSP project and I'm having some difficulties with Tomcat/Java configuration. I'm using: - apache-tomcat-6.0.16 - java_ee_sdk-5_05-windows Directory where the code is located: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\lw\ Directory …

Member Avatar for jwenting
0
93
Member Avatar for virendra_sw

Hi. I am unable to create file object from javascript in Vista platform. ex. i am using this statement javascript var oFso = new ActiveXObject("Scripting.FileSystemObject"); after executing this and make try catch block for this i am getting this error "Automation object can't create object". I have enabled some options …

Member Avatar for paras2008
0
75
Member Avatar for anuragatiiith

hey guys ..im new to javascript .. i hav a validation function which alerts by showin error ..bt wen der is no error i want to continue to my next form ..ie a html page ..i tried to check on error bt stil its nt redirectin .. . waitin for …

Member Avatar for anuragatiiith
0
121
Member Avatar for QuirkyCindy

Hi all, Could someone help me with the source code to implement a search feature using servlet (JSP/JSF/Java method)??? Based on the examples below:- (Search by Name, Dept and DOB) Employee Table Id Name Dept DOB Date Search By Name, Dept, DOB Id Name Dept DOB Date 10 Judy BBB …

Member Avatar for QuirkyCindy
0
108
Member Avatar for b_bayaraa_d

hi all. i coudn't send email to registered users from my jsp page. that email about activition code. ok help me people regards bayarja

Member Avatar for jwenting
0
41
Member Avatar for caprisan06

Hi, I want to write the below javascript code into my JSP page directly...Can you please help? JSP code... [code=JSP]<span class="mini"> <html:link href="#" styleClass="bouton" onclick="return submit_form_with_parameters('delegationForm', 'delegation', 'noInit=Y');"> <bean:message key="rh2u.deleg.label.etape0.label.chercher" /> </html:link> </span>[/code] JavaScript code... [code]function submit_form_with_parameters(strFormName, strAction, parameters){ objForm = eval("document." + strFormName); objForm.action = strAction + ".do?" + …

Member Avatar for caprisan06
0
5K
Member Avatar for javaAddict

Hi All, I am an experienced java programmer for many years. But my problem is that the final assignment that was given to me for my master at the university, has to be written in VB .NET. Do you know any good books for learning VB .NET for someone like …

Member Avatar for jwenting
0
149
Member Avatar for nico3641

Hello, We recently upgraded a 3rd party JSP application to a new service release and we lost the following functionality: After we select (or highlight) some text on any text box or label on the JSP page, it gets un-highlighted after we right-mouse-click which leads to the copy menu not …

Member Avatar for jwenting
0
54
Member Avatar for sciwizeh

my secondary project at the moment is a complex calculator program, a graphing calculator, actually. i want to write a parser for it by hand, as it needs to do very specific complex stuff, but i cant find anything on writing a parser. i have a start, it will split …

Member Avatar for sciwizeh
0
633
Member Avatar for new_2_java

Hi all, I have an object, say its called MySuperType, which has a sub type, say it is called MySubType. MySuperType has the following attributes: int a; int b; int c; MySubType has the following attributes: (besides inhereting a,b and c) int d; int e; I was wondering if I …

Member Avatar for new_2_java
0
144
Member Avatar for Wickedself

I am new at Java. I have used Microsoft's Visual J++ but I have heard that it doesnot follow the java standard. Can you please give me the name of a good standard compiler that will work fine in windows XP.

Member Avatar for griefers
0
156
Member Avatar for Person1873

i'm relatively new to coding, i only started java this year and C++ last year, i decided i wanted to tackle minesweeper, my only issue is putting all the buttons on screen, my computer-science class uses java that's a little outdated so please excuse this, here's my code, could someone …

Member Avatar for Person1873
0
126
Member Avatar for tigerkartik

hi im in third year of my engineering and have started on my summer holidays ..........i want to know whether to learn java or .NET

Member Avatar for icorey
0
84
Member Avatar for anitha2324

Dear All, i have been asked to develop a website either in php or in one of java techonologies ( struts or jsp) the very important point in this site is that it has the following features... 1)the will be used for any purpose ( i mean still now there …

Member Avatar for Luckychap
0
153
Member Avatar for darklich13

I've got a small little program that I'm trying to write that converts a base10 number to a base2. For some reason my instructor wants us to use stack on this. I've got most of it done but I'm having trouble trying to get the stack converted to an int …

Member Avatar for darklich13
0
132
Member Avatar for neha555

hi, I m new in JSP can any one help me how to start with jsp. i just download the tomcat. how i write my first program and run it Thankx in advance:)

Member Avatar for jwenting
0
94
Member Avatar for weevil

Hi all! I really hope someone can do a huge favor and help my group out! We are students and we are trying to complete an assignment to create an interface page using jsp and oracle. Using XP pro we have installed all of the above. We then configured apache …

Member Avatar for jwenting
0
684
Member Avatar for joewazen

hi all, i have an html page with a link to a folder that is located on my server the problem is that when i click on that link i want to save the folder directly into a static location (c:\gv-prj\folderName) on the local pc of the user directly without …

Member Avatar for jwenting
0
69
Member Avatar for new_2_java

Hi all, I have to write a program which utilizes threads. In my program I have to connect to a Database and execute a massive number of UPDATES on a table--arround 2000 to 5000 records needs to be updated. I am planning to use threads. So, I can spawn multiple …

Member Avatar for new_2_java
0
112
Member Avatar for shaikh_mshariq

I want to develope stock ticker application in java. I dont know how to update JTable's specific cell's backcolour. In my application one thread running in background which randomly update's cell's text which is integer. I want to change cell's colour on the time of update. If previous cell's value …

Member Avatar for Ezzaral
-1
119
Member Avatar for ravikiran032

i am not able to execute applets. i have written the following program. [I][B]import java.awt.*; import java.applet.*; /* <applet code="sampleapplet" width=200 height=60> </applet> */ public class sampleapplet extends Applet { public void paint(Graphics g) { g.drawString("simple applet",30,30); } } [/B][/I]:?: javac sampleapplet.java appletviewer sampleapplet [B][U]The following error is displayed:[/U][/B] [COLOR="#ff0000"] …

Member Avatar for kumarprabu
0
3K
Member Avatar for Daemn

Hi, I've been looking into sockets and HTTP requests. I was wondering if I have an applet that sends a request to load an image, do I need a signature? If so, when it's signed, will the applet still show popups? If so, do I need a certificate to remove …

0
55
Member Avatar for jax2008

JAX ([url]http://www.jax-conf.com/[/url]) is the the most comprehensive conference on web and enterprise development. It provides an ideal forum for software developers, project managers and architects to learn about the latest Technology, Architecture and Agile Methodologies. It is this very special blend of topics which has made JAX the conference of …

0
55
Member Avatar for eflat

Can someone point me in the right direction on this? I want to read the value of "uname -n" into a string in my java code? thx

0
45
Member Avatar for misra

Hi I am unable to connect mysql server through jar execution file. But when I am trying to connect through java class file directly(instead of putting in jar file), it is very well connected. I am not able to understand where I am wrong. Please help.

Member Avatar for jwenting
0
25
Member Avatar for stopah2008

I would like to read a code like from keyboard that is separated by dash sign using java. 1313-5455-54545-4545 and ingonoring the dash

Member Avatar for Ezzaral
0
48
Member Avatar for chris cee

Hi Apologies if this has been asked before, (I'm new to jsp.). I'm looking for a rich text editor for a JSP website like freetextbox for asp.net. I'm sure there are loads out there for jsp or something we can integrate, could anyone point me in the direction of something …

0
57
Member Avatar for a_elsayed2010

Hello, I'm student in Faculty of Computer and Information , Cairo University I'm working in project [B]The Project Specification :[/B] 1- load 3D Environment 2- enable the user to interact with surrounded environmnet 3- the environment content painter stand that enable the user to draw on it [B]The Problem:[/B] I …

Member Avatar for a_elsayed2010
0
273
Member Avatar for ramakanth

H every body, I want help urgently,how upload the .txt file and insert it into the database nd retrive that one in to my projectfolder atleast how to retrive the text file from database using jsp

Member Avatar for javaAddict
0
86
Member Avatar for boomar

hi, i m not able to configure java-bridge, here my OS is VISTA business,i installed php5.2.1 with IIS server, now i want to use java classes in php. I read many installation pages tried it,not able to succeed. pls help me in brief to install and configure.:| Thanks and Regards

0
62
Member Avatar for Spunkerspawn

First and foremost, I've read a bunch of links on the web and I still can't implement the methods I've found in this specific context, please help me by providing me some sort of guidance. The object in question is the Property Object. It has 3 attributes int value, int …

Member Avatar for Spunkerspawn
0
148
Member Avatar for nemom

Hello everybody,, this is a simple java method that calls itself,, [code=java]class ex{ public static void main(String [] args){ simpleMeth(5); } static void simpleMeth(int i){ if(i != 0){ rec(--i); System.out.println(i); } } } [/code] If you follow the the codes you will find after sending number (5) to the method …

Member Avatar for nemom
0
172
Member Avatar for yap

Dear guys I am rather new to Java and Java databases. Now I have just installed netbeans v6.1 together with derby (javaDB) on win XP, SP 2. Creating and running java programs is ok, but I can't start derby server from netbeans services menu. NetBeans tells me: java.lang.NoClassDefFoundError: org/apache/derby/drda/NetworkServerControl. Exception …

Member Avatar for peter_budo
0
177

The End.