views:

115

answers:

4

Hello,

I want something similar with php/jsp in java, but not on the server side, but on the client side.

Maybe I can make a html file with i/o, or with some net.* classes. But what can I use for the button on the html page ?

Thank you

A: 

install resin on your PC http://caucho.com/resin-4.0/admin/starting-resin.xtp (and JDK)

can run jsp,html on http://localhost

Zenofo
A: 

The question is a bit vague... maybe something like Rhino or MozSwing will help??

npinti
+4  A: 

It sounds like you want something like the Google Web Toolkit. You write your UI and logic in Java and it gets compiled into Javascript that then runs client-side in the browser.

Joey
As a conclusion, client programming in html should be made with javascript. GWT and Wicket makes this more easier by programming in java.
HJ-INCPP
+1  A: 

Perhaps you mean you want to run an application on the local machine, but use an HTTP-based interface. In that case, you need the application to act as a web server on the local machine, then launch a web browser for "http://localhost:8080/" (or whatever port the application is listening on).

To implement this, you need an embedded web server such as Jetty.

Todd Owen
This works. I've implemented this.
Marcus Adams