Nome de arquivo em upload

Olá pessoal, estou fazendo um upload e quero pegar o nome do arquivo.

Tentei FileItem.getName(), mais este retorna todo o caminho do arquivo.

Obrigado

Abraço

String[] strAux = getFileItem().getName().split("\\\\");
String nomeFile = getFileItem().getName();
if (strAux != null && strAux.length > 1) {
	nomeFile = strAux[strAux.length - 1];
}

Faz essa rotina aew
=]

Abraço.

Amigo, achei que tinha uma maneira mais fácil.

eu consegui assim também:

fitem = (FileItem) i.next();
String nomeArquivo = (new File(fitem.getName())).getName();