Skip to content

Commit 2b3d1be

Browse files
committed
Portlet MVC documentation consistently refers to Portlet 2.0 spec (JSR-286)
Issue: SPR-13513
1 parent 51a0237 commit 2b3d1be

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

src/reference/docbook/portlet.xml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,13 @@
1313
<title>Introduction</title>
1414

1515
<sidebar>
16-
<title>JSR-168 The Java Portlet Specification</title>
17-
<para>For more general information about portlet development, please
18-
review a whitepaper from Sun entitled
19-
<link xl:href="http://developers.sun.com/prodtech/portalserver/reference/techart/jsr168/">"Introduction to JSR 168"</link>,
20-
and of course the
21-
<link xl:href="http://jcp.org/aboutJava/communityprocess/final/jsr168/">JSR-168 Specification</link> itself.</para>
16+
<title>JSR-286 The Java Portlet Specification</title>
17+
<para>For more general information about portlet development, please review the
18+
<link xl:href="https://jcp.org/en/jsr/detail?id=286">JSR-286 Specification</link>.</para>
2219
</sidebar>
2320

2421
<para>In addition to supporting conventional (servlet-based) Web development,
25-
Spring also supports JSR-168 Portlet development. As much as possible, the
22+
Spring also supports JSR-286 Portlet development. As much as possible, the
2623
Portlet MVC framework is a mirror image of the Web MVC framework, and also
2724
uses the same underlying view abstractions and integration technology. So, be
2825
sure to review the chapters entitled <xref linkend="mvc"/> and
@@ -31,7 +28,7 @@
3128
<note>
3229
<para>Bear in mind that while the concepts of Spring MVC are the
3330
same in Spring Portlet MVC, there are some notable differences
34-
created by the unique workflow of JSR-168 portlets.</para>
31+
created by the unique workflow of JSR-286 portlets.</para>
3532
</note>
3633

3734
<para>The main way in which portlet workflow differs from servlet
@@ -50,7 +47,7 @@
5047
<xi:include href="swf-sidebar.xml"/>
5148

5249
<para>The dual phases of portlet requests are one of the real strengths
53-
of the JSR-168 specification. For example, dynamic search results can be
50+
of the JSR-286 specification. For example, dynamic search results can be
5451
updated routinely on the display without the user explicitly rerunning
5552
the search. Most other portlet MVC frameworks attempt to completely
5653
hide the two phases from the developer and make it look as much like
@@ -670,7 +667,7 @@ public class SampleController extends AbstractController {
670667

671668
<para>This can be very valuable since you can then use interceptors
672669
to pre-process and post-process requests going to these portlets.
673-
Since JSR-168 does not support any kind of filter mechanism, this is
670+
Since JSR-286 does not support any kind of filter mechanism, this is
674671
quite handy. For example, this can be used to wrap the Hibernate
675672
<classname>OpenSessionInViewInterceptor</classname> around a MyFaces
676673
JSF Portlet.</para>
@@ -1017,7 +1014,7 @@ public class SampleController extends AbstractController {
10171014
<classname>CommonsMultipartResolver</classname>, you need to use
10181015
<literal>commons-fileupload.jar</literal>. Be sure to use at least
10191016
version 1.1 of Commons FileUpload as previous versions do not
1020-
support JSR-168 Portlet applications.</para>
1017+
support JSR-286 Portlet applications.</para>
10211018

10221019
<para>Now that you have seen how to set Portlet MVC up to handle
10231020
multipart requests, let's talk about how to actually use it. When
@@ -1776,7 +1773,7 @@ public class MyFormController {
17761773
<title>Portlet application deployment</title>
17771774

17781775
<para>The process of deploying a Spring Portlet MVC application is no
1779-
different than deploying any JSR-168 Portlet application. However, this
1776+
different than deploying any JSR-286 Portlet application. However, this
17801777
area is confusing enough in general that it is worth talking about here
17811778
briefly.</para>
17821779

@@ -1787,7 +1784,7 @@ public class MyFormController {
17871784
well-known servlet that provides access to the portlet services defined
17881785
in your <literal>portlet.xml</literal> file.</para>
17891786

1790-
<para>The JSR-168 specification does not specify exactly how this should
1787+
<para>The JSR-286 specification does not specify exactly how this should
17911788
happen, so each portlet container has its own mechanism for this, which
17921789
usually involves some kind of “deployment process” that makes changes to
17931790
the portlet webapp itself and then registers the portlets within the

0 commit comments

Comments
 (0)