sam backet

Greenhorn
+ Follow
since Sep 02, 2011
sam likes ...
Android Java Linux
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 sam backet

Hello,

I want to override a bean from a stored Procedure.



Have anyone an idea, how I can solve it. I try it with an xml,



but it doesn't work, because of the following message:



Is it possible, that the system can't find it, because I don't set all the properties of the parent classes of BaseStoredProcedure?

I think about that, because, the folllowing works:



So I used the same class to check it out.

bye

sam
10 years ago
It doesn' work, because I'm using the WebRequest from HMTL-Unit. and there is no "request.getSession"?

And if I use the WebRequest from class "HttpServletRequest" I don't know how to initialize the client. and send the message.

Do you know, how I can solve it?

michael
10 years ago
Hello,

I have a problem. I'm using a webApplication, which I run via a Jetty-Server
Now I want to send Requests, to test the responses.



But, I don't undersatnd it to change the session. A class of my application calls an attribut from the request. How is it possible to change the atrribut in my request.




Sam
10 years ago
Hello,

I want to build a test Suite for my integration tests in java. The special thing is that I want to start the spring context, run several tests in different classes and finally stop the spring context.

I'm using maven3. Maybe it is possible to use my pom.xml

Do anyone know, how I can solve it.

Thanks

Sam
10 years ago
Hello,

I have the following problem.

1. CODE



2. TEST



3. XML



How can I start the springframework with the class..Is that right?
10 years ago
Hello,

I want to use the Spring to test classes. But I get the following error. The path is correct.

java.lang.IllegalStateException: Failed to load ApplicationContext

- IDE: Netbeans 7.0.1
- MAVEN 3


TEST


XML
10 years ago
thank you.

sam
10 years ago
and how can I solve it..my problem is, that if I do, what you say..my main class"help" will be confused.

There are more than 3 innerclasses..and this is not good.. Maybe it works with an other syntax..not only with help.java...

?

thanks

sam
10 years ago
I thought, maybe it is possible to work with "extends"

10 years ago
thats good thanks..

and now I want that the subclasses are outside. maybe in an another package..

sam
10 years ago
Hello,

I want to implement a static method call like that:



I want to have a mainclass "Help" and many subclasses.

How can I do it.

thanks

sam
10 years ago
Hello,

I have a Java-Code with SQL-Statements. I want to test it with Junit...How can I do it..

Example:


thanks

sam
10 years ago
I have the same problem and use Ubuntu..can you help me..
10 years ago
Hello,

I have a problem. I'm using Netbeans/Maven and try to start Selenium..


----------
I always get the following error, when I start the test:
Could not start Selenium session: Failed to start new browser session: Error while launching browser

Whats wrong:

thanks a lot
10 years ago
yes, it works, but why....?

thanks ..

sam
10 years ago