Sree Reddy

Greenhorn
+ Follow
since Dec 20, 2002
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sree Reddy

Thank you very much,
I will try to follow the same.
Bye,
Sree
18 years ago
Hi,
I have got a method in java file like this:
public boolean inserDB(String name, String Address){
// Gets the DB connection
// insers one record into Database and returns true/false
return boolean;
}
How can i write a test scrpt in StrutsTestCase?
We have got many similar methods, to perform all sorts of DB operations.
Now we need to write automated unit test cases. We thought of using StutsTestCase frame work.
Can any one help me.
Thanks,
Sripathi.
18 years ago
Hi,
We need to prepare and write unit test cases for automated testing.
Our project uses structs frame work.
Basically we have DB Objects, which will perfrom insert/select/update/delete operations. One or many methods for each operation. And regular bean objects to hold the values returned from Database.
Now we need to prepare test cases for
1. Test where DB objects performing all the operation correct.
2. Test all overall application with respect to action classes.
After browsing various posts on this forum, I thought "StrutsTestCase" frame work would be the best approach.
Is it a good approach? OR any other better solutions.
Can any of you suggest me best solution.
Any useful links how best we can proceed?
I am new to testcase frameworks.
Thanks in Advance,
Sree.
18 years ago
Hi,
I created a war file for my project.
When i keep this war file under webapps folder and restart the tomcat, Application is getting deployed alright(Under the same folder).
But i wanted it to be deployed some where else(different folder).
How would i get this.? (I know we can specify the context )
Thank you,
Sree
19 years ago
Hi,
We are using Jonas application server for our EJB Services.
And our IDE is Eclipse. We are using Lomboz plugin.
Now we want to run and deploy our application from eclipse IDE direclty.
When i saw in Lomboz documentation, they said we can add new server definitin file. I tried , but failed.
Does anybody have sample server definition file. Any suggestions how to run Jonas in eclipse with Lomboz plugin?
Thanks,
Sree
Hi,
You can get the count in the following way...
<xsl:value-of select="count(preceding-sibling::*) + number(1)" />
Basically, all the <Client> tags belogs to same parent. So we are using the sibling concept here.
-- Sree
Hi,
I am developing a site. It contains pure HTML pages. I have got a top navigation bar, which will repeat in all HTML pages.
Is there any way, i can have common top html and include it in all pages.
We cann't use frames in out site design. Javascript should be avoided as far as possible.

Thanks,
Sree
Hi,
I have got some background images in my site.
In my browser the default settings are Disbale Background image printing.
How could i enable The backgound image printing using Java script.
Thanks,
Sree
Thank you ..
I cann't use either JSP/ASP. basically i have got a menu(HTML CODE) which has to be incorporated in all my other HTML Pages.
I tried to Keep all the code in one javascript function[ i used document.write() to print all my lines] ,
and included in all pages. It works fine. But when i try to print in Prinout the menu is not coming .
Any Solution?
Thanks,
Sree
Hi, How could i include a HTML Page into another HTML page. I searched all the net, and no luck.
Thanks,
Sree
Hi All,
We are developing a pure java application. And we are distributing the object code over the Internet. How can i protect my code from being reverse compiled.
I mean after reverse compilation, they will get the source code, and then they can change it as they want.
How can i over come this one..
Thanks,
Sree
19 years ago