Re: SV: SV: Help setting up hello world

Gary Weaver <[email protected]> Thu, 3 Jun 2010 14:19:45 -0400
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
--Apple-Mail-9-929242060
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

Try a simpler example first (the one I sent and in the wiki page I sent) =
first. After that, if you haven't figured it out, copy all of the source =
(pom.xml, HelloWorldPortlet.java, the 2 jsp files, the 3 xml files) into =
the body of the email saying what is what, and copy and paste how you =
ran maven and exactly what it output, so people can help.

Thanks!
Gary


On Jun 3, 2010, at 2:12 PM, S=F8ren Blidorf wrote:

> The problem is that there is nothing wrong with my web.xml.
> =20
> No matter what I try including web.xml from the second link I get the =
same error.
> =20
> Could it be that it cannot find it?
> =20
> My file structure is:
> =20
> HelloWorldPortlet (top level directory)
>         |- pom.xml (the pom file)
>         |- src (Subdir containing main subdirectory)
>             |- main (Subdir containing java, resources and webapp =
subdirs)
>                 |- java (java source code goes under here)
>                    |       `- com
>                    |           `- mycompany
>                    |               `- portlet
>                    |                   `- HelloWorldPortlet.java =
(portlet source)
>                    |- webapp  (webapp resources (jsp, css, images) go =
under here)
>                        `- jsp
>                               `- HelloWorldPortletView.jsp (for view =
mode)                              =20
>                               `- HelloWorldPortletEdit.jsp (for edit =
mode)                              =20
>                        `- META-INF
>                               `- HelloWorldPortlet.xml (Tomcat context =
deployment descriptor)
>                        `- WEB-INF
>                                `- portlet.xml (JSR-168 deployment =
descriptor)
>                                `- web.xml (This will be modified by =
maven-pluto-plugin)
> =20
> =20
> -----Oprindelig meddelelse-----
> Fra: Gary Weaver [mailto:[email protected]]=20
> Sendt: 3. juni 2010 20:01
> Til: [email protected]
> Emne: Re: SV: Help setting up hello world
> =20
> If you look at that second link I sent:
> https://wiki.jasig.org/display/PLT/Hello+World+Portlet
> =20
> It has an example simple web.xml, portlet.xml, etc. If you are new to =
Java or Java web applications, you probably out to read up on that and =
Maven prior to getting into the portlet side of things, though.
> =20
> As for where to go after Hello World, I lot of people use Spring =
Portlet MVC, in which case you might do something like this in web.xml =
(I tried to strip out the unnecessary parts, but not sure how good of a =
job I did):
> =20
> <?xml version=3D"1.0" encoding=3D"UTF-8"?>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web =
Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
> <web-app>
>     <display-name>yourportletname</display-name>
>     <description>Description of the portlet</description>
>     <context-param>
>         <param-name>contextConfigLocation</param-name>
>         <param-value>
>             /WEB-INF/context/portlet/nameofyourportlet.xml
>         </param-value>
>     </context-param>
>     <context-param>
>         <param-name>webAppRootKey</param-name>
>         =
<param-value>some.parent.package.newofyourportlet</param-value>
>     </context-param>
>     <listener>
>         =
<listener-class>org.springframework.web.util.WebAppRootListener</listener-=
class>
>     </listener>
>     <listener>
>         =
<listener-class>org.springframework.web.context.ContextLoaderListener</lis=
tener-class>
>     </listener>
>     <servlet>
>         <servlet-name>ViewRendererServlet</servlet-name>
>         =
<servlet-class>org.springframework.web.servlet.ViewRendererServlet</servle=
t-class>
>         <load-on-startup>1</load-on-startup>
>     </servlet>
>     <servlet-mapping>
>         <servlet-name>ViewRendererServlet</servlet-name>
>         <url-pattern>/WEB-INF/servlet/view</url-pattern>
>     </servlet-mapping>
> </web-app>
> =20
> And could look at this as an example of spring context, pom.xml, =
portlet.xml, etc.: =
https://source.jasig.org/sandbox/MailPortlet/tags/rel-2.0.0-alpha-7/
> =20
> There are also a Grails Portlet project and a Rails-portlet project, I =
think both aimed at JSR-286 implementations like Liferay (I know the =
latter is at the moment).
> =20
> If you want to see what is it really doing in the assembly portion, =
look at FileAssembler.java. For example I found it here:
> =
http://github.com/apache/pluto/blob/trunk/pluto-util/src/main/java/org/apa=
che/pluto/util/assemble/file/FileAssembler.java
> =20
> Gary
> =20
> =20
> On Jun 3, 2010, at 1:33 PM, S=F8ren Blidorf wrote:
>=20
>=20
> Thanks Gary. I will look at it.
> =20
> When I use mvn package I get a build error - invalid web.xml.
> =20
> Does anybody know what is needed in the web.xml for maven to concider =
it valid?
> =20
> Soren
> =20
> -----Oprindelig meddelelse-----
> Fra: Gary Weaver [mailto:[email protected]]=20
> Sendt: 3. juni 2010 17:22
> Til: [email protected]
> Emne: Re: Help setting up hello world
> =20
> Soren,
> =20
> Assuming you are talking about this hello world example?:
> http://portals.apache.org/pluto/v20/deploying.html
> =20
> I also just found another example, even though it is geared for =
uPortal rather than the example Pluto server. (But uPortal uses Pluto =
and supports JSR-168 compliant portlets, so should work.):
> https://wiki.jasig.org/display/PLT/Hello+World+Portlet
> =20
> Some other example portlets are here:
> https://source.jasig.org/portlets/
> there are also some in here but not all of these work:
> https://source.jasig.org/sandbox/
> =20
> As of 2010/06/03 I'm not sure how any of those if any are JSR-286 =
(most are still JSR-168), but that shouldn't matter afaik just to get =
something simple working.
> =20
> Some miscellaneous tips/notes:
> * Pluto's jars should be in the shared/lib area, which requires some =
change to the default Tomcat 6 config to have it look for. That is the =
most appropriate place for it, afaik.
> * Like any war, if you unzip the war, it should unzip its contents =
into the current directory (i.e. is isn't unzipping into (webapp =
directory name)/... ). That is just a war thing, not specific to =
portlets. This only matters if you tried to make the war by hand.
> * Pluto's assembly API must be used to prep the war. There is a =
maven-pluto-plugin that can help with this (it uses Pluto assembly). =
Pluto assembly looks at the portlet.xml then modifies the web.xml and =
adds portlet*.tld file(s).
> * Even though Tomcat is much more lenient when it decompresses a war, =
Pluto assembly (used by maven-pluto-plugin) uses the standard Java API =
to unjar the war, and if the META-INF/MANIFEST.MF file isn't the first =
entry (and there should be only one manifest), it will choke (and the =
error is not that helpful).
> * Just because maven-pluto-plugin preps the war doesn't mean it is a =
valid portlet (or even valid web.xml and portlet.xml for a portlet) or =
that it will even register in Pluto afaik. You need to make sure that =
web.xml is cleaned up and that you didn't try to add the stuff that =
Pluto assembly puts into it. (For info on how to clean it up if you need =
that, see the unplutofy project).
> * In newer versions of pluto (not sure what version, but sometime =
between 1.0.0-RC2 and 1.1.7), portlets register themselves with pluto (I =
think). So you can someone tell if a portlet is available and at least =
valid enough for Pluto to register it (although it still may not work) =
if the logs showed that it registered. It may not register each time =
though? Registering is different than just Tomcat deploying the war (it =
is the line right after that in the logs usually, I think).
> =20
> Hopefully none of that info is wrong, and please anyone feel free to =
correct or clarify those.
> =20
> Wish I could provide more info, but maybe some of that will help.
> =20
> Gary
> =20
> =20
> On Jun 3, 2010, at 5:58 AM, S=F8ren Blidorf wrote:
> =20
> Hi.
> =20
> I am new to portlets and Pluto.
> =20
> I have installed Pluto on my existing Tomcat and it works fine.
> =20
> However I am having difficulties setting up a helloworld portlet.
> =20
> I have created the portlet.xml and the helloworld.java. Compiled and =
deploy but nothing happens.
> =20
> I have tried different examples on google, but nothing works.
> =20
> Does anybody have a helloworld.war file of a describsion for dummies =
on how to get a helloworld to work.
> =20
> Soren
> =20
> =20
> =20


