Solved

File Extensions to Use

Posted on 2004-10-18
4
171 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
  • 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 125 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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