Hi
How to get a URL through Java programm?
_mythili
Printable View
Hi
How to get a URL through Java programm?
_mythili
try out
ServletContext context = session.getServletContext();
String realContextPath = context.getRealPath(request.getContextPath());
Hi,
It is also possible to get url using init parameters or using servletcontext.
regards,
vardhan.