Results 1 to 2 of 2
  1. #1

    Talking JSP failing in LightStreamer

    I created a new sample project with index.html as my first page.

    For some reason, i wanted to run a jsp file instead of html.

    So i placed index.jsp into the project folder (where index.html was placed before).

    Now the JSP page returns HTTP 404 Status Error.I have attached a screenshot for reference.

    Guys, Kindly help !!

    Thanks a lot !
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	error.jpg 
Views:	891 
Size:	63.0 KB 
ID:	154  

  2. #2
    Senior Member
    Join Date
    Feb 2013

    Lightstreamer Server contains an internal web server that is able to serve static web resources. But actually it is only for demo purpose and to get started with Lightstreamer development.
    Lightstreamer is optimized for pushing real-time data, not for serving static pages and the internal web server is not intended to be used in production scenarios, where it is highly recommended to use an external web server.
    You can find more details in section 2.1 "Deployment Architecture" of JavaScript Client Guide []
    Above all, the internal web server is not a JSP container, so it is not able to process a request to a jsp.
    It is not clear to me if your index.jsp file is actually a html file just renamed with the .jsp extension and if you want just to view the .jsp file as a static file. In this case you have to specify in the URL the file name, so something like http://localhot:8080/HelloWorld/index.jsp, because the internal web server is able to resolve file names like index.html or index.htm but not index.jsp.




Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 05:21 AM.