Reputation: 193
I am trying to create a browser based application that can access Java Objects that I have created as part of another project:
For example, say I have created a Book Class that contains the parameter author and isbn:
public class Book
{
public String author;
public int isbn;
}
and I would like to be able to access say Book.author from an html page.
Would greatly appreciate a link to a tutorial on this type of code integration.
Upvotes: 1
Views: 301
Reputation:
If you are an absolute beginner in JSP, take a look at this quick tutorial to get a first impression on the technology: http://www.easywayserver.com/blog/simple-programs-in-jsp/
Upvotes: 0
Reputation: 36250
For a local solution, you might use an JApplet (more modern version of Applet). Search for tutorials for JApplet. JSP is a server side thing.
Upvotes: 0
Reputation: 4434
Here is a good guide to setting up Tomcat and Eclipse to develop and deploy servelets and Java Server Pages (JSP): http://www.coreservlets.com/Apache-Tomcat-Tutorial/eclipse.html
The tutorial includes importing and testing a sample app, which should show you everything you need.
Good luck.
Upvotes: 1