Link to home
Start Free TrialLog in
Avatar of LarryAndro
LarryAndro

asked on

File Extensions to Use

Say, I've created an index.jsp pages that calls three other html files... How should I name the other files?  file1.htm, file2.htm, file3.htm, or file1.jsp, file2.jsp, file3,jsp?  (Somehow I had the idea that all that was required was for the invoking page - index.jsp - to have the jsp extension.)  And, what guidelines exist?
Avatar of petmagdy
petmagdy
Flag of Canada image

actually the index page if static can be index.html u set that in the welcome page in web.xml of ur web module, u can name the other html or jsp files any name based n the functionality but don't use special character like space if u have a page called for example Questions and answers then the file could be called questions_and_answers.html or just qa.html
Avatar of LarryAndro
LarryAndro

ASKER

It sounds like any file can potentially be either html or jsp, as you say, "based on the functionality."  Meaning, if it's static, containing no jsp or javascript, name it html.  Otherwise, name it jsp?  
ASKER CERTIFIED SOLUTION
Avatar of petmagdy
petmagdy
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks!!  That helps...