Solved

File Extensions to Use

Posted on 2004-10-18
4
168 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks!!  That helps...
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
A procedure for exporting installed hotfix details of remote computers using powershell
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now