RE: .html pages as .jsp pages

2009-05-15 Thread Dola Woolfe
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

RE: .html pages as .jsp pages

2009-05-15 Thread Karthik Nanjangude
ons Map the *.html file to Assiociate JSP 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

Re: .html pages as .jsp pages

2009-05-15 Thread Nikola Milutinovic
Well, it should be relatively simple. Add the following to your web.xml: jsp *.html Nix. From: Dola Woolfe To: Tom Cat Sent: Thursday, May 14, 2009 8:43:47 PM Subject: .html pages as .jsp pages Hi, I need to give my jsp files the

Re: .html pages as .jsp pages

2009-05-15 Thread Pid
gies then you're making your life unnecessarily difficult. p > --- On Thu, 5/14/09, Hassan Schroeder wrote: > >> From: Hassan Schroeder >> Subject: Re: .html pages as .jsp pages >> To: "Tomcat Users List" >> Date: Thursday, May 14, 2009, 5:04 PM

Re: .html pages as .jsp pages

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

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 3:52 PM, André Warnier 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 links point to

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 Robert Koberg
done in CSS :) --- On Thu, 5/14/09, Hassan Schroeder wrote: From: Hassan Schroeder Subject: Re: .html pages as .jsp pages To: "Tomcat Users List" Date: Thursday, May 14, 2009, 5:04 PM On Thu, May 14, 2009 at 1:43 PM, Ken Bowen wrote: Yes, but why the need to use the .jsp ext

Re: .html pages as .jsp pages

2009-05-14 Thread Dola Woolfe
der > Subject: Re: .html pages as .jsp pages > To: "Tomcat Users List" > Date: Thursday, May 14, 2009, 5:04 PM > On Thu, May 14, 2009 at 1:43 PM, Ken > Bowen > wrote: > > Yes, but why the need to use the .jsp extension?  A > static site would run > > just

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. H

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 1:43 PM, Ken Bowen 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 *generated* site.

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 wrote: The point of dynamic jsp pages is to dynam

Re: .html pages as .jsp pages

2009-05-14 Thread Robert Koberg
On May 14, 2009, at 4:25 PM, Hassan Schroeder wrote: On Thu, May 14, 2009 at 1:22 PM, Robert Koberg 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

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 1:22 PM, Robert Koberg 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 conversion necessar

Re: .html pages as .jsp pages

2009-05-14 Thread Hassan Schroeder
On Thu, May 14, 2009 at 12:54 PM, Ken Bowen 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?  Why not

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 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 Ken Bowen
on. Let me know if you think the whole approach is stupid. --- On Thu, 5/14/09, Martin Gainty wrote: From: Martin Gainty Subject: RE: .html pages as .jsp pages To: "Tomcat Users List" , tomcat-u...@jakarta.apache.org Date: Thursday, May 14, 2009, 3:09 PM jsp o

RE: .html pages as .jsp pages

2009-05-14 Thread Dola Woolfe
e approach is stupid. --- On Thu, 5/14/09, Martin Gainty wrote: > From: Martin Gainty > Subject: RE: .html pages as .jsp pages > To: "Tomcat Users List" , > tomcat-u...@jakarta.apache.org > Date: Thursday, May 14, 2009, 3:09

RE: .html pages as .jsp pages

2009-05-14 Thread Martin Gainty
jsp org.apache.jasper.servlet.JspServlet fork false xpoweredBy false 3 jsp *.html could you elaborate the business need to do this..? you would be