Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

File Extensions to Use

Posted on 2004-10-18
4
Medium Priority
?
175 Views
Last Modified: 2010-04-01
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?
0
Comment
Question by:LarryAndro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 13

Expert Comment

by:petmagdy
ID: 12341882
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
0
 
LVL 1

Author Comment

by:LarryAndro
ID: 12341965
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?  
0
 
LVL 13

Accepted Solution

by:
petmagdy earned 500 total points
ID: 12341985
JSP is used if their is a Java server side logic is needed like a web page retrives from database, static means web page tat provide static information
0
 
LVL 1

Author Comment

by:LarryAndro
ID: 12342176
Thanks!!  That helps...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The online market is growing at an unprecedented rate and retail eCommerce sales are expected to reach $4 trillion by 2020. Yet, the profit is not just there for the taking because you have to set yourself apart from the competition.
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question