reset password
Author Message
rcram
Posts: 3
Posted 19:47 Feb 07, 2012 |

I know its a little late, but I still havent figured out how to create a wiki page when a user requests one that doesnt exist.

I also cant get the path that was entered by the user to display. I have not had any time to work on this since last week, so any help would be appreciated.

stridhiryu030363
Posts: 37
Posted 02:12 Feb 08, 2012 |

Near the beginning of the code, you alter the servlet path by adding a "/*" for example:
@WebServlet("/wiki/*")

Then you use .getRequestURI() to retrieve the info from the url.

rcram
Posts: 3
Posted 14:17 Feb 08, 2012 |

Thank you that really helped