Rishabh Shah

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

Recent posts by Rishabh Shah

Thanks Rajdeep Biswas !
11 years ago
well, Stephan..thanks for reply..
but, I had query that why does s3 not check same thing as it checks for s2 ..whether "Rishabh" exists or not..
anyways, I am clear now..
11 years ago
Dear All,

Hope you are doing good..
Have a query...




when s3 is created, it checks in string literal, whether "Rishabh" is exits or not.. and if its exist, s3 will refer same object of s1.
now, In case of s2, why does not happen, even if "Rishabh" is exist......I know s2 is creating and having different object..but, why so....
11 years ago
Ok...Thanks A Lot !
12 years ago
Are they all written in Java? Yes
Are they running on the same intranet or is it over the internet? Internet
Are they running on the same computer? NO
12 years ago
I give you an example. I search flight for tonight 10 o'clock. and it will give me list of different flight of jet airways, kingfisher, air India. so, this data comes from another server. How can I display those data from another sever ?
12 years ago
Hello Everyone,

I am currently working on a project. which is online booking application of air-ticket by agents. In this project, When user search for any flight, it gets data from another server. and it gives data on page about list of flight which is available. I want to do same thing. how can i do that ? and what does it call ?
12 years ago
Thanks to all of you !
12 years ago
i did nt knw tht's s i asked..neways..thanks...
12 years ago
Dear All,

I want to start dekstop application in swing. I am not expert in it to make swing application. I just want to know which framework I should use as we use MVC framework, or any other framework for web-application. and want some details regarding this. so, can get some ideas.


My application concept is

There would be one form in a window. It requires to be filled up. after click on submit, I want to generate pdf or word file to print out. Its simple application, but, need help. and should I use only JDBC, or can I also use hibernate with dekstop application ?

Regards,
Rishabh Shah
12 years ago
Hello Everyone,


I want to make feedback form in a web-page. I want to do like that when any visitors fill feedback, I should get his feedback in my E-mail id. I have gone through web-search. I did not get any idea. I don't want to do like coding in java, and store feedback in my database. I want feedback in my E-mail id. Any one can give me some an idea ?

Regards,
Rishabh Shah
Hello Everyone,

Happy new year all of you,



I am making one website. Its demo website. URL is http://onlinemedicineshopping.jelastic.com. I have completed only 10 %. Now, The thing is, When I make new user, and submit, it redirects on my login page. but, When I click on back button, It gives me following error.

Note : I have not put any client side validation yet.

SEVERE: Servlet.service() for servlet SimpleCaptcha threw exception
java.lang.IllegalStateException: Cannot create a session after the response has been committed
at org.apache.catalina.connector.Request.doGetSession(Request.java:2381)
at org.apache.catalina.connector.Request.getSession(Request.java:2098)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844)
at nl.captcha.servlet.SimpleCaptchaServlet.doGet(SimpleCaptchaServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)



I know why is it happening..I also show you my code of servlet.


As you can see above, I get all the parameters in request,

1) I check Capcha on this servlet class. and becuase of this capcha..I am getting this problem.
2) I have used only response.sendredirect only..and In remaining code, I have used just response.sendredirect..but, can anyone tell us, in real time application, when do I use sendredirect or requestdipatcher. some of programmers say you can also use only sendredirect..but, I still want to know, In which situation I should use... ?
3) If I get any exceptions or error from any servet, or any other class, how to handle it on jps page...

Please reply..and also tell me whether I have used logic correct or not..and give me suggetions.


If you don't get anything, please let me know...

Thanks
12 years ago
Thanks A Lot

Rob Spoor
Ernest Friedman-Hill
Cole Terry


for your help ! and to make my fundamentals clear.

12 years ago