--Apple-Mail-9-929242060
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=iso-8859-1

<html><head><base href=3D"x-msg://46/"></head><body style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><div>Try a simpler example first (the one I sent =
and in the wiki page I sent) first. After that, if you haven't figured =
it out, copy all of the source (pom.xml, HelloWorldPortlet.java, the 2 =
jsp files, the 3 xml files) into the body of the email saying what is =
what, and copy and paste how you ran maven and exactly what it output, =
so people can =
help.</div><div><br></div><div>Thanks!</div><div>Gary</div><div><br></div>=
<br><div><div>On Jun 3, 2010, at 2:12 PM, S=F8ren Blidorf =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; font-family: Helvetica; font-size: medium; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div lang=3D"DA" link=3D"blue" =
vlink=3D"blue" style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div class=3D"Section1"><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; ">The problem =
is that there is nothing wrong with my web.xml.</span></font></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: =
'Times New Roman'; "><font size=3D"2" color=3D"navy" face=3D"Arial"><span =
lang=3D"EN-GB" style=3D"font-size: 10pt; font-family: Arial; color: =
navy; ">&nbsp;</span></font></p><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; ">No matter what I try including =
web.xml from the second link I get the same error.</span></font></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: =
'Times New Roman'; "><font size=3D"2" color=3D"navy" face=3D"Arial"><span =
lang=3D"EN-GB" style=3D"font-size: 10pt; font-family: Arial; color: =
navy; ">&nbsp;</span></font></p><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; ">Could it be that it cannot find =
it?</span></font></div><p class=3D"MsoNormal" style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
12pt; font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; ">&nbsp;</span></font></p><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; ">My file =
structure is:</span></font></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
">&nbsp;</span></font></p><div style=3D"border-top-style: solid; =
border-right-style: solid; border-bottom-style: solid; =
border-left-style: solid; border-top-color: rgb(46, 103, 148); =
border-right-color: rgb(46, 103, 148); border-bottom-color: rgb(46, 103, =
148); border-left-color: rgb(46, 103, 148); border-top-width: 6pt; =
border-right-width: 6pt; border-bottom-width: 6pt; border-left-width: =
6pt; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; =
padding-left: 0cm; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 10pt; font-family: =
'Courier New'; border-top-style: none; border-right-style: none; =
border-bottom-style: none; border-left-style: none; border-width: =
initial; border-color: initial; padding-top: 0cm; padding-right: 0cm; =
padding-bottom: 0cm; padding-left: 0cm; "><font size=3D"2" face=3D"Courier=
 New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; ">HelloWorldPortlet =
