Serving both a webpage and a RESTful web service on one project
Answered
Hello,I
I want to have one running Tomcat Instance, which would serve some .html files on. for example, localhost:8080/ and a restful web service on localhost:8080/rest.
I don't know if it's an easy thing to do (although I suspect it is), but I'm quite new to web development and IntelliJ Idea as a whole.
Thank you very much in advance
Please sign in to leave a comment.
Your question is not specific to IntelliJ IDEA. You can have it using either 2 web applications deployed under different contexts or a single web application with servlet mappings configured accordingly.
A better place for such questions would be http://stackoverflow.com/.
I was actually asking about how to configure this in one IntelliJ Idea project. I'll look into it more, however. Thank you very much