Hiding java package structure in url

Posted by user179056 on Stack Overflow See other posts from Stack Overflow or by user179056
Published on 2010-04-17T16:50:29Z Indexed on 2010/04/17 16:53 UTC
Read the original article Hit count: 194

Filed under:

Hello, Our current web application url reveals the class package structure to the end user. This is because in web.xml the servlet mapping tag is as follows Servlet_ name /servlet/com.xxx.yyy.ClassName

Is there any way by which i can hide the package structure. i.e com.xxx.yyy.ClassName to just ClassName?

Thanks Sameer

© Stack Overflow or respective owner

Related posts about servlets