search

Home  >  Q&A  >  body text

In web development, what impact does it have if the page is built as jsp, php, or html?

In a previous project, only the homepage was built as jsp, and the other pages were all html. Later, I saw some videos where the teacher used php in the backend. He built all the pages in the format with the suffix php, so I would like to ask if the suffix was built in jsp. What is the difference between php and html? Does the html format affect background calls?

某草草某草草2809 days ago552

reply all(3)I'll reply

  • PHPz

    PHPz2017-05-16 13:07:05

    1. It has no functional impact. The key is to see whether your server has defined the function of parsing these suffix names. For example, if you set the .html suffix on the server to treat it as jsp, then you can treat it as a jsp file. Likewise, you can define any suffix you like.

    2. Why are they defined as different suffixes?
      First, by not letting others know the web technology you use, you can avoid targeted attacks by some hackers. The second is for search engine optimization. Pages with the .html suffix are more popular with search engines and will be included faster.

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 13:07:05

    You need to understand Template Engine In this development model, the front-end is completely a subsidiary of the back-end. This is why the back-end is more or less the front-end

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-16 13:07:05

    That’s it, thank you~~

    reply
    0
  • Cancelreply