Hi Scottish,
One way that I've seen this done is to define a servlet which uses the JSP
file as follows:
getServletContext().getRequestDispatcher("/something.jsp").
forward(req, resp);
You can then add a mapping in web.xml to send requests for the .html page to
this servlet. I'm sure there are more ways to go about this...
Thank you,
Jeff
On Thu, Aug 27, 2009 at 2:25 PM, Scottish <[email protected]> wrote:
>
> I am using java server side. I am curious if there is anyway to have
> "pretty" urls (for example www.example.com/home) point to a static
> home.html (so no .html in the url) . I would like to do this without
> converting home.html to a jsp file. Thanks.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---