36,051 Topics

Member Avatar for
Member Avatar for datulaida

hi all, I want to integrate Python 2.5 with JNI class.. Here my code.. actually, i want to integrate Apple Pie Parser (used C++ language) with Python.. the step is : 1) i build JNI class in Java that integrating with APP JAVA CODE import java.text.BreakIterator ; class Semantic { …

0
59
Member Avatar for karlm

Hi guys, first & foremost, my apologies if this is posted in the wrong zone - feel welcome to move it if necessary. OK, and on to my situation... I'm attempting to rewrite my navigation bar (vbulletin) to use images as oppose plain text. I used to frontpage2003 to start …

Member Avatar for karlm
0
141
Member Avatar for nhlagumbi

i,m a bit stuck in my project, i need to i dentify some classes for my system and i sofar i have only came up with tow classes like CLIENT and COMPANY. can anyone help me. i have to submit my documat soon.

Member Avatar for jwenting
0
103
Member Avatar for genocide

hi guys.. i need help.. can you give me a simple program of games in java except for tic-tac toe? i need it at the end of july.. i want to pass this subject and i want to master this programming language... please do grant my request... thank you very …

Member Avatar for jwenting
0
151
Member Avatar for madhu.garimilla

Hi, If any one knows how to implement a binary tree using hashmap collection in java please reply. Thanks a lot in advance

Member Avatar for TheGathering
0
2K
Member Avatar for saswati_mishra

Hi, I have a jsp page where I have a text box to enter an ip address and a button to ping the ip address entered. Can anyone tell me how to implement this using java/jsp/ajax. Thanks a lot in advance Saswati

Member Avatar for masijade
0
103
Member Avatar for vijaygandhi559

Hi, I am using websphere and trying to use javax.mail api . However i am receiving the errors as I am not able to import javax.activation.*; import javax.mail.*; the statements, the reason is Websphere does not recognize them, I am not sure whether i have the javax package. Could any …

Member Avatar for vijaygandhi559
0
157
Member Avatar for freddypyther

Hi there! I'm wondering if there is a "package" instruction in python so I can in a directory keep packaging all the classes and I don't have to import them every time. I mean, if in a same directory I have a class DutiesManager that controls an array of instances …

Member Avatar for jrcagle
0
138
Member Avatar for Satya Sai

hi Everybody, I am doing project on web based events. 1) I am doing the project with jsp. I want to show the daily events on one hour basis. like 8am eventDesc 9am eventDesc -- --- upto 9pm. I want to show all the events that are occuring at 8 …

Member Avatar for peter_budo
0
81
Member Avatar for michael.ngobeni

Good day, I have a PDF file that acts as my template. I know how to use the x, y cordinate to put an image into that PDF file. My problem is that my PDF file has about five pages and I want to put this image in the second …

Member Avatar for michael.ngobeni
0
129
Member Avatar for vinod_javas

Hey guys., I just want to know about the MVC pattern in java swing. up to my knowledge i knew ...... Model is used for storing information like Scrollpane height=50 width=60 like that and view is used to show the output view.. like how scrollpane looks like... and controller is …

Member Avatar for thekashyap
0
156
Member Avatar for Mr.UNOwen

So I'm creating a game using Applet and I was wondering what would be the largest resolution I could ever consider for a game to run at 12 frames a second on a typical gaming computer? (BTW: This game is running on a local machine and NOT over the web) …

Member Avatar for Mr.UNOwen
0
153
Member Avatar for Kob0724

So I've got this jtable set up that displays the contents of an arraylist by use of the handy dandy table model (see code below). you'll notice it calls a method makeTableArray() (see code below) in order to figure out what the array that its going to use is. In …

Member Avatar for Ezzaral
0
246
Member Avatar for md_salman

Hello, my question is: Why do we have separate layers of classes when developing a web application. For example a DAO layer, DTO layer, business services layer etc.I mean why do we follow this approach. What's the purpose of having DTO layer, if its just transfer ot data we can …

Member Avatar for jwenting
0
80
Member Avatar for rdhiravani

Hi, I want to add a jar file to another jar file in such a way that my code should be able to access it(ie. internal classes of that jar). Thanks in advance.

Member Avatar for jwenting
0
4K
Member Avatar for saswati_mishra

Hi, I have a jsp which contains a list of radio buttons. I want that when the user selects any one of them the value of the corresponding radio button be passed to a textbox on the same page. How would I do that, I have no idea. Please help!!!!!!!!!It's …

