Hi JB,
I am a student on Computer engg. Stream. And interested in learning this
technology. I want to do some small tests. So i have choosen this arraylist. I had
implemented the test cases for these operations for JUnit.
But i am not getting How i do same thing for jsp testing of same thing.
Thats why?
CAn you help me out?
Thanking you.
GAnesh
----- Original Message -----
From: "J. B. Rainsberger" <[EMAIL PROTECTED]>
Date: Wed, 28 Jan 2004 19:15:27 -0500
To: Cactus Users List <[EMAIL PROTECTED]>
Subject: Re: Help: TEsting JSP
> Ganesh Navsupe wrote:
> > Hi Friends,
> > I want to test simple jsp wich uses
> > is performing some string array opration.
> > The JSP Page is as bellow:
> >
> > <[EMAIL PROTECTED] import="com.arraytest.StringArray"%>
> >
> > <%
> > StringArray stringArray1 = new StringArray();
> > stringArray1.add("itemForStringArray1");
> > pageContext.setAttribute("stringArray1", stringArray1);
> >
> > StringArray stringArray2 = new StringArray();
> > stringArray2.add("itemForStringArray2");
> > stringArray2.delete(0);
> > pageContext.setAttribute("stringArray2", stringArray2,
> > PageContext.SESSION_SCOPE);
> >
> > StringArray stringArray3 = new StringArray();
> > stringArray3.add("itemForStringArray3");
> > pageContext.setAttribute("stringArray3Count",
> > String.valueOf(stringArray3.count()), PageContext.APPLICATION_SCOPE);
> >
> > %>
> >
> >
> > CAn anybody help me..HOw should i start with and how can i test function in
> > StringArray.java class through this jsp.
>
> I have another question: why are you reimplementing List/ArrayList?
> --
> J. B. Rainsberger,
> Diaspar Software Services
> http://www.diasparsoftware.com :: +1 416 791-8603
> Let's write software that people understand
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
Thanking You,
Ragards,
Ganesh N.
--
India.com free e-mail - www.india.com.
Check out our value-added Premium features, such as an extra 20MB for mail storage,
POP3, e-mail forwarding, and ads-free mailboxes!
Powered by Outblaze
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]