Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Re: html static site with .js pages - best practice


Message #1 by spam@k... on Mon, 3 Mar 2003 06:11:29
Thanks for your useful feedback.  I was the person enquiring about this a
while ago and thought my email got lost somewhere in the black hole.

However, I have taken the advice of someone and decided to go with all pages
to be .jsp whether they are static or not.  I was getting confused with .js
being server side and .jsp being client-side.  I'm ignorant when it comes to
using jsp pages and scripting.

Thanks for your assistance.

Regards
Felicia



-----Original Message-----
From: spam@k... [mailto:spam@k...]
Sent: Monday, 3 March 2003 7:11 p.m.
To: HTML Code Clinic
Subject: [html_code_clinic] Re: html static site with .js pages - best
practice


> Secondly, simply adding javascript isn't really considered making a page
d> ynamic (some purists might disagree with me ;).  When someone mentions
d> ynamic, I usually think of server pages, either .asp or .jsp
(> perhaps .jsp is what you meant to write, particularly given your "to
do"
l> ist?  I really hope you aren't going to do those things with client-
side
j> avascript.)

Assuming she was talking about jsp, then yes, she could get away with just
using jsp pages. The issue she is asking about is best practice. Many
people consider it best practice to go with a single way of serving a
site. Don't mix static and dynamic. But since the site is going to be a
mix anyway, then it seems safe to have at least two extensions - perhaps
htm and jsp.


 -------------------------------
 This email message and any attachment(s) is intended only for the 
 person(s) or entity(entities) to whom it is addressed. The 
 information it contains may be classified as IN CONFIDENCE and may be
 legally privileged. If you are not the intended recipient any use,
 disclosure or copying of the message or attachment(s) is strictly 
 prohibited. If you have received this message in error please 
 notify us immediately and destroy it and any attachment(s).
 Thank you. The Ministry of Social Development accepts no
 responsibility for changes made to this message or to any
 attachment(s) after transmission from the Ministry.
 -------------------------------


  Return to Index