35,618 Topics

Member Avatar for
Member Avatar for Hari_13

I am unabe to send email. The page is hanging and it is not displaying any error. Please help me fix the issue thank you in advance.

Member Avatar for JamesCherrill
0
118
Member Avatar for Michael_56

I am fairly new to java using Spring boot and maven. I was assigned a task to get the revision number and timestamp for the current revision from the project and put them into an app.properties file . Most of the demonstrations I have found displayed the templates as such, …

Member Avatar for stultuske
0
336
Member Avatar for Violet_82

Hi guys, I have a question about error handling. Still working on the addition application and now that I've learned what are the correct exceptions to handle I'm not sure what to do when I've established that the my inputs are all valid and print my result. Let's have a …

Member Avatar for Gribouillis
0
418
Member Avatar for Violet_82

HI guys, I'm really new to SVN and today I've installed tortoise as I'm working in windows at the moment and I'm following this tutorial https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-qs-guide.html. So, I have a java project in Eclipse: I have created a local repository folder on my machine and imported a project in it. …

Member Avatar for Violet_82
0
290
Member Avatar for Violet_82

Chaps, I wonder if you can give me a hand with this. Here's the brief: "Create a program that draws 10 random filled shapes in random colors, position and sizes. Method paintcomponent should contain a loop that iterates 10 times. In each iteration, the loop should determine whether to draw …

Member Avatar for Verse_1
3
5K
Member Avatar for Josh_2

Hello all I have a chat room application where clients connect to server and can chat between each other, I am also trying to add a feature where a client can request a file from the server sucha s an image sound file or video I am trying to convert …

Member Avatar for Josh_2
0
1K
Member Avatar for Rach!

i Am new to selenium webdriver and I want to automate a webpage related to my project. I am currently working on login page, however I facing problem with the login button which I am confused which locator to use. The login button is below: a href="javascript:LoginSubmit('Log In')"> img border="0" …

0
122
Member Avatar for Link_1

![Untitled.png](/attachments/large/4/9ac3fb0f01e4139b31b0d2937bdb0d02.png "align-center") Plesae take a look at the image attached. I have created a maven project by the following steps: 1. open eclipse EE 2. file > new > pther > maven project 3. click on 'create a simple project' checkbox 4. click on 'use defualt workspace location' checkbox > …

0
168
Member Avatar for Violet_82

Hi guys, I have a simple application which allows users to input a divisor, a divident and then calculates the quotient. I'm using vaadin as framework but I don't think that matters. So I've been thinking about the exceptions that can occurr and these are the ones i have identified: …

Member Avatar for JamesCherrill
0
404
Member Avatar for Saurabh_13

THE CODE BELOW IS FOR SAVING FORM DATA FROM HTML FORM TO A TEXT FILE IN THE LOCAL COMPUTER. BUT, THE TEXT I AM GETTING IN THE TEXT FILE IS ALWAYS IN A SINGLE LINE AND I CAN'T ORGANIZE IT. THE CODE BEING USED IS AS BELOW. <!DOCTYPE html> <html> …

Member Avatar for stultuske
0
487
Member Avatar for Altjen_1

Hi daniweb community, this sounds really weird question but I'm having a problem finding a page/portal. has been about 2 days and I've been searching literally for more than 30 hours. From the desperation I am asking any of u if they know it. Inside microsoft page, or microsoft azure. …

Member Avatar for AssertNull
0
202
Member Avatar for Judi Almed

Hi! Can I ask for help, please? How can I pass variables especially array variables and values from a class to other class?

Member Avatar for JamesCherrill
0
81
Member Avatar for prashant_savadi

Java code to get windows service start time ? Like how we get using Process Explorer. Thanks in Advance! PFL for Screen Shot: https://drive.google.com/file/d/0B5KXd3eMbanKckt0YXZCTERWU2c/view?usp=sharing

Member Avatar for rproffitt
0
64
Member Avatar for asifalizaman

hi!guys pay some attention there thanks can any one tell be what is the difference b/t java and java script.. According to my point of view java is programing language that used for the application development..but i have a little knowledge about java script i think it is client side …

Member Avatar for _1_18
0
777
Member Avatar for hhappak

Hello, I am facing a problem I cant seem to find an efficient solution for. My application is supposed to parse a text file while another process is continuously adding to it. I have tried scanner and inputstream but both seem to stop once they hit the end of the …

Member Avatar for rproffitt
0
5K
Member Avatar for Kriti_1

