<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Anil,<br>
<br>
This mailing list is for development discussions of the JSFUnit tool
itself.<br>
<br>
Please post your user question to the forum at
<a class="moz-txt-link-freetext" href="http://www.jboss.com/index.html?module=bb&op=viewforum&f=269">http://www.jboss.com/index.html?module=bb&op=viewforum&f=269</a><br>
<br>
I'll be glad to answer it there.<br>
<br>
Stan<br>
<br>
Anil Langote wrote:
<blockquote
cite="mid:DE293C963E44B44B998F4215430DE0F45FAA0C@GSSLINDEX01.gssl.mscsoftware.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Hi All,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">I am using JSFUnit to
testing in my product. I want to get
the requested URL for eg (<a moz-do-not-send="true"
href="http://localhost:8000/Facelets_R4/ServletTestRunner?suite=com.test.MyJSFUnitTest&xsl=cactus-report.xsl">http://localhost:8000/Facelets_R4/ServletTestRunner?suite=com.test.MyJSFUnitTest&xsl=cactus-report.xsl</a>)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">I want this URL to do
decide whether it is an JSFUnit
request or other request.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">I tried same through
FacesContext object like <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">String reqPath =
FacesContext.getCurrentInstance().getExternalContext().getRequestServletPath();<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">I am getting different
string is there any way to get the
following string<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">“ServletTestRunner</span></font>
<font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">suite=com.test.MyJSFUnitTest&xsl=cactus-report.xsl”<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Any thoughts?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Thanks<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Anil<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="blue" face="Times New Roman"
size="3"><span style="font-size: 12pt; color: blue;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
jsfunit-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jsfunit-dev@lists.jboss.org">jsfunit-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jsfunit-dev">https://lists.jboss.org/mailman/listinfo/jsfunit-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>