(top level directory)</span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
10pt; font-family: 'Courier New'; border-top-style: none; =
border-right-style: none; border-bottom-style: none; border-left-style: =
none; border-width: initial; border-color: initial; padding-top: 0cm; =
padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><font =
size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |- pom.xml (the pom =
file)</span></font></div><div style=3D"margin-top: 0cm; margin-right: =
0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 10pt; =
font-family: 'Courier New'; border-top-style: none; border-right-style: =
none; border-bottom-style: none; border-left-style: none; border-width: =
initial; border-color: initial; padding-top: 0cm; padding-right: 0cm; =
padding-bottom: 0cm; padding-left: 0cm; "><font size=3D"2" face=3D"Courier=
 New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |- src (Subdir containing =
main subdirectory)</span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
10pt; font-family: 'Courier New'; border-top-style: none; =
border-right-style: none; border-bottom-style: none; border-left-style: =
none; border-width: initial; border-color: initial; padding-top: 0cm; =
padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><font =
size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; |- =
main (Subdir containing java, resources and webapp =
subdirs)</span></font></div><div style=3D"margin-top: 0cm; margin-right: =
0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 10pt; =
font-family: 'Courier New'; border-top-style: none; border-right-style: =
none; border-bottom-style: none; border-left-style: none; border-width: =
initial; border-color: initial; padding-top: 0cm; padding-right: 0cm; =
padding-bottom: 0cm; padding-left: 0cm; "><font size=3D"2" face=3D"Courier=
 New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; |- java (java source code goes under =
here)</span></font></div><div style=3D"margin-top: 0cm; margin-right: =
0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 10pt; =
font-family: 'Courier New'; border-top-style: none; border-right-style: =
none; border-bottom-style: none; border-left-style: none; border-width: =
initial; border-color: initial; padding-top: 0cm; padding-right: 0cm; =
padding-bottom: 0cm; padding-left: 0cm; "><font size=3D"2" face=3D"Courier=
 New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `- =
com</span></font></div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 10pt; font-family: =
'Courier New'; border-top-style: none; border-right-style: none; =
border-bottom-style: none; border-left-style: none; border-width: =
initial; border-color: initial; padding-top: 0cm; padding-right: 0cm; =
padding-bottom: 0cm; padding-left: 0cm; "><font size=3D"2" face=3D"Courier=
 New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `- =