Hello everyone! I have been working on my school project and I have encountered problem linking jTable with a table in the sql server.Can anyone please help me regarding it.Please help me with the code on how to link the the table.

Member Avatar for JamesCherrill
0
1K
Member Avatar for _1_24

Create a payroll program for 5 part timers for 1 month let the user program enter the name of 5 employee and the No. of hours per week. Based on the rank,calculate and display Net Salary based on the ff: Rank Rate per hour Instructor I Php 172 Instructor II …

Member Avatar for happygeek
0
185
Member Avatar for Judi Almed

Hi! I'm a beginner in Java can you share an answer for this assignment since I already been doing this for a week and I don't know how to answer. Create a Student class with those attributes: 1. firstName 2. lastName 3. grades (it contains grades between 0 and 10) …

Member Avatar for Judi Almed
0
211
Member Avatar for Hamis_3

Hi guys I need a help here, I’m trying to use Ajax to update the column of the table in the database with combobox without a submit button, by the way it update the column finely but unfortunately the column data is erased to **0** when a webpage is refreshed. …

Member Avatar for grant.baker
0
304
Member Avatar for nitin1

Hi, I have one function (in a library I can't change the code) which takes a key and returns a Object. This code is written in java. I am calling this function from cpp code. I am accepting the result as jobject. 1. Added key as "key1" & value as …

Member Avatar for JamesCherrill
0
2K
Member Avatar for faiza_4

HI all, I'm stuck in a code where i cannot read the database value in jsp textarea. Value stored in database like "address 1 address 2" and cannot be loaded on jsp page. Plz help.

Member Avatar for faiza_4
0
205
Member Avatar for Shellie_1

I really want to learn Java but I have no idea how to study it. I just keep reading the books yet have no idea how to program. :(

Member Avatar for Zycog
0
501
Member Avatar for ganeshhsk

The problem that im facing is, the below code is working correctly and retrieve the pdf format files correctly and displaying it in the iframe. but it is only working in eclipse internal browser but not in firefox or internet explorer. what will be the reason for this.... Source code: …

Member Avatar for Vivek_18
0
2K
Member Avatar for beanboy

hi, The jsp page has multiple check boxes (retrieved from DB),.... [CODE] <input type="checkbox" name="selecttype" value="<%=rs2.getString("description") %>"/> [/CODE] I've read these values in to servlet page using [CODE] String[] selecttype=request.getParameterValues("selecttype"); [/CODE] the 'selecttype' now contains only selected checkbox values. but i want to retrieve values of unchecked checkboxes. Pls help …

Member Avatar for vk
0
4K
Member Avatar for Tre Sivileo

Hey new to JDBC SQL DERBY and Java so I don't know why but my Jtable only shows the columns. Here are my codes for my LeaderboardDAO class. public class LeaderboardDAO extends Dao { private static final Logger LOG = LogManager.getLogger(PlayerDAO.class); public static final String TABLE_NAME = "leaderboard"; private static …

Member Avatar for Tre Sivileo
0
370
Member Avatar for newbee_jv

Hello everyone, I am trying to show an animated spinwheel image when I am making a servlet call, and hiding it, once the call comes back in my JS method. The following code displays the image alright, but fails to hide it, once the call comes back. JSP <div id="spin" …

Member Avatar for hericles
0
218
Member Avatar for Pardeep_1

Hi, How to programming in java through make the web video chatting application? Please tell me about this knowledge and in which are require the skills.

Member Avatar for JamesCherrill
0
42
Member Avatar for nadiam

Hello. Im doing some practice questions and Im kinda stuck. So basically I have three Jbuttons: "Menu", "Left" and "Right", a JTextField : "tDisplay" and an array : status. code (dummy code for example): String[] status = {"hello","goodbye","goodnight","goodmorning"}; what needs to happen is when Menu is clicked Hello is displayed …

Member Avatar for JamesCherrill
0
423
Member Avatar for sup_1

Hi My code is giving me a red line under '.createStatement()' and I really don't know why and how to fix it. @Override protected String doInBackground(String... params) { if(userid.trim().equals("")|| password.trim().equals("")) z = "Please enter User Id and Password"; else { try { connection con = (connection) connectionClass.CONN(); if (con == …

Member Avatar for JamesCherrill
0
1K
Member Avatar for nitin1

Hi, I have been working on JNI. I have one doubt. When I call any native method from android activity (Java code), then we get jclass object from jobject instance we get in the native method as a parameter. Why do we need it actually? Here is a snippet from …

0
182

The End.