Prashant Chindhade

Ranch Hand
+ Follow
since Jan 19, 2011
Merit badge: grant badges
For More
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Prashant Chindhade

How to call controller url from application-context.xml or spring-servlet.xml ?

I want to run Job using Job launcher and that job is the URL for the controller. Can anyone help me out in this?
11 years ago
Hey thanks for your reply.

I got a new router and set a rule in it. if request is came from client about particular domain that router will redirect it to linux server.

thanks
Prashant
11 years ago
Please post the error you are getting. only than we can solve your error.
11 years ago
hi all,

I have application and I have linux system. I have one static IP which is actually a domain name for my website.
Now I want to configure linux system such that when user types my domain name in his/her browser, he/she should be able to access my web application which is actually running on linux system.
In short mapping of static ip to linux system.

thanks in advance. waiting for reply.
11 years ago
hi Monica. Shiralkar,

No its not necessary that every time you should return ModelAndView object. you can also return Map or List.

and string(which will be accounted as view name).

Suppose you are doing Ajax call to controller and you want list of objects returned from controller than you need to put @RequestMapping annotation(if you are using Spring MVC 3.0 or above) before controller method name that you want to call.

thanks
Prashant
11 years ago
Hi everyone,

I need to configure JDBCTemplate in Spring MVC 3.0. It is throwing following exception.



i have app-servlet.xml like this.




I have put mysqlconnector.jar in WEB-INF/lib folder with commons-dbcp-1.4.jar also still it is giving me error.
can anyone help me to resolve this.

Thanks in advance
Prashant
11 years ago
Hi everyone
I am new to spring MVC and I am using spring MVC 3.0.4.

I need to use jdbc with mysql server.

can anyone provide me link for step by step tutorial for configuration. it will be helpful for me.

thanks
Prashant
11 years ago
Hi all,

I am new to Spring MVC. but i have a requirement to show word, Excel and pdf files on my ftl file.

I read article showing the use of view resolver for the same but i didn't get it. can anyone please explain me about this?

I didn't try any codes so please suggest me any way of doing these.

thanks
Prashant
11 years ago
Actually what problem do you have ...?? I am unable to understand it.
11 years ago

Himanshu Bhatnagar wrote:Hi,
i know that if my Application server is down i can configure web.xml to display an custom Error page ..!!
but what to do if
case 1) My Web server is down how could i be able to display an error. but Application server and DB connection is UP
i have to 1 web server and 1 app server with me .!!

can some thing be done on load balancer or cluster..!!

case2)
Both Webserver as well as Application server is down




how will your error page which is in your application deployed on web server will be rendered when this web server is down. your browser will not be able to connect to your application. I think you can't do anything about it.

if you application is down than you can show error page.
In your web.xml write this.


for each error code the procedure will be same.
12 years ago

Habeeb Shaikh wrote:hi, Set your application scope to per request so whenever you hit your application URL it will redirect to login page.


can you explain it ?? i want to know.
12 years ago
@Kunal and @Winston: Actually i didn't notice the error at first.
but next time i will take care of everything.
thanks for noticing my error.
12 years ago
Check this Link

it will show you basic steps to connect to database. read full article and than start development.
12 years ago
which database are you using?
12 years ago