[doc] First App -> Example App

2004-11-23 Thread Ben Souther
Hello,

The "Example App" link at the end of the "First App" tutorial
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/sample is a bit
misleading when viewed off the Apache site from the web.

When you click on it, it displays an Apache directory listing.
>From there, you can drill into the src directory to get
the servlet code but when you try to drill into the web directory
the index.html page gets shown and leads the viewer into thinking that
this is a working app.  It's not.  When you click on the "To a servlet"
link you see a 404 error and when you click on the "To a JSP page" link
you see the JSP code (which looks like the output from a JSP page
displayed as text because there are no JSP scriptlet tags in it).

I understand that the intent is for the viewer install TC, follow the
entire tutorial and actually deploy the examples to his/her own machine,
and then run it from there, but a casual surfer (or worse a struggling
newbie) will just see this as a non-working app with broken links.

Has anyone considered building the app, WARing it up, and putting an
index.html page at
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/sample/
with a link to the war file and some basic instructions for either
running or unpacking the file to get to the src that goes with the
tutorial?

If this is a good idea, I'd be willing to build the war files and HTML
pages.

- Ben




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [doc] First App -> Example App

2004-11-24 Thread Shapira, Yoav

Hi,
Go ahead, build the WAR, index page, and put it in a Bugzilla
enhancement item please.  I'd done part of this, including the WAR for
the example webapp, in the past.  I put it on my apache.org/~yoavs site,
and it was downloaded a number of times, but I accidentally deleted the
relevant directory tree a few months ago ;(

Happy thanksgiving to all,

Yoav Shapira http://www.yoavshapira.com


>-Original Message-
>From: Ben Souther [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 23, 2004 10:20 PM
>To: Tomcat Developers List
>Subject: [doc] First App -> Example App
>
>Hello,
>
>The "Example App" link at the end of the "First App" tutorial
>http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/sample is a bit
>misleading when viewed off the Apache site from the web.
>
>When you click on it, it displays an Apache directory listing.
>>From there, you can drill into the src directory to get
>the servlet code but when you try to drill into the web directory
>the index.html page gets shown and leads the viewer into thinking that
>this is a working app.  It's not.  When you click on the "To a servlet"
>link you see a 404 error and when you click on the "To a JSP page" link
>you see the JSP code (which looks like the output from a JSP page
>displayed as text because there are no JSP scriptlet tags in it).
>
>I understand that the intent is for the viewer install TC, follow the
>entire tutorial and actually deploy the examples to his/her own
machine,
>and then run it from there, but a casual surfer (or worse a struggling
>newbie) will just see this as a non-working app with broken links.
>
>Has anyone considered building the app, WARing it up, and putting an
>index.html page at
>http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/sample/
>with a link to the war file and some basic instructions for either
>running or unpacking the file to get to the src that goes with the
>tutorial?
>
>If this is a good idea, I'd be willing to build the war files and HTML
>pages.
>
>- Ben
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]