MrPhreaker
Programmer
Hi all
I have a post already open but that one kinda solved a different problem so here goes :
This is a snippet of a servlet that is passed the paramValue parameter. However, the only one that works is "Roe". All the others return people.xls.
Please advise.
if (paramValue.equals("people"
){
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/people.xsl";
}
if (paramValue.equals("Bacon"
){
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/Bacon.xsl";
}
if (paramValue.equals("Guin"
){
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/Guin.xsl";
}
if (paramValue.equals("Miller"
){
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/Miller.xsl";
}
if (paramValue.equals("Roe"
){
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/Roe.xsl";
}
else
{
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/people.xsl";
}
I have a post already open but that one kinda solved a different problem so here goes :
This is a snippet of a servlet that is passed the paramValue parameter. However, the only one that works is "Roe". All the others return people.xls.
Please advise.
if (paramValue.equals("people"
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/people.xsl";
}
if (paramValue.equals("Bacon"
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/Bacon.xsl";
}
if (paramValue.equals("Guin"
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/Guin.xsl";
}
if (paramValue.equals("Miller"
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/Miller.xsl";
}
if (paramValue.equals("Roe"
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/Roe.xsl";
}
else
{
xslFile = "file:///C:/temp/JDeveloper9032/jdev/mywork/Workspace2/Project2/src/people.xsl";
}