Member Avatar for Ezzaral
0
83
Member Avatar for yafa

hi, i m new here,actually i got a project on hotel management on jspand i m not expert in java n my project submission is on 9 july if any one have that project plz send me on my mail <snipped> its urgent

Member Avatar for mohdiftakhar
-1
102
Member Avatar for dotcom123

I have the slider code and the paragraph im going to put inside.That is create a horizontal slider bar, that will display individual words, each weight along the slider. So, at each step of the slider,a different words is displayed..so i need to load it up to the website using …

Member Avatar for dotcom123
0
88
Member Avatar for aPPmaSTer

Hi, I'm currently making a java-based web services application and want to embed the Google API. The trouble is that I can't fir their API files anywhere, can anybody help?

Member Avatar for saurav
0
85
Member Avatar for saurav

Hi All, I had developed a small app in Tomcat. But now i am migrating into Sun-one. I have deployed the app by making a war file through the deploy tool. But i am getting an error while parsing the web.xml file during running the app. org.apache.jasper.JasperException: File "/struts-bean" not …

Member Avatar for saurav
0
174
Member Avatar for kalaiselvi.v

I want to connect to the database mysql . I am using Type IV driver Connector/J. How to connect to the database. When i load the driver class its working after that i get this error SQL Exception :Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** …

Member Avatar for masijade
0
111
Member Avatar for satish.paluvai
Member Avatar for satish.paluvai

why we can't specify like the following code synchronized class a { -- } if we want to synchronize a class we need to code like synchronized(a.class) ? If any body help me I will be very thankfull to them.

Member Avatar for jwenting
0
96
Member Avatar for mawarzinnirah

Here a problem where i have a process where user want some data file(textfile.txt) from somehere for example from D:\smart\rs334455.txt. After user have that file, user can choose whether he want to save the file or display it as a text file. Could anyone in here give me some example …

Member Avatar for satish.paluvai
0
304
Member Avatar for satish.paluvai
Member Avatar for soso30

hi all, I am trying to build a software application that should update user's phone book from an old phone numbering scheme to a new one . the aim of such application is to automate the phone book updating procedure, and make it easier for the subscriber, rather than doing …

Member Avatar for jwenting
0
103
Member Avatar for no1zson

Like many of the posts I see out here I have decided to learn Java. It is a bit more than I bargained for. From what I see every class in the world starts with a payroll program, mine is no different. I have done ok with it up to …

Member Avatar for no1zson
0
165
Member Avatar for onsir

Hi, i have installed Netbean 5.0 with file jdk-1_5_0_09nb-5_0-win-ml , but why my Netbean 5.0 IDE is not MDI Application , JFInternal Frame. while a right clik my Project thanks.

Member Avatar for Ezzaral
0
91
Member Avatar for saasbs

Hi im a new member in this forum.. i really need your help as soon as possible, im doing my final project for graduating, its about doing a website for a hotel in jsp. i almost finished everything, now which im stock in it, and dont know how to do …

Member Avatar for yafa
0
331
Member Avatar for shivams

i am new to java and i want to learn how to make games i saw some source codes of some games but i dont at all understand wt do the codings mean and how do we make codings to make a game....plz can i get some help.

Member Avatar for ~s.o.s~
0
96
Member Avatar for jonamasa

Hi I downloaded a simple Java application using Spring, which works in Eclipse if I manually add the needed jar libraries. However, I would rather use the existing [I]build.xml[/I], which includes the libraries via [code]<fileset dir=...>[/code] and [code]<include...>[/code] nodes. If I rightclick the [I]build.xml[/I] and click on Run As->Ant Build, …

Member Avatar for Ezzaral
0
187
Member Avatar for speedygonzalez

Hi all! I've a pretty naive problem with my applet which is as follows..... [CODE=java] // Wordlist for GRE High Frequency Words import java.awt.*; import java.applet.*; import java.awt.event.*; /* <applet code="Wordlist.class" width=800 height=600> </applet> */ public class Wordlist extends Applet { TextField m1 ,m2 ,m3 ,m4 ,m5 ,m6 ,m7 ,m8 …

Member Avatar for Ezzaral
0
131
Member Avatar for snakai415

