Re: .html pages as .jsp pages

2009-05-15 Thread Pid
unnecessarily difficult. p --- On Thu, 5/14/09, Hassan Schroeder hassan.schroe...@gmail.com wrote: From: Hassan Schroeder hassan.schroe...@gmail.com Subject: Re: .html pages as .jsp pages To: Tomcat Users List users@tomcat.apache.org Date: Thursday, May 14, 2009, 5:04 PM On Thu, May 14

Re: .html pages as .jsp pages

2009-05-15 Thread Nikola Milutinovic
...@jakarta.apache.org Sent: Thursday, May 14, 2009 8:43:47 PM Subject: .html pages as .jsp pages Hi, I need to give my jsp files the extension .html 1. How do I configure tomcat to treat .html files as .jsp files? 2. Off topic? How do I set up Eclipse so that .html files are opened with the same

RE: .html pages as .jsp pages

2009-05-15 Thread Karthik Nanjangude
Editor Simple :) With regards Karthik -Original Message- From: Nikola Milutinovic [mailto:alok...@yahoo.com] Sent: Friday, May 15, 2009 4:45 PM To: Tomcat Users List Subject: Re: .html pages as .jsp pages Well, it should be relatively simple. Add the following to your web.xml

RE: .html pages as .jsp pages

2009-05-15 Thread Dola Woolfe
Nanjangude karthik.nanjang...@xius-bcgi.com Subject: RE: .html pages as .jsp pages To: Tomcat Users List users@tomcat.apache.org Date: Friday, May 15, 2009, 9:44 AM Hi An Offline topic ... :{ Off topic? How do I set up Eclipse so that .html files are opened with the same editor

.html pages as .jsp pages

2009-05-14 Thread Dola Woolfe
Hi, I need to give my jsp files the extension .html 1. How do I configure tomcat to treat .html files as .jsp files? 2. Off topic? How do I set up Eclipse so that .html files are opened with the same editor as .jsp files and give me all of the syntax highlighting, etc. Many thanks in

RE: .html pages as .jsp pages

2009-05-14 Thread Martin Gainty
manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Thu, 14 May 2009 11:43:47 -0700 From: dolac...@yahoo.com Subject: .html pages as .jsp pages To: tomcat-u...@jakarta.apache.org Hi, I need to give my jsp files the extension .html 1. How do I

RE: .html pages as .jsp pages

2009-05-14 Thread Dola Woolfe
is stupid. --- On Thu, 5/14/09, Martin Gainty mgai...@hotmail.com wrote: From: Martin Gainty mgai...@hotmail.com Subject: RE: .html pages as .jsp pages To: Tomcat Users List users@tomcat.apache.org, tomcat-u...@jakarta.apache.org Date: Thursday, May 14, 2009, 3:09 PM     !-- The mapping

Re: .html pages as .jsp pages

2009-05-14 Thread Ken Bowen
think the whole approach is stupid. --- On Thu, 5/14/09, Martin Gainty mgai...@hotmail.com wrote: From: Martin Gainty mgai...@hotmail.com Subject: RE: .html pages as .jsp pages To: Tomcat Users List users@tomcat.apache.org, tomcat-u...@jakarta.apache.org Date: Thursday, May 14, 2009, 3:09 PM

Re: .html pages as .jsp pages

2009-05-14 Thread André Warnier
Ken Bowen wrote: The point of dynamic jsp pages is to dynamically create pages on the fly based on information from the user. What's the point of using jsp to dynamically create pages offline that you only serve statically? Why not just write them in html from the beginning? +1 and I must

Re: .html pages as .jsp pages

2009-05-14 Thread Robert Koberg
On May 14, 2009, at 4:02 PM, André Warnier wrote: Ken Bowen wrote: The point of dynamic jsp pages is to dynamically create pages on the fly based on information from the user. What's the point of using jsp to dynamically create pages offline that you only serve statically? Why not just

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 12:54 PM, Ken Bowen kbo...@als.com wrote: The point of dynamic jsp pages is to dynamically create pages on the fly based on information from the user. Not necessarily... What's the point of using jsp to dynamically create pages offline that you only serve statically?  

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 1:22 PM, Robert Koberg r...@koberg.com wrote: To the OP, once you have taken down the JSPs, perhaps you could use something like Ant's globmapper to change the extension No, as already pointed out, just add the *.html mapping to the JSP servlet def in your app. No

Re: .html pages as .jsp pages

2009-05-14 Thread Ken Bowen
Yes, but why the need to use the .jsp extension? A static site would run just fine with everything as .html under either Tomcat or httpd or On May 14, 2009, at 4:24 PM, Hassan Schroeder wrote: On Thu, May 14, 2009 at 12:54 PM, Ken Bowen kbo...@als.com wrote: The point of dynamic jsp

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 1:43 PM, Ken Bowen kbo...@als.com wrote: Yes, but why the need to use the .jsp extension?  A static site would run just fine with everything as .html under either Tomcat or httpd or Missing the point -- we're talking about static *deployment* of a dynamically

RE: .html pages as .jsp pages

2009-05-14 Thread Kevin Nash
File associations in eclipse are under the Windows Menu - Preferences - General - Editors -Original Message- From: Dola Woolfe [mailto:dolac...@yahoo.com] Sent: 14 May 2009 19:44 To: Tom Cat Subject: .html pages as .jsp pages Hi, I need to give my jsp files the extension .html 1. How

Re: .html pages as .jsp pages

2009-05-14 Thread Dola Woolfe
: From: Hassan Schroeder hassan.schroe...@gmail.com Subject: Re: .html pages as .jsp pages To: Tomcat Users List users@tomcat.apache.org Date: Thursday, May 14, 2009, 5:04 PM On Thu, May 14, 2009 at 1:43 PM, Ken Bowen kbo...@als.com wrote: Yes, but why the need to use the .jsp extension

Re: .html pages as .jsp pages

2009-05-14 Thread Robert Koberg
be done in CSS :) --- On Thu, 5/14/09, Hassan Schroeder hassan.schroe...@gmail.com wrote: From: Hassan Schroeder hassan.schroe...@gmail.com Subject: Re: .html pages as .jsp pages To: Tomcat Users List users@tomcat.apache.org Date: Thursday, May 14, 2009, 5:04 PM On Thu, May 14, 2009 at 1:43 PM

Re: .html pages as .jsp pages

2009-05-14 Thread André Warnier
Dola Woolfe wrote: Exactly right. I produce my static content programmatically. Many pages are too complex to be generated otherwise. Also, I get to write java not html. When I want to change a font, I do it in one place not 1000 places. Allright, explanation accepted and makes sense. ;-) (We

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 3:52 PM, André Warnier a...@ice-sa.com wrote: Now just as an idea : leaving everything as it is, apparently when you download those pages via wget, you get them named as *.jsp, but they are otherwise ok, yes ? No, because if you develop under a .jsp suffix, all your

Re: .html pages as .jsp pages

2009-05-14 Thread Dola Woolfe
Screws up the inner links! --- On Thu, 5/14/09, André Warnier a...@ice-sa.com wrote: From: André Warnier a...@ice-sa.com Subject: Re: .html pages as .jsp pages To: Tomcat Users List users@tomcat.apache.org Date: Thursday, May 14, 2009, 6:52 PM Dola Woolfe wrote: Exactly right. I