Tag Archives: JSP

Creating a file to Download dynamically in an https / SSL connection

Hi there, 

Here is a tip when you are programming something that you want your file’s path to be hidden. It’s specially when its under a secure connection or https or SSL connection.

  1. Remember the mime type ea. image/jpg
  2. Remember the file name ea. image.jpg
  3. Remember not to put expiration and no-cache on your header
  4. Remember to open it on another tab or window as much as possible
  5. When you are debugging you can remove the headers so the file won’t be downloaded

Hope this tips can help you specially #3 because your download will fail on lower version of IE.

Thanks,

The index.html, What is it?

Have you ever wonder what is an index.html?

 

An index.html, in some cases default.html, is the main page of our website. It is the default file that our browser/server look for to view our website. The file extension(.html) also varies to what programming language we are using.

  • PHP -> index.php
  • ASP -> index.asp
  • ASP.Net ->index.aspx
  • JSP -> index.jsp
  • HTML ->index.html

It can also be set on some programming language on what specific file should the browser/server look for.

 

So be reminded that if you are developing a website that you should set the main page’s file name of your website to index.