Is there a way to change boolean into integers? Like... making every "TRUE" = 1 and "FALSE" = 0 If there is a way, how will you do it? I tried using this 'cast' thing, but it's confusing :'( - - - - - I'm suppose to make a table, …

Member Avatar for snakai415
0
449
Member Avatar for new_2_java

Hi all, I would like to execute a shell script from my java code. Can some one please tell me if that is possible? Here's what I tried, but with no result. [code] public class RunPDCC { public static void main(String[] args) { try { Process proc = Runtime.getRuntime().exec("./test.sh"); System.out.println("Print …

Member Avatar for new_2_java
0
553
Member Avatar for endsamsara

Hi, How do i create a class called Text that creates an object from a string and that deletes the first word of the text have no idea I was starting like [CODE] public class Text{ public static void main(String[] args) { String str = "this is a little text …

Member Avatar for Ezzaral
0
111
Member Avatar for onsir

Hello , all how to change tab order. example : position cursor is now in txtCode, then while i press key tab , cursor move to other component. thanks.

Member Avatar for masijade
0
74
Member Avatar for arunprashanth

Hi I am running jboss 4.0.4 in fedora linux server. when i run jboss run.sh. It properly run. how to stop run.sh file. if i press ctrl+z it stopped. again i start means, the following error occurs. Error occurred during initialization of VM Could not reserve enough space for object …

Member Avatar for ranjani
0
90
Member Avatar for onsir

Hi, all how to make status bar in main menu with JFrame using netbeans, and i want to show. User : A 2007-4-12 into status bar. thanks

Member Avatar for masijade
-1
100
Member Avatar for grussell

I want to convert a vector into a string array. I have put in my code: criteria = (String []) tokenVector.toArray(); I get a ClassCastExceptionError (I can understand why since Vector holds objects which are 'bigger' than strings) - and yet I cannot understand how to resolve it - any …

Member Avatar for masijade
0
316
Member Avatar for push

hi friends am trying to work on struts at myeclipse. but am getting problum while running jsp page. can any one help me for setting tomcat server for running jsp page. And tell me steps to deployee a jsp page. for myeclipse.

Member Avatar for push
0
293
Member Avatar for zaahar.hassan

I am searching for projects done in java.I am a M.C.A student and as per my academic requirements i'm asked to do projects.Please Help me

Member Avatar for jwenting
0
47
Member Avatar for beckerc

hello folks, I was wondering if it is possible to call a jsp from a dos bat file. I have a bat file that uses ftp to get some files, and i would like to call the jsp/servlets that processes the files without needing to modify or recreate processes performed …

Member Avatar for jwenting
0
75
Member Avatar for joshSCH

Alright guys.. I'm back in the java forums for help/suggestions. I'm sure one of the Daniweb java programming geniuses will be able to decide if this idea is too difficult or needs to be revised. I was thinking of writing a stock trend analysis program. There will be a stock …

Member Avatar for Ezzaral
0
2K
Member Avatar for anoo36

i m doing aproject to developa groupware ie a discussion community..where users can post ther quiers related to a particular categor i m not able to sort out the problem as to how to take the data from my database so that when user log in he sees eacha nd …

Member Avatar for jwenting
0
95
Member Avatar for snakai415

I am currently reading about bit sizes or something.. is knowing these bit sizes important? Because I don't really get this, and if it's not important, I won't have to keep rereading this thing. Type Width in Bits byte 8 [B]<-- is knowing this important?[/B] short 16 int 32 long …

Member Avatar for snakai415
0
85
Member Avatar for satish.paluvai

I am using a servlet, in that servlet I used a doPost() method by extending the HttpServlet. then who implement the all remaining methods( doGet,doPut,doHead,doOptions.......)

Member Avatar for masijade
0
89
Member Avatar for satish.paluvai
Member Avatar for md_salman

I am writing a web based application using JSP and JDBC. In side a servlet I execute some code like this [code] DAO.addComments( commentsBean ); commentsList = DAO.getComments(); session.setAttribute( "comments", commentsList ); response.sendRedirect( "comments.jsp" ); [/code] when I move to comments.jsp I find all the comments except those that have …

Member Avatar for sam.n
0
77
Member Avatar for marcories

guys, i have just joined this forum. I want to ask you if you know where i can find ready-to-use java servlet and jsp code for a search engine. i need this in order to complete my thesis. thank you very muchin advance

Member Avatar for ~s.o.s~
0
83
Member Avatar for arunprashanth

Hi what are the ways to improve performance of tomcat server. or Tomcat performance tuning.(Tomcat server 5.5) Thanks

Member Avatar for reflex2java
0
67

The End.