?
Solved

Is this true about JSP

Posted on 2006-04-03
8
Medium Priority
?
245 Views
Last Modified: 2010-04-01
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
Comment
Question by:pigmentarts
  • 5
  • 3
8 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 2000 total points
ID: 16360245
>> 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
 
LVL 12

Author Comment

by:pigmentarts
ID: 16360560
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
 
LVL 35

Expert Comment

by:TimYates
ID: 16360598
Wikipedia might have something:

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

:-)

Good luck!

Tim
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 12

Author Comment

by:pigmentarts
ID: 16360641
so am i safe to say jsp is a tag based langauge then not scripting?
0
 
LVL 35

Expert Comment

by:TimYates
ID: 16360712
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
 
LVL 12

Author Comment

by:pigmentarts
ID: 16360788
o, ok that changes what i was told,  all lanaguges are tag or script based? thanks for all your help.
0
 
LVL 35

Expert Comment

by:TimYates
ID: 16360916
>> 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
 
LVL 35

Expert Comment

by:TimYates
ID: 16360917
Good luck with the report!! :-D

Tim
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Strategic internal linking is often considered an SEO power technique, especially for content marketing. Do you need to hire an SEO agency to optimize you internal linking? No, this article will help you understand the basics of internal linking and…
Social messanging services like WhatsApp and Facebook can help businesses in ways that many owners don't even imagine, giving new opportunities to connect with customers. Discover some of the most innovative things they can do for your company.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month14 days, 3 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question