The Mother Board

Motherboards.org forums. Free tech support, motherboard ID, and more.
It is currently Sun Sep 22, 2019 4:16 am




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Java vs JSP
PostPosted: Mon Nov 21, 2011 3:13 am 
Offline
Pilgrim
Pilgrim

Joined: Mon Nov 21, 2011 1:44 am
Posts: 2
I just have a quick question for everyone? Is Java and JSP desame thing? The reason why I'm asking is because I'm searching for the term "Java Hosting" in google and it's returning me websites such us this http://www.webhostingsearch.com/jsp-web-hosting.php . Notice "jsp web hosting"in the url? Now, I just want to make sure I understand this thing correctly. Any help would be extremely appreciated.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Nov 21, 2011 7:43 am 
Offline
Mobo-fu Master
Mobo-fu Master

Joined: Wed Nov 12, 2003 11:57 am
Posts: 20868
Location: 07438
Welcome to Motherboards.org!
There is indeed a difference in Java and JSP! Java is a program from http://www.java.com/en/ that enables certain screen graphics and text to be viewed. Similar to Adobe Flash.. http://www.adobe.com/ Good to have both programs. The other entity, is of course, a hosting Web site.

_________________
F@H.. to solve mankind's maladies.. in our lifetimes!


Top
 Profile  
Reply with quote  
 Post subject: Thanks for the info
PostPosted: Mon Nov 21, 2011 9:36 pm 
Offline
Pilgrim
Pilgrim

Joined: Mon Nov 21, 2011 1:44 am
Posts: 2
Thanks Karlsweldt. I'm now reading this long article in wikipedia about jsp. I'm still a bit confuse but is slowly grasping the idea. Its hard for me to absorb all these technical jargons because the course I took in college has almost nothing to do with computers. I took-up nursing =)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 22, 2011 9:21 am 
Offline
Mobo-fu Master
Mobo-fu Master

Joined: Wed Nov 12, 2003 11:57 am
Posts: 20868
Location: 07438
The jargon associated with computers can be confusing! But here is a link to reference to, so you are "in the know" as to what those acronyms and terms represent.. http://www.jonstorm.com/glossary/
You can always search for those odd terms or entities with Google.

_________________
F@H.. to solve mankind's maladies.. in our lifetimes!


Top
 Profile  
Reply with quote  
 Post subject: Re: Java vs JSP
PostPosted: Sat Mar 07, 2015 10:31 am 
Offline
Green Belt
Green Belt

Joined: Thu Jun 27, 2002 8:11 pm
Posts: 223
Java is a programming language. Java Server Pages is just a way of using Java to display dynamic web pages e.g. in conjunction with HTML. Java Server Pages uses Java code but needs a web server that supports JSP.

Typically you would have a JSP and HTML user interface level and some normal Java underneath that doing some business logic and database queries.


Top
 Profile  
Reply with quote  
 Post subject: Re: Java vs JSP
PostPosted: Tue Mar 05, 2019 3:42 am 
Offline
Pilgrim
Pilgrim

Joined: Tue Mar 05, 2019 3:39 am
Posts: 1
Key Differences :
Servlet is html in java whereas JSP is java in html.
Servlets run faster compared to JSP
JSP can be compiled into Java Servlets
It’s easier to code in JSP than in Java Servlets
JSP is a webpage scripting language that can generate dynamic content while Servlets are Java programs that are already compiled which also creates dynamic web content
In MVC, jsp acts as a view and servlet acts as a controller.
JSP are generally preferred when there is not much processing of data required. But servlets are best for use when there is more processing and manipulation involved.
The advantage of JSP programming over servlets is that we can build custom tags which can directly call Java beans. There is no such facility in servlets.
We can achieve functionality of JSP at client side by running JavaScript at client side. There are no such methods for servlets.
A servlet is like any other Java class. You put HTML into print statements like you use System.out or how JavaScript uses document.write. A JSP technically gets converted to a servlet but it looks more like PHP files where you embed the Java into HTML.

_________________
Java Online Course


Top
 Profile  
Reply with quote  
 Post subject: Re: Java vs JSP
PostPosted: Wed May 22, 2019 1:14 am 
Offline
Pilgrim
Pilgrim

Joined: Wed May 22, 2019 1:10 am
Posts: 1
java - Java is a programming language that produces software for multiple platforms. When a programmer writes a Java application, the compiled code (known as bytecode) runs on most operating systems (OS), including Windows, Linux and Mac OS.

JSP - Java Server Page (JSP) is a technology for controlling the content or appearance of Web pages through the use of servlets, small programs that are specified in the Web page and run on the Web server to modify the Web page before it is sent to the user who requested it.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group