Chào các bạn, mình có 1 thắc mắc muốn hỏi.
Mình tìm thấy 1 source.
Trong đó có 1 file login.jsp, trong file đó có 1 form như sau
Mã:
<form action="abc/login.jhtml"....>
<input type = "submit">
</form>
Khi nhấn submit trang chuyển sang login.jhtml.
Hoặc mình ko cần vào trang login.jsp mà vào thằng trên trình duyệt : _http://.....abc/login.jhtml thì vẫn vào được trang login.jhtml.
Mọi việc tới đây vẫn bình thường. Nhưng khi mình đi tìm file login.jhtml xem trong đó viết gì thì lại ko tìm thấy file đó trong source.
Vậy file login.jhtml đó là file gì và tại sao ko tìm thấy nó trong source nhưng khi gõ lên trình duyệt abc/login.jhtml thì vẫn vào được ?
Mình có đọc khúc này nhưng vẫn ko hỉu
JHTML stands for Java HTML. This is a page authoring system developed at Art Technology Group (ATG). Files with a ".jhtml" filename extension contain standard HTML tags in addition to proprietary tags that reference Java objects running on a special server setup to handle requests for pages of this sort.
When a request is made for a JHTML page, e.g. "index.jhtml", the request for this page is forwarded from the HTTP server to another system running a Java application server. The JHTML page is compiled first into a .java file and then into a Java .class file. The application server runs the code in the .class file as a servlet whose sole function is to emit a stream of standard HTTP and HTML data back to the HTTP server and on back to the client software (the web browser, usually) that originally requested the document. The principal benefit of this system is that it allows logic running in Java on the application server to generate the HTML dynamically. Often a database is queried to accumulate the specific data needed in the page.
- from _http://en.wikipedia.org/wiki/JHTML
Bạn nào biết thì giúp mình trả lời những thắc mắc trên với. Mình xin cảm ơn
View more random threads:
Pallet nhựa Lâm Đồng giải pháp hoàn hảo cho nhà kho Pallet nhựa Lâm Đồng là một giải pháp đa năng và hiệu quả trong việc vận chuyển và lưu trữ hàng hóa. Trong đó, pallet nhựa Lâm Đồng không chỉ đáp...
Pallet nhựa Lâm Đồng giải pháp...