I have an old JSP project for which I use eclipse as the ide.
Once everything is configured and I test that it works, I want it to start in another path other than the default path that Eclipse launches.
when I launch the project, it runs in http://localhost:8080/miapp/
. But I want that when executing, the same is executed inhttp://localhost:8080/miapp/menu/mijsp.jsp
As a bonus, I want to pass parameters to it so that it looks like this:http://localhost:8080/miapp/menu/mijsp.jsp?param1=aaa?param2=bbb
When I run it, and type the path by hand it goes to that page, so the project works.
The folder structure of my project is like this:
I suppose that I have to modify something in the Deployment Descriptor, but for a change I can't find anything that tells me what to modify or how...
Extra bonus: if someone knows how to modify the route so that where it says myapp they can change it, they get an extra coffee...