eclipsescalascalatrascalate

how to make the connection between sclate,the servlet and classes


I'm new with the architecture of scalatra and devloppement scala .. i want to do a project with these new technilogies with templates but the problem that I can not understand how to realize the connection between the class or object, the servlet and Scalate..

I followed the site Scalate http://scalate.fusesource.org/ but I think it is not as easy.. I wanted to make html page and servlet with well-specified classes (like jsp,servlet and class java) but I unknown if faissable and If I to follow in this way the architecture of scalatra.

Can someone help me with documentation or explain to me how to do..I will be very grateful


Solution

  • You can use this scalatra-http-client working example published by Scalatra in Github. It's the bare minimum you need and can't get any easier than this.

    The next step is to take a look at the other scalatra-website-examples webapp implemented examples that demonstrate things like: authentication, file uploading, forms handling and all this nicely wrapped with Bootstrap.