JSP :: Develop And Deploy A Java Project On Web
Mar 6, 2015
I want to develop a website using jsp and servlets.but i have a few questions:
1: I want to use oracle for database, can i use express edition?
2: After writing the code how do i transfer the code to the client
3: How to deploy the website on internet
I am doing for first time
View Replies
ADVERTISEMENT
May 26, 2014
I bought a certificate to sign my jars, if a deploy my applet in a html file with out framework, just html and js, the works great, I can call from javascript all public methods from the applet. The real problem is when I try to deploy the same signed jar on a adf project in Jdeveloper. Does not work at all and java execute some warnings and later applet is block, the message say something like "exist some jars signed and not signed" But I am sure that all jars are signed...
I got this:
applet console:
image
All jars are signed, dependencies too.
View Replies
View Related
Aug 1, 2014
I have data base connection which i have configured via a listener class i configured properly in DD but still i am not able to deploy the project and server log show that startL.java listener class was not found why is this so as config is proper with the name
here is my server log
[2014-08-01T20:53:59.112+0530] [glassfish 4.0] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=34 _ThreadName=admin-listener(3)] [timeMillis: 1406906639112] [levelValue: 1000] [[
Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: contpack.startL.java]]
**if i remove the Listener tag then app runs fine**
View Replies
View Related
Aug 25, 2014
I am trying to deploy an android application that connects to a java server. I am doing an apointments system, so the client asks for an apointments with a specific office/doctor. What i did, was to create a java server, using object for the offices, and via sockets it communicates with the android client.
The problem is that when i tried to use my (very demo still) app on my phone and sent it to some friends for testing, i coulnt find a way to have my server on the internet.
So I changed to (or trying to) servlet. But, how to do a client server application with servlets. All tutorials i have seen are more on website clients, but thats not what i need.
View Replies
View Related
Feb 21, 2015
How to deploy Java Swing application as windows software. I have tried the following to do this :
I have created jar file for my project after that created exe file using Launch4j and Advanced installer, exe file produced by both software are working fine but those are placing the jar file inside that exe file, My problem is any one who has that exe file can extract and view the source code by decompiling java class file. Is there any way to deploy java application without decompiling the code.
View Replies
View Related
May 30, 2014
I developed an application that is accessing some property files. The condition was that the user should be able to modify the content or parameters of those property file.How can I distribute the application using Java web start that also includes those property file in the client side?
View Replies
View Related
Apr 12, 2014
i downloaded a sample database code of an online payroll system. How can i assemble it to know how it works.
the files include php and mysql files. it is to build an online payroll system
View Replies
View Related
Jun 26, 2014
I tried many times to return a string from java project to an android project But it keeps sending incorrect values as in 2 as it should be 1 here is an example.
Java Project:
boolean somethingboolean = false;
if(something.equals("1")){
somethingboolean = true;
}
public static String getString(){
if(somethingboolean == true){
[Code]...
Android project:
System.out.println(JavaProject.getString())
and in the android project it prints "FALSE"
So what should i do?
View Replies
View Related
May 27, 2014
As a brand new with Java I've created a small "Hello world" program using eclipse.
I would like to create an exe file from this application. Therefore, I need the jar file.
I can't find such a file with that extension in the folder where I saved the java project.
How can I manage this file?
I know it is a very basic issue, but as I mentioned it is the first "Hello world" test...
View Replies
View Related
Nov 20, 2014
I use a program called eclipse. I want to know how to build a house with the program. We use a pen in java. It is a drawing tool. I dont know how to do it.
View Replies
View Related
Mar 4, 2015
I should do, for my academic project, draw from a java project some information, for example, the class name and the relative method, and for each class even the package name where the class is. The information found must be saved an XML files...
View Replies
View Related
Dec 14, 2014
How can we create deployment descriptor for the java projects.
View Replies
View Related
Nov 19, 2014
I have a gameengine stil partially in the works for pc made in java, I am attempting a port over to java but certain classes and other fuctions are not available for android that there is in java. this means that my render engine, gameengine and a couple of other clases therefore don't work.
My question is, is there anyway of using the gameengine classes that work into the project so that all i have to do is declare within the engine what i want to export for wheather this is android or java. or importing packages from the game engine project and directly linking with the ability of re-writing the odd few classes that do not work.
View Replies
View Related
Jul 20, 2014
i am running into a problem with my program. It seems my BasicCalc class is running fine but having some difficulties with displaying it with a system.out. println instead of the system.out.printf. When i do try and change it i get this result:
C:myJava>javac BasicCalc.java
C:myJava>javac Calculate.java
Calculate.java:42: error: no suitable method found for println(String,double,char,double,double)
System.out.println("%f %s %f = %f", value1, op, value2, answer);
[code]....
View Replies
View Related
Sep 29, 2014
I want To develop a webSite like OLX,QUIKR..Technology using : Java..But i dnt have idea on developing front END..
View Replies
View Related
May 10, 2014
I am suppose to submit my project as a WAR file but not sure how to do it.
View Replies
View Related
Jun 26, 2014
I tried many times to return a string from java project to an android project But it keeps sending incorrect values as in as it should be 1 here is an example.
Java Project:
boolean somethingboolean = false;
if(something == "1"){
somethingboolean = true;
}
public static String getString(){
if(somethingboolean == true){
return "TRUE";
}else{
return "FALSE";
}
}
Android project:
System.out.println(JavaProject.getString())
And in the android project it prints "FALSE"
So what should i do?
View Replies
View Related
Apr 4, 2014
1. Modify the following class so that the two instance variables are private, there is a constructor that accepts both the player's name and sport and there are get and a set methods for each instance variable:
public class Player {
String name;
String sport;
}
2. You can pass an instance of this class to the JLabel constructor if you want to display text in the label.Select one:
a. myLabel
b. myText
c. String
d. JTextField
e. JLabelText
how to start making this work?cause i am not familiar with the terms here and want to complete this program and I am new to java programming?
View Replies
View Related
May 2, 2014
I want start a project on a medical diagnoses system. i want to get a clue on how i will go about the development...
View Replies
View Related
May 20, 2014
I am working on a Java Streaming Networking ( Client Serve ) project , among remote client can:
1 ) chat,
2 ) Share files,
3 ) Share Screen live streaming,
4 ) Access the remote system.
All are working well faster & live on networking. But if i host on the Hosting server the all process are working but in deadly slow streaming is not live..,
View Replies
View Related
Nov 6, 2014
how to develop carousel for images using java swing
View Replies
View Related
Apr 1, 2014
I am trying to develop a live score webpage using ONLY JSP.
View Replies
View Related
Nov 21, 2014
import java.util.*;
public class TestArithmetic {
public static void main(String [] args) {
Scanner console = new Scanner (System.in);
System.out.println("Enter First Number");
int x1 = console.nextInt();
System.out.println("Enter Second Number");
[code]...
View Replies
View Related
Nov 6, 2014
Here is my instangable class
The application should generate a random number between 1 and 10 and then ask the user to enter one single number between 1 and 10 to guess what the secret number is
public class Guess{
//Variables
private int Num;
private int rNo;
private String message;
//Constructors
public Guess(){
rNo = 0;
message = "";
[Code] .....
Two errors are
Guess.java:43: error: illegal start of expression
public String getMessage(){
uess.java:43: error: ';' expected
public String getMessage(){
View Replies
View Related
Oct 3, 2014
Below mentioned table which show data on WEB page, thereof i need to develop page for my practice, steps to develop this like as following.
1.Tool Required to develop
2.Connectivity JDBC
create table student
(ROLLNO NUMBER,
NAME VARCHAR2(20),
DOB DATE,
REG_DATE DATE,
ADDRESS VARCHAR2(100),
PIC LONG
)
INSERT INTO STUDENT VALUES(1,'ALI',TO_DATE('01-JAN-1982'),SYSDATE,'','');
INSERT INTO STUDENT VALUES(2,'JHON',TO_DATE('01-JAN-1985'),SYSDATE,'','');
INSERT INTO STUDENT VALUES(3,'CHARLI',TO_DATE('01-JAN-1990'),SYSDATE,'','');
View Replies
View Related
Feb 5, 2014
I've been working quite a bit with a login system the past couple of months and I now have a version that I would like to try "for real" by extracting it as a runnable .jar or .exe file. I've looked at a couple of guides that told me how to do this properly, but even after following every step precisely it didn't work.
One of the guides I tried: 3 Ways to Create an Executable File from Eclipse - wikiHow
Double clicking the file or selecting it and pressing enter does nothing, the computer loads for a second and then nothing happens. I don't receive any visible errors when extracting the program, either.
However, when running the file from the command prompt I do receive an odd error:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
C:UsersUserName>java -jar Login.jar
Exception in thread "main" java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(Unknown Source)
at LoginSystem.Data.updateData(Data.java:347)
at LoginSystem.Data.<init>(Data.java:309)
at LoginSystem.MainFrame.<init>(MainFrame.java:42)
at LoginSystem.MainFrame.main(MainFrame.java:457)
C:UsersUserName>
I must say I don't quite understand the error, it seems to be unable to load an image which is odd considering the program works fine without any errors at all in Eclipse.
View Replies
View Related