Results 1 to 3 of 3

Thread: Getting a URL

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Answers
    1

    Getting a URL

    Hi

    How to get a URL through Java programm?


    _mythili


  2. #2
    Junior Member
    Join Date
    Mar 2006
    Answers
    2

    Re: Getting a URL

    try out

    ServletContext context = session.getServletContext();
    String realContextPath = context.getRealPath(request.getContextPath());


  3. #3
    Junior Member
    Join Date
    Feb 2007
    Answers
    10

    Re: Getting a URL

    Hi,
    It is also possible to get url using init parameters or using servletcontext.

    regards,
    vardhan.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact