Talk:JavaServer Pages

From Wikipedia, the free encyclopedia

Contents

[edit] This article way too detailed, or not detailed enough

If the Idea of this article is to give a good general impression on what JSP does for non-java people it is way too detailed. If the idea of this article is to give a detailed description on JSP technology, or maybe a starting guide for programmers, it's not detailed enough.

This article looks like a poorly written programer's guide, not an encyclopedia article! If anyone else agrees, I might be willing to chip in, and help do a complete rewrite.

[edit] Make sense?

"it is helpful to understand how the JSP compiler transforms the page into a Java servlet. For an example, see the following input, and its resulting generated Java servlet." in the introduction isn't followed by any "following" input. Am I being daft? UkPaolo/talk 15:10, 27 January 2006 (UTC)

The examples are on separate pages. The word input links to JavaServer page example input and servlet links to JavaServer page example output. I think the text should be changed to make it more obvious what those links point to. – Doug B...........ell talkcontrib 16:16, 27 January 2006 (UTC)
Ah, I see, thank you! How strange, I've never seen separately linked examples like that in an article before. Its certainly confusing, and I would agree the text should be changed to make things more obvious... UkPaolo/talk 16:29, 27 January 2006 (UTC)
I see the following discussion was previously listed here, and for some reason the discussion page blanked. I for one would have found it useful, and would support moving the examples to this article. Separate articles is not really inkeeping with the style of other articles... UkPaolo/talk 16:36, 27 January 2006 (UTC)
The example input and output pages referenced by the this page are marked for cleanup. Should they be moved into a new "compiling" section of this page? --lenehey
Yeah, they should be moved to this article. --Jonik 17:09, 13 August 2005 (UTC)
I'd support a merge with this article. UkPaolo/talk 16:36, 27 January 2006 (UTC)

I have merged JavaServer_page_example_input and JavaServer_page_example_output into this article, see the new Example section. RossPatterson 16:59, 8 June 2006 (UTC)

The compiled code in "Resulting servlet" for the example included a call to a non-existent method "toStringOrBlank(...)". Since toStringOrBlank(...) is not a part of any standard Java/Servlet/JSP library, this method call would not be auto-generated by a JSP compiler. To make the example correct, I have added an implementation of toStringOrBlank(...) as an example of declaring a method within a <%! ... %> declaration block in the "Scripting elements" section. I've also added the call to toStringOrBlank(...) in the "Input JSP" section, and removed the comment about what toStringOrBlank(...) is supposed to do from the "Resulting servlet" section. Robert McGuire 20:17, 6 September 2007 (UTC)

[edit] Merger with "Model 2"

I don't think that a merger is appropriate. "Model 2" describes a design philosophy for WebApps. It is not necessarily linked to a certain view technology (JSP). You can (in theory) create a model 2 application while using another technology like Velocity as well (there are many very good MVC / Model 2 frameworks, so I wouldn't call this approach pratical). AnimalFriend 09:08, 3 September 2006 (UTC)

I .

[edit] First paragraph

The first paragraph is a poor introduction (not poorly written - may be in the wrong place) and references "static content".

A good intro should discuss the main attractions at a higher level. One of the main attraction of JSPs is the ability to dynamically generate content. Another attraction is the ability to mix standard java code and HTML including java scripts. Another attraction is JSPs are fast because the JSP container compiles JSPs into servlets keeps the resulting servlet in a fully compiled state.

Hope this helps HH

[edit] Comparison?

Perhaps a comparison of ASP vs. JSP vs. PHP? —The preceding unsigned comment was added by 70.101.158.1 (talk) 04:07, 19 December 2006 (UTC).

[edit] Criticism

Didn't this page used to have a criticisms section, whereas it cited problems with Java twisted to a web development platform

[edit] Criticism and Comparison Sections Needed

I agree that this page could use a comparison section as well as a criticism section. As a Java web developer I am all too aware of the failings of developing directly using Java/JSP/JSTL/Servlets without additional technologies to ease the pain. —Preceding unsigned comment added by 64.201.43.121 (talk) 14:24, 3 June 2008 (UTC)

[edit] jsp:plugin section

The section about jsp:plugin seems to violate NPOV. There is alot of "hopefully" and 'X is poorly done.' Someone should revise this.

I did some work on that, but it could maybe use another look. AdjectiveAnimal 15:25, 5 July 2007 (UTC)

[edit] Good introduction to technology

The article looks like a good introduction to JSP technology for people already familiar with Java Servlet technology. I like code examples and short programmer's reference in Wikipedia. Both of nontechnical users and developers should be satisfied. —Preceding unsigned comment added by Vi2 (talk • contribs) 17:06, 27 April 2008 (UTC)