samir vasani

Ranch Hand
+ Follow
since Nov 24, 2010
Mumba,India
-
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by samir vasani

HI,
My Application throws below exception message on production but it does not throw the same exception on stage server.
**

> CallableStatementCallback; uncategorized SQLException for SQL [{call
> dm_mobile_pkg.is_user_provisioned(?, ?, ?, ?, ?, ?, ?)}]; SQL state
> [null]; error code [17008]; Closed Connection; nested exception is
> java.sql.SQLException: Closed Connection

**

I doubt that when number of user requests increases so connections also increases which causes insufficient connection to be used.
Please do let me know if you need some more information.
Thanks in advance
5 years ago
Hi,

I would like to know the difference between ? and T/E.
Example:
I have a below method .




so i would like to know the difference between these 2 declaration.

6 years ago

Jesper de Jong wrote:Ok, you looked at the documentation and you did not get "the required information".

What exactly is "the required information" - what exactly do you want to know that you could not find in the documentation?

API docs of RevisionRepository



Hi,

I read the same docs before you put here.
It does not have sufficient information who reads it for the first time.
So if you have some material which can help for beginner then please post it here.
7 years ago
Hi,
Recently i came across RevisionRepository interface of Spring Data Jpa.
I have gone through spring documention but did not get required information.
Please give me more reference for this.
7 years ago
Hi,

Currently i am using following syntax which give me output in YYYY-DD-MM.



I need output in MM/DD/YYYY.
Please help me out to solve this.
Hi Expert,

I would like to know the difference between duo.
I searched a lot on google but did not find satisfactory result..
7 years ago

Mark Spritzler wrote:Model is an interface. ModelMap is an implementation of the Model interface. ModelAndView is a Model and also has a String to store the view string. ModelAttribute is an attribute in a Model to get it out. ModelAttribute is an Annotation.

Basically when you have data in code and you want to make that data available to the rendering of your jsp page, you need to put that data somewhere so that it is available. That is what a Model is for. To hold that data you retrieved in your code. It is just a glorified map.

So example, I have a form with a backing object with data. The form has three drop downs that I also need data to fill the drop downs. That is 4 different objects. 3 Lists for the drop downs and one object for the form backing object.
If my code gets all this data, I put them into the Model's Map and now I can use them on my jsp page.

Mark



Dear Mark,

I am not fully convinced by your answer.
Can you please elaborate more.
7 years ago
Hi Expert,

Kindly let me know
What is the difference between autowire and dependancy injection
8 years ago
Dear Expert,

Please explain me with the example.
Hi Expert,

I am a spring beginner.
And i m sefl studying it.
Can you please suggest me some good books(or ebook) for Spring Beginner?
8 years ago
Hi Expert,

I would like to know what is the use of two parameters in forward(request,response).
It is understood that request is required as i am forwarding the data from one place to another place and that is also to do process something on the that side(jsp/servlet).
But once i forward the data it never comes back so i think no need for response object.(Correct this if i am wrong).
So please explain the reason of using response in forward method.
9 years ago
Hi expert,

Recently i complied a xyz.jsp file and tried to check xyz_jsp.class in tomcat /work folder for but did not create.
There were already some .class files at this location.
But for this newly created xyz.jsp there is no such xyz.class.
Where this xyz.class file should be located?
9 years ago
Hi,

I am looking for tomcat enterprise edition.
Please do let me know if any one can tell me .
Please provide me necessary ink,docs etc...
9 years ago