• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

Is this true about JSP

for the same reason i posted in the CF section (but about CF), is what i am say about JSP true?
http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_21799228.html

PS this is a different question!

:)

3.4 JavaServer Pages (JSP)

JSP is a scripting language, but unlike ASP mentioned above is better equipped to work with large sites and large enterprise databases.

An ASP page has the extension .jsp and can use a system called JavaBeans so it is like a library based system, in comparison using JavaBeans in JSP is much like the tag libraries in CFML. Both JSP and CFML we derived from java. Using JavaBeans in ASP allows the developer to easily change the logic of the web application without having to edit script on every .jsp page. This is a very impressive tool for developers and helps free up time by not doing repetitive tasks.  
0
pigmentarts
Asked:
pigmentarts
  • 5
  • 3
1 Solution
 
TimYatesCommented:
>> JSP is a scripting language, but unlike ASP mentioned above is better equipped to work with large sites and large enterprise databases.

No.

Java Server Pages (JSP) are normal HTML with Java code pieces embedded in them. A JSP compiler is used to generate a Servlet from the JSP page. Also see PSP, PHP and ASP.

>> An ASP page has the extension .jsp

No, that's a JSP page

>>  and can use a system called JavaBeans so it is like a library based system

Errr...  It can use other APIs the same as Java, because it is java embedded in HTML

>> in comparison using JavaBeans in JSP is much like the tag libraries in CFML

No, using JSP tag libraries is very like using the tag libraries in ColdFusion ;-)

>> Using JavaBeans in ASP allows the developer to easily change the logic of the web application without having to edit script on every .jsp page.

(JSP again), and in practce, no.  It really depends how you use JSPs, and how well you use the design patterns available to you...

And again, you're really talking about using the tag libraries like JSTL, etc...

Tim

0
 
pigmentartsAuthor Commented:
cool Tim, JSP, ASP why do i keep getting them confused lol

thanks for the reply, things i should have spotted really, but after writting 150 pages of stuff (thank goodness not on this) am getting tried!

anything else that defines "JSP"
0
 
TimYatesCommented:
Wikipedia might have something:

http://en.wikipedia.org/wiki/JavaServer_Pages

:-)

Good luck!

Tim
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
pigmentartsAuthor Commented:
so am i safe to say jsp is a tag based langauge then not scripting?
0
 
TimYatesCommented:
no

JSP is a technology for embedding Java code into HTML code

This combined code is then converted into a servlet dynamically by the servlet container

http://java.sun.com/products/jsp/faq.html

JSP tags are an extension of this, which "...define declarative, modular functionality that can be reused by any JSP page. Tag libraries reduce the necessity to embed large amounts of Java code in JSP pages by moving the functionality of the tags into tag implementation classes."

It is not scripting though...
0
 
pigmentartsAuthor Commented:
o, ok that changes what i was told,  all lanaguges are tag or script based? thanks for all your help.
0
 
TimYatesCommented:
>> all lanaguges are tag or script based?

There are both types of languages out there, you can't say they are all one or the other
0
 
TimYatesCommented:
Good luck with the report!! :-D

Tim
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now