Hi All,
I am using JSFUnit to testing in my product. I want to get the requested
URL for eg
(
http://localhost:8000/Facelets_R4/ServletTestRunner?suite=com.test.MyJS
FUnitTest&xsl=cactus-report.xsl)
I want this URL to do decide whether it is an JSFUnit request or other
request.
I tried same through FacesContext object like
String reqPath =
FacesContext.getCurrentInstance().getExternalContext().getRequestServlet
Path();
I am getting different string is there any way to get the following
string
"ServletTestRunner suite=com.test.MyJSFUnitTest&xsl=cactus-report.xsl"
Any thoughts?
Thanks
Anil