?
Solved

What is the change directory servlet code?

Posted on 2009-02-20
2
Medium Priority
?
195 Views
Last Modified: 2013-11-24
Hi

It is the php change directory code: chdir('search');

In servlet, how is it?
0
Comment
Question by:techques
2 Comments
 
LVL 10

Accepted Solution

by:
mahome earned 150 total points
ID: 23690442
As far as I know there is no equivalent in Java Servlets, but I never missed it. For what situation do you need it.

Perhaps you have a look at:
request.getContextPath()
request.getServletPath()
0
 

Author Comment

by:techques
ID: 23717937
But, how can
request.getContextPath()
request.getServletPath()

can to the specific local directory?

e.g. I need to change directory to C:\test\abc\

How should I write the code?
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question