Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2796

Change the way news.html gets imported into login.jsp


    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: General
    • Labels:


      Currently there's a catch with the way we import/include the news.html into the login.jsp

      Because we use the tag import rather than include, the tag makes an http call to the server in order to import the page!

      So this is *very* inefficient.

      Also this has stupid implications for clustering... as when LAMS calls itself to get the news.html page it creates a new jboss session in the other node... which is rather silly.

      I believe the reason we didn't use the include tag because we can't use it if the file we are trying to include is outside the .war (and news.html is in lams-www.war -whereas login.jsp in in lams-central.war).

      So I don't think we have many options... we probably need to move this to lams-central instead and also move the new public folder to store the images into lams-central.

      Unless, you think there's other way to do this?


        ernieg Ernie Ghiglione created issue -
        ernieg Ernie Ghiglione made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        ernieg Ernie Ghiglione made changes -
        Status Resolved [ 5 ] Closed [ 6 ]


          • Assignee:
            marcin Marcin Cieslak
            ernieg Ernie Ghiglione
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: