| |
thread by: rockmahee |
last post May 26 '15 by: sudheer2845
private void getResponse(LoginBean object) {
String auth = object.getUsername() + ":" + object.getPassword();
byte encodedAuth = Base64.encodeBase64(auth.getBytes(Charset
.forName("US-ASCII")));
String authHeader = "Basic " + new String(encodedAuth);
RestTemplate restTemplate = new RestTemplate();
...
|
thread by: Corwin Moyne |
last post Jun 8 '14 by: mHealth
4 years ago I designed an Access database for a company I worked for. It has a back end on the company server and multiple (about 6) front ends. It is in use everyday and works well but is not without problems.
I have just completed my third year of a Computer Science degree where I learned a lot of new skills. I have been given the opportunity...
|
thread by: spopivich |
last post May 20 '14 by: chaarmann
This is my first class to java programming (java coding is all new to me) and I have my part 5 assignment due today and I am absolutely clueless to why I am getting this error but I know it has to do something with my image I just do not know how to fix my problem. I was able to compile successfully but it came back with an error message when I go...
|
thread by: bakht ali |
last post Aug 3 '20 by: dev7060
how can i perform the +,-,*./ ?what will be the code of performing these task?
|
thread by: chintapallysand |
last post May 14 '14 by: chaarmann
<%@ page import="java.sql.*" %>
<% Class.forName("com.mysql.jdbc.Driver"); %>
<HTML>
<HEAD>
<TITLE>Fetching Data From a Database</TITLE>
</HEAD>
<BODY>
<H1>Fetching Data From a Database</H1>
<%
|
thread by: devangi |
last post May 16 '14 by: chaarmann
In java program when we write to print something we use one statement I.e. system.out .println. so why we use dot in that
|
thread by: vivekkitchu |
last post May 13 '14 by: chaarmann
is it possible to do a simple project "hostel management system" using biometric sensors just by using java both for the front end application and for the behind working?
|
| |
thread by: Norgy |
last post May 12 '14 by: chaarmann
if we have this string : number of doses(1000mg/m2)
and i want to separate each word in a string
when i do this
String doses = "number of doses(1000mg/m2)";
String split = doses.split(" ");
for(int i=0 ; i<split.length ; i++){
System.out.println(split);
}
the output is :
number
|
thread by: game2d |
last post May 26 '14 by: game2d
I am using:
--
Libgdx and Box2d.
-------------
what I am trying to do:
--
I want enemy to move right and left. if enemy hits the wall than move the over way.
|
thread by: Jo52 |
last post Jun 10 '14 by: rules engine
Below are 4 classes. I have no clue where i'm going wrong to get the correct output, it runs perfectly fine just gives the wrong output. Anything will help. Thank you!
This is my output:
Abhay matches with Alexandra with the score 96
Adam matches with Alan with the score 99
Alan has no matches
Alexander matches with Alfred with the score 98...
|
thread by: rafah |
last post May 8 '14 by: Nepomuk
I just want to know what is the work of(java.io.Serializable),how can i use it ?
|
thread by: pranayf |
last post May 7 '14 by: Sowrabh
plz resolve the issue its not able to inset to database
hereis my code classname addc
package Log;
import javax.swing.*;
|
thread by: birhane |
last post May 7 '14 by: chaarmann
Creating Lexical analyzer using java language.
Objective:
my lexical analyzer needs to be able to recognize the
following keywords and symbols:
and class do else false
+ - * / \{ \} ( ) . , ; ==
|
thread by: Jitendraimrb |
last post May 7 '14 by: chaarmann
I have given a text box where when i press number key it should validate for number should accept only for Char digit,
so what will validation code ?
|
thread by: pranayf |
last post May 6 '14 by: chaarmann
here is my code for login page db connectivity issue.... please help me to resolve the probem.
package Log;
import java.awt.*;
|
| |
thread by: don bosco |
last post May 1 '14 by: don bosco
pattern--
*-----
**----
***---
****--
*****-
i tried here is what i have done please help me make it correct
class pattern
|
thread by: mamacach |
last post Apr 29 '14 by: chaarmann
I am trying to visualize data from an Open Data web page. The data is parsed from an XML-file with geo coordinates (latitude and longitude).
I am trying to make this XML-reader universal through OOP, so that I can use it for other purposes for another time. At the moment the XML-reader works, but I am having a bit of a hard time appropriating...
|
thread by: hanslo91 |
last post Apr 29 '14 by: hanslo91
public class Main
{
public static void main(String args)
{
int sum = 0;
while (sum <=1000)
{
System.out.println(sum);
sum++;
}
|
thread by: gilsaa |
last post Apr 29 '14 by: chaarmann
Hi
I'm trying to make following table in java(netbeans):
DROP TABLE "Userdata";
DROP TABLE "ChargeHistory";
DROP TABLE "Price";
CREATE TABLE “Userdata” (
“UserID” varchar (8) NOT NULL,
"firstName" varchar (20) NOT NULL,
"lastName" varchar (30) NOT NULL,
|
thread by: komathi043 |
last post Apr 29 '14 by: chaarmann
its possible or not.
|
thread by: Alexei12 |
last post Apr 25 '14 by: chaarmann
Hello,
I'm new to this, but I am doing Programming, as one of my papers for uni
And also, I am new to Java and Programming
But after I compile it, it says 'unreachable statement'
String generateStatusReport(Robot karel) {
if(isRobotDead(karel))
|
thread by: rafah |
last post Apr 24 '14 by: rafah
Hi everyone
I just wondering if anyone have information about how to import JIProlog library in java?
Thanks for any help in advance...
|
thread by: Norgy |
last post Apr 20 '14 by: Norgy
how can i compare part of a string with another string regardless the rest of the string?
for example: if i want to find whether a string has an underscore or not
if(x.equals("anything_anything"))
i want this if condition to return true
how can i do that ?
|
| |
thread by: dragy |
last post Jul 4 '14 by: rajujrk
Good day,
I have created the Applet but i don't know how to code the button to work or addActionListener. See below
import java.applet.Applet;
import java.awt.TextField;
import java.awt.Button;
import java.awt.Label;
import java.awt.Graphics;
|
thread by: Arunkumar6966 |
last post Apr 15 '14 by: techboy
Java Assignment:
Input String: "Welcome to India Welcome to Pune Welcome to Mumbai"
Output should be as follows:
------------output 1----------
Welcome = 3
to = 3
India = 1
Pune = 1
Mumbai = 1
------------output 2----------
|