Hi Abraham,
Thanks for ur Idea..
But I don't know how to create Context.Is it making
directory under webapps or any other way.
Just Guide me..
Some one told me that I've to create virtual
directory in Build.xml which is in conf directory.I
don't know how to do that..
Thanks
Suresh
--- Abraham Varghese <[EMAIL PROTECTED]>
wrote:
> Suresh,
>
> I gave you some wrong info. Here is the correction .
>
> Whenever you access a resource or do a redirect you
> NEED to have the context
> in the URL, if you have created a context. In our
> case it was '/abraham'
> Provided you have created the context and copied
> all your HTML, GIFs and classes as explained earlier
>
> If you want to redirect to another servlet
>
> it should be
> response.sendRedirect("/abraham/servlet/Serv02")
>
> to redirect to another static HTML page
>
> response.sendRedirect("/abraham/test01.html");
>
> You could have other subdirectories under 'abraham'
> let's say 'images'
> if you want to access a gif from this directory, you
> should code it as
>
> <IMG SRC='/abraham/images/pic01.gif'>
>
>
> Good Luck !
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html