mycompany</span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
10pt; font-family: 'Courier New'; border-top-style: none; =
border-right-style: none; border-bottom-style: none; border-left-style: =
none; border-width: initial; border-color: initial; padding-top: 0cm; =
padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><font =
size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; `- portlet</span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
10pt; font-family: 'Courier New'; border-top-style: none; =
border-right-style: none; border-bottom-style: none; border-left-style: =
none; border-width: initial; border-color: initial; padding-top: 0cm; =
padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><font =
size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `- HelloWorldPortlet.java (portlet =
source)</span></font></div><div style=3D"margin-top: 0cm; margin-right: =
0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 10pt; =
font-family: 'Courier New'; border-top-style: none; border-right-style: =
none; border-bottom-style: none; border-left-style: none; border-width: =
initial; border-color: initial; padding-top: 0cm; padding-right: 0cm; =
padding-bottom: 0cm; padding-left: 0cm; "><font size=3D"2" face=3D"Courier=
 New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; |- webapp&nbsp; (webapp resources (jsp, =
css, images) go under here)</span></font></div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; =
font-size: 10pt; font-family: 'Courier New'; border-top-style: none; =
border-right-style: none; border-bottom-style: none; border-left-style: =
none; border-width: initial; border-color: initial; padding-top: 0cm; =
padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><font =
size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; `- =
jsp</span></font></div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 10pt; font-family: =
'Courier New'; border-top-style: none; border-right-style: none; =
border-bottom-style: none; border-left-style: none; border-width: =
initial; border-color: initial; padding-top: 0cm; padding-right: 0cm; =
padding-bottom: 0cm; padding-left: 0cm; "><font size=3D"2" face=3D"Courier=
 New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `- =
HelloWorldPortletView.jsp (for view =
mode)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;</span></font></div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; =
font-size: 10pt; font-family: 'Courier New'; border-top-style: none; =
border-right-style: none; border-bottom-style: none; border-left-style: =
none; border-width: initial; border-color: initial; padding-top: 0cm; =
padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><font =
size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `- =
HelloWorldPortletEdit.jsp (for edit =
mode)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;</span></font></div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; =
font-size: 10pt; font-family: 'Courier New'; border-top-style: none; =
border-right-style: none; border-bottom-style: none; border-left-style: =
none; border-width: initial; border-color: initial; padding-top: 0cm; =
padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><font =
size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; `- =
META-INF</span></font></div><div style=3D"margin-top: 0cm; margin-right: =
0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 10pt; =
font-family: 'Courier New'; border-top-style: none; border-right-style: =
none; border-bottom-style: none; border-left-style: none; border-width: =
initial; border-color: initial; padding-top: 0cm; padding-right: 0cm; =
padding-bottom: 0cm; padding-left: 0cm; "><font size=3D"2" face=3D"Courier=
 New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `- =
HelloWorldPortlet.xml (Tomcat context deployment =
descriptor)</span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
10pt; font-family: 'Courier New'; border-top-style: none; =
border-right-style: none; border-bottom-style: none; border-left-style: =
none; border-width: initial; border-color: initial; padding-top: 0cm; =
padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><font =
size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; `- =
WEB-INF</span></font></div><div style=3D"margin-top: 0cm; margin-right: =
0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 10pt; =
font-family: 'Courier New'; border-top-style: none; border-right-style: =
none; border-bottom-style: none; border-left-style: none; border-width: =
initial; border-color: initial; padding-top: 0cm; padding-right: 0cm; =
padding-bottom: 0cm; padding-left: 0cm; "><font size=3D"2" face=3D"Courier=
 New"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; `- portlet.xml (JSR-168 deployment =
descriptor)</span></font></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: =
10pt; font-family: 'Courier New'; border-top-style: none; =
border-right-style: none; border-bottom-style: none; border-left-style: =
none; border-width: initial; border-color: initial; padding-top: 0cm; =
padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><font =
size=3D"2" face=3D"Courier New"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; `- web.xml (This will be modified =
by maven-pluto-plugin)</span></font></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
">&nbsp;</span></font></p><p class=3D"MsoNormal" style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; ">&nbsp;</span></font></p><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" face=3D"Tahoma"><span style=3D"font-size: 10pt; =
font-family: Tahoma; ">-----Oprindelig meddelelse-----<br><b><span =
style=3D"font-weight: bold; ">Fra:</span></b><span =
class=3D"Apple-converted-space">&nbsp;</span>Gary Weaver =
[mailto:[email protected]]<span =
class=3D"Apple-converted-space">&nbsp;</span><br><b><span =
style=3D"font-weight: bold; ">Sendt:</span></b><span =
class=3D"Apple-converted-space">&nbsp;</span>3. juni 2010 =
20:01<br><b><span style=3D"font-weight: bold; ">Til:</span></b><span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:[email protected]" style=3D"color: blue; =
text-decoration: underline; =
">[email protected]</a><br><b><span style=3D"font-weight: =
bold; ">Emne:</span></b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: SV: Help setting up =
hello world</span></font></div><p class=3D"MsoNormal" style=3D"margin-top:=
 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p><div><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">If you look =
at that second link I sent:</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "><a href=3D"https://wiki.jasig.org/display/PLT/Hello+World+Portlet"=
 style=3D"color: blue; text-decoration: underline; =
">https://wiki.jasig.org/display/PLT/Hello+World+Portlet</a></span></font>=
</div></div><div><p class=3D"MsoNormal" style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p></div><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">It has an =
example simple web.xml, portlet.xml, etc. If you are new to Java or Java =
web applications, you probably out to read up on that and Maven prior to =
getting into the portlet side of things, =
though.</span></font></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p></div><div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">As for where =
to go after Hello World, I lot of people use Spring Portlet MVC, in =
which case you might do something like this in web.xml (I tried to strip =
out the unnecessary parts, but not sure how good of a job I =
did):</span></font></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p></div><div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">&lt;?xml =
version=3D"1.0" encoding=3D"UTF-8"?&gt;</span></font></div></div><div><div=
 style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&lt;!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web =
Application 2.3//EN"&nbsp;"<a =
href=3D"http://java.sun.com/dtd/web-app_2_3.dtd" style=3D"color: blue; =
text-decoration: underline; =
">http://java.sun.com/dtd/web-app_2_3.dtd</a>"&gt;</span></font></div></di=
v><div><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; =
">&lt;web-app&gt;</span></font></div></div><div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;display-name&gt;yourportletname&lt;/display-name&gt;</span></fon=
t></div></div><div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;description&gt;Description of the =
portlet&lt;/description&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;context-param&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;</span></f=
ont></div></div><div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;param-value&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;/WEB-INF/context/portlet/nameofyourportlet.xml</span></font></div></=
div><div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;/param-value&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;/context-param&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;context-param&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;param-name&gt;webAppRootKey&lt;/param-name&gt;</span></font></di=
v></div><div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;param-value&gt;some.parent.package.newofyourportlet&lt;/param-va=
lue&gt;</span></font></div></div><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;/context-param&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;listener&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;listener-class&gt;org.springframework.web.util.WebAppRootListene=
r&lt;/listener-class&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;/listener&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;listener&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;listener-class&gt;org.springframework.web.context.ContextLoaderL=
istener&lt;/listener-class&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;/listener&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;servlet&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;servlet-name&gt;ViewRendererServlet&lt;/servlet-name&gt;</span><=
/font></div></div><div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;servlet-class&gt;org.springframework.web.servlet.ViewRendererSer=
vlet&lt;/servlet-class&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;</span></font></div>=
</div><div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;/servlet&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;servlet-mapping&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;servlet-name&gt;ViewRendererServlet&lt;/servlet-name&gt;</span><=
/font></div></div><div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">&nbsp;&nbsp; &nbsp; &nbsp; =
&nbsp;&lt;url-pattern&gt;/WEB-INF/servlet/view&lt;/url-pattern&gt;</span><=
/font></div></div><div><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">&nbsp;&nbsp; =
&nbsp;&lt;/servlet-mapping&gt;</span></font></div></div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&lt;/web-app&gt;</span></font></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p></div><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">And could =
look at this as an example of spring context, pom.xml, portlet.xml, =
etc.:&nbsp;<a =
href=3D"https://source.jasig.org/sandbox/MailPortlet/tags/rel-2.0.0-alpha-=
7/" style=3D"color: blue; text-decoration: underline; =
">https://source.jasig.org/sandbox/MailPortlet/tags/rel-2.0.0-alpha-7/</a>=
</span></font></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p></div><div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">There are =
also a Grails Portlet project and a Rails-portlet project, I think both =
aimed at JSR-286 implementations like Liferay (I know the latter is at =
the moment).</span></font></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p></div><div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">If you want =
to see what is it really doing in the assembly portion, look =
at&nbsp;FileAssembler.java. For example I found =
it&nbsp;here:</span></font></div></div><div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "><a =
href=3D"http://github.com/apache/pluto/blob/trunk/pluto-util/src/main/java=
/org/apache/pluto/util/assemble/file/FileAssembler.java" style=3D"color: =
blue; text-decoration: underline; =
">http://github.com/apache/pluto/blob/trunk/pluto-util/src/main/java/org/a=
pache/pluto/util/assemble/file/FileAssembler.java</a></span></font></div><=
/div><div><p class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: =
0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p></div><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
">Gary</span></font></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p><div><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">On Jun 3, =
2010, at 1:33 PM, S=F8ren Blidorf wrote:</span></font></div></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; "><br><br></span></font></div><div link=3D"blue" vlink=3D"blue" =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; ">Thanks<span =
class=3D"apple-converted-space">&nbsp;</span>Gary. I will look at =
it.</span></font></div></div><p class=3D"MsoNormal" style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; =
">&nbsp;</span></font></p><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; ">When I use mvn package I get a =
build error - invalid web.xml.</span></font></div></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; color: navy; ">&nbsp;</span></font></p><div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; ">Does =
anybody know what is needed in the web.xml for maven to concider it =
valid?</span></font></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
">&nbsp;</span></font></p><div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: =
10pt; font-family: Arial; color: navy; =
">Soren</span></font></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" color=3D"navy" face=3D"Arial"><span lang=3D"EN-GB" =
style=3D"font-size: 10pt; font-family: Arial; color: navy; =
">&nbsp;</span></font></p><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" face=3D"Tahoma"><span style=3D"font-size: 10pt; =
font-family: Tahoma; ">-----Oprindelig meddelelse-----<br><b><span =
style=3D"font-weight: bold; ">Fra:</span></b><span =
class=3D"apple-converted-space">&nbsp;</span>Gary Weaver =
[mailto:[email protected]]<span =
class=3D"apple-converted-space">&nbsp;</span><br><b><span =
style=3D"font-weight: bold; ">Sendt:</span></b><span =
class=3D"apple-converted-space">&nbsp;</span>3. juni 2010 =
17:22<br><b><span style=3D"font-weight: bold; ">Til:</span></b><span =
class=3D"apple-converted-space">&nbsp;</span><a =
href=3D"mailto:[email protected]" style=3D"color: blue; =
text-decoration: underline; =
">[email protected]</a><br><b><span style=3D"font-weight: =
bold; ">Emne:</span></b><span =
class=3D"apple-converted-space">&nbsp;</span>Re: Help setting up hello =
world</span></font></div></div><p class=3D"MsoNormal" style=3D"margin-top:=
 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 130.4pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">Soren,</span></font></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 130.4pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">Assuming you are talking about =
this hello world example?:</span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "><a =
href=3D"http://portals.apache.org/pluto/v20/deploying.html" =
style=3D"color: blue; text-decoration: underline; =
">http://portals.apache.org/pluto/v20/deploying.html</a></span></font></di=
v></div></div><div><p class=3D"MsoNormal" style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 130.4pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; ">I also just found another example, even =
though it is geared for uPortal rather than the example Pluto server. =
(But uPortal uses Pluto and supports JSR-168 compliant portlets, so =
should work.):</span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; "><a =
href=3D"https://wiki.jasig.org/display/PLT/Hello+World+Portlet" =
style=3D"color: blue; text-decoration: underline; =
">https://wiki.jasig.org/display/PLT/Hello+World+Portlet</a></span></font>=
</div></div></div><div><p class=3D"MsoNormal" style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 130.4pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; ">Some other example portlets are =
here:</span></font></div></div></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; "><a =
href=3D"https://source.jasig.org/portlets/" style=3D"color: blue; =
text-decoration: underline; =
">https://source.jasig.org/portlets/</a></span></font></div></div></div><d=
iv><div style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">there are =
also some in here but not all of these =
work:</span></font></div></div></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; "><a =
href=3D"https://source.jasig.org/sandbox/" style=3D"color: blue; =
text-decoration: underline; =
">https://source.jasig.org/sandbox/</a></span></font></div></div></div><di=
v><p class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 130.4pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; ">As of 2010/06/03 I'm not sure how any of =
those if any are JSR-286 (most are still JSR-168), but that shouldn't =
matter afaik just to get something simple =
working.</span></font></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 130.4pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">Some miscellaneous =
tips/notes:</span></font></div></div></div><div><div style=3D"margin-left:=
 65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">* Pluto's jars should be in the =
shared/lib area, which requires some change to the default Tomcat 6 =
config to have it look for. That is the most appropriate place for it, =
afaik.</span></font></div></div></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">* Like any war, if you unzip =
the war, it should unzip its contents into the current directory (i.e. =
is isn't unzipping into (webapp directory name)/... ). That is just a =
war thing, not specific to portlets. This only matters if you tried to =
make the war by hand.</span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">* Pluto's =
assembly API must be used to prep the war. There is a maven-pluto-plugin =
that can help with this (it uses Pluto assembly). Pluto assembly looks =
at the portlet.xml then modifies the web.xml and adds portlet*.tld =
file(s).</span></font></div></div></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">* Even though Tomcat is much =
more lenient when it decompresses a war, Pluto assembly (used by =
maven-pluto-plugin) uses the standard Java API to unjar the war, and if =
the&nbsp;</span></font><span class=3D"apple-style-span"><font =
face=3D"Courier New"><span style=3D"font-family: 'Courier New'; =
">META-INF/MANIFEST.MF</span></font></span><span =
class=3D"apple-style-span"><font face=3D"Helvetica"><span =
style=3D"font-family: Helvetica; ">&nbsp;file isn't the first entry (and =
there should be only one manifest), it will choke (and the error is not =
that helpful).</span></font></span></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">* Just =
because maven-pluto-plugin preps the war doesn't mean it is a valid =
portlet (or even valid web.xml and portlet.xml for a portlet) or that it =
will even register in Pluto afaik. You need to make sure that web.xml is =
cleaned up and that you didn't try to add the stuff that Pluto assembly =
puts into it. (For info on how to clean it up if you need that, see the =
unplutofy project).</span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span style=3D"font-size: 12pt; ">* In newer =
versions of pluto (not sure what version, but sometime between 1.0.0-RC2 =
and 1.1.7), portlets register themselves with pluto (I think). So you =
can someone tell if a portlet is available and at least valid enough for =
Pluto to register it (although it still may not work) if the logs showed =
that it registered. It may not register each time though? Registering is =
different than just Tomcat deploying the war (it is the line right after =
that in the logs usually, I =
think).</span></font></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 130.4pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">Hopefully none of that info is =
wrong, and please anyone feel free to correct or clarify =
those.</span></font></div></div></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 130.4pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p></div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">Wish I could provide more info, =
but maybe some of that will help.</span></font></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 130.4pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p></div><div><div style=3D"margin-left: 65.2pt; =
"><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0.0001pt; margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New =
Roman'; "><font size=3D"3" face=3D"Times New Roman"><span =
style=3D"font-size: 12pt; ">Gary</span></font></div></div></div><div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 130.4pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p></div><div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 130.4pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; ">&nbsp;</span></font></p><div><div><div style=3D"margin-left: =
65.2pt; "><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 65.2pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; ">On Jun 3, 2010, at 5:58 AM, =
S=F8ren Blidorf wrote:</span></font></div></div></div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 12pt; margin-left: 65.2pt; font-size: =
12pt; font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times =
New Roman"><span style=3D"font-size: 12pt; ">&nbsp;</span></font><br =
class=3D"webkit-block-placeholder"></div></div><div link=3D"blue" =
vlink=3D"purple"><div><div><div style=3D"margin-left: 65.2pt; "><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"2" face=3D"Arial"><span style=3D"font-size: 10pt; =
font-family: Arial; =
">Hi.<u1:p></u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; =
"><u1:p>&nbsp;</u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">I am new to portlets and =
Pluto.<u1:p></u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p>&nbsp;</u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">I have installed Pluto on my existing Tomcat and =
it works fine.<u1:p></u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p>&nbsp;</u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">However I am having difficulties setting up a =
helloworld =
portlet.<u1:p></u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p>&nbsp;</u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">I have created the portlet.xml and the =
helloworld.java. Compiled and deploy but nothing =
happens.<u1:p></u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p>&nbsp;</u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">I have tried different examples on google, but =
nothing works.<u1:p></u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p>&nbsp;</u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; ">Does anybody have a helloworld.war file of a =
describsion for dummies on how to get a helloworld to =
work.<u1:p></u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
"><u1:p>&nbsp;</u1:p></span></font></div></div></div><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"2" =
face=3D"Arial"><span lang=3D"EN-GB" style=3D"font-size: 10pt; =
font-family: Arial; =
">Soren</span></font></div></div></div><u1:p></u1:p><div><div =
style=3D"margin-left: 65.2pt; "><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 65.2pt; =
font-size: 12pt; font-family: 'Times New Roman'; "><font size=3D"3" =
face=3D"Times New Roman"><span lang=3D"EN-GB" style=3D"font-size: 12pt; =
"><u1:p>&nbsp;</u1:p></span></font></div></div></div></div></div></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0.0001pt; margin-left: 130.4pt; font-size: 12pt; =
font-family: 'Times New Roman'; "><font size=3D"3" face=3D"Times New =
Roman"><span style=3D"font-size: 12pt; =
">&nbsp;</span></font></p></div></div></div></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; =
margin-left: 65.2pt; font-size: 12pt; font-family: 'Times New Roman'; =
"><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size: =
12pt; =
">&nbsp;</span></font></p></div></div></span></blockquote></div><br></body=
></html>=

--Apple-Mail-9-929242060--