Questions tagged [java-server]

DO NOT USE THIS TAG! "Java Server" is an incomplete term and makes therefore no sense as a tag and should be banned. Click "info" for alternate tags you're probably looking for.

If you mean Java Server Faces, use .

If you mean Java Server Pages, use .

If you mean a certain Java (EE) server, use the tag resembling the server name such as , , , , etc.

If you mean Java EE in general, use .

If you mean to write a homegrown "server" in plain Java SE, use , perhaps along with the desired communication protocol, such as .

192 questions
0
votes
2 answers

JSP getting null values from Java servlet

I am trying to pass values from the servlet to the JSP file. I already confirmed that the data is going from the JSP to the Servlet, but not the other way around. Here is the Java snippet //Here is where I get a List of the column…
Sammy I.
  • 2,523
  • 4
  • 29
  • 49
0
votes
1 answer

Webview doesn't load content/file from java http server

I am trying to use javaFx for my application. I have a java server tested and running code, actually its a library that initiates server. I have problem loading file from javafx's webview. Suppose the server is running on port 2345 then the…
Kushal
  • 98
  • 12
0
votes
2 answers

File Transfer But Cannot load in its respective Launcher(Adobe Pdf) - Java Server Client

I Have a Project working for my Java Class, I am Using Socket Yes I look at a Tutorial online for help, the aim is to read a file on a server of pdf type then allow the CLient to request this File from the Sever. My Issue It request the File but…
Redcode
  • 73
  • 1
  • 2
  • 9
0
votes
1 answer

How to send push notification by serverside using jUnit testing

I am using this code for sending push notification in Android devices. http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/ Its work. But they are using php in server side. and My Server side…
Rahul Rawat
  • 999
  • 2
  • 17
  • 40
0
votes
1 answer

Not getting more messages after receiving first message from Java server in iOS client using NSInputStream

I've got a Java server (and it's able to correctly read a request from my iOS client -- it even generates a response and appears to send it correctly, though I got First message response from server every time but not getting other messages after…
0
votes
1 answer

How to deploy a standalone java server application to a J2EE container

Greetings to the experts I have a java server application (the kind of application, with a main, that you run as a service and that provides services via various ports using standard and/or proprietary protocols) that works great standalone. How can…
Quiche31
  • 119
  • 10
0
votes
1 answer

How to start Server Application on Windows

I created a simple Client-Server Application, which is working fine. The server is listening to a port and then starts a thread for the job. At the moment the only way (outside the IDE) is, to kill the java.exe to stop the server. Both example…
Andreas Freitag
  • 357
  • 1
  • 7
  • 20
0
votes
2 answers

Send objects and objects arrays through socket

I am creating a java server and a java client. I need to send from server to client and viceversa an object and then an array of objects. How can I achieve this? Do I need to serialize the objects classes? This is the server: import…
blurstream
  • 429
  • 3
  • 13
0
votes
2 answers

How do I refrence new Instances of Thread classes?

I would like to start off by saying that if you know a better way to do this, please tell me. I would rather know a better way of doing this than doing it incorrectly. I am writing a server program that has to interact with multiple clients. I am…
Rane
  • 191
  • 2
  • 13
0
votes
1 answer

Java server PHP Client

I want to implement a java server and a php client. Every time a click is done on the website (php client) a action should be executed on the server. Actually my server looks like: public static void main(String args[]) { …
Kevin
  • 23
  • 7
0
votes
3 answers

using # in URL as value key

My java server works as follows: http://locahost:5555/?search="java" The above link would work fine. However, if I ever want to use "#" as part of search string, it all goes wrong. For example: http://locahost:5555/?search="c#" For some reason…
nafas
  • 5,283
  • 3
  • 29
  • 57
0
votes
0 answers

How to limit file reads to subdirectories from java app using security manager

I have simple web server and i'm running it in /myHome/serverHome directory. All code(classes) running on my JVM can read files in /myHome/serverHome and its sub directories. But i want to limit file reads of myHome/serverHome/conf directory to only…
sanjeewa.190
  • 360
  • 2
  • 8
0
votes
1 answer

Jelastic mail access using IMAP host

I have deployed My Java server to Jelactic PaaS platform. The project is working fine on the localhost but there it gives com.sun.mail.util.MailConnectException .... Any Solutions Please.... Thanks in Advance.. The stack trace of exception is:…
Wamiq
  • 1,114
  • 3
  • 12
  • 23
0
votes
2 answers

Cannot launch RMI Fibonacci server

I am learning Java RMI and I have created a very simple server that calculates Fibonacci numbers. The server (FibonacciServer) creates an object responsible for calculating the sequence (Fibonacci) and that object implements an interface…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
0
votes
1 answer

using a java client / iOS client with AFHHTPRequestoperation

trying to implement a noddy web service in a java server with an iOS client java service is listening on a local port then kicking off a response thread which is returning public void run() { try { InputStream input =…
philthomas26
  • 315
  • 1
  • 3
  • 8