Ramesh Chandra

Greenhorn
+ Follow
since Oct 20, 2005
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ramesh Chandra

it was not written in the form.. i wrote that one in the Filter class.
14 years ago
JSP
Hi,
I'm working on a application where the user will enter his data and submits the application. If he misses out any mandatory field he will be asked to fill it and re-submit. After re-filling the form and submitting the form if he clicks on the back button, all the form-data is still visible. I donot want this to happen. If he clicks back button then he should be displayed with blank form. This is working if he submits the form correctly without missing the mandatory data. Request you to help me out.
FYI.. I've used all the below options.. but it did not work. Quick response is highly appreciated.

httpResponse.setHeader("Pragma","no-cache");
httpResponse.setHeader("Cache-Control","no-store");
httpResponse.setHeader("Expires","0");
httpResponse.setDateHeader("Expires",-1);
httpResponse.setHeader("Cache-Control","no-cache");
httpResponse.setHeader("Cache-Control", "max-stale=0");
httpResponse.setHeader("Cache-Control", "private");
httpResponse.setHeader("Cache-Control","must-revalidate");
httpResponse.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
httpResponse.setHeader("Cache-Control","post-check=0, pre-check=0");
14 years ago
JSP
hi fedai,
u can tryout the simplewire protocol for sending SMS from java.
Just download the SDK and u will have some samples for executing
u can reach there at www.simplewire.com

Bye
Ramesh Chandra
18 years ago
Hi all,
i'm doing a project where i need to track the incoming mobile carrier and also the phone model.I'm using Logica SMPP API.

any help in this regard vud be highly appreciated..

Thanks in Advance
Ramesh
18 years ago

Originally posted by Jeanne Boyarsky:
[QB]Ramesh,
It sounds like the database part of that is to use a Statement to get the URL (String value) of a column. Then you load the image in a Servlet and output it to the HttpServletResponse.

Which of these steps are you asking about? What do you have so far?

Hi Jeanne,

My problem is solved in one way i.e., to store the URL of the image in the image field of the database and retrieving that URL in the for of a string in an <img> tag for a jsp page.

Now,
I want to store the image itself into the sql-server database as it is having image datatype and then retrieving that image onto a JSP page.
Hope u got my point.
Any help for you would be appreciable

Ramesh....

Hi all,

i'm doing a program where i'm storing the location of an image using browse button in my welcome page into sql-server.
Now i need to display the image present in that location onto browser either using servlets or JSP.

Any help in this regards would be appreciable

Thanks in advance
Ramesh

Originally posted by Jesper de Jong:
Ramesh, did you understand what Ulf and Ben explained?

It's not just a matter of extending GenericServlet. Normally, you have a servlet container that listens for HTTP (and HTTPS) requests. If an HTTP request is received, it calls your servlet.

If you want your servlet to be called when a client tries to contact the server via a different protocol (FTP, SMTP, whatever), you need to have server software that listens on the port for the protocol you want to use, and that software has to be able to call your servlet.

There's no ready-made server software available that can do this, so you would have to write it yourself. So it's not just a question of making your own SmtpServlet that subclasses GenericServlet.



Hi Jesper,
Thanks for ur reply
Ur Explanation is very clear.
It would be more helpful if u can explain me say for an FTP protocol to be implemented by a servlet what all needs to be done i mean what are the additional classes or interfaces that are to be implemented or extended and other related stuff that needs to be done......
18 years ago

Originally posted by Ben Souther:
You would need to learn all the ins and outs of that protocol and build a servlet container to handle it.



Hi Ben,
if we take for a instance...
For implementing an Http Protocol we use HttpServletRequest. In a similar way for implementing FTP or SMTP what class or an interface need to be implemented or Extended... and in what situation we use these protocols
18 years ago

Originally posted by Albin Joseph:
Hi

You can use any type of protocol like FTP, SMTP with GenericServlet. But Sun is providing implementation only for HTTP protocol. So if you want to use FTP with servlet , then extend GenericServlet and provide the necessery implementations




Hi Albin,
Thanks for ur post. I would like to know how do we provide implementations to a servlet that uses other than Http Protocol

18 years ago
Hi all,

What are the protocols that are used by Generic Servlet and their purpose..

I know that a Generic Servlet can use all types of protocols....
I just wanna know which protocol is used for which purpose by an Generic Servlet..


THanks In Advance...........
18 years ago
Hi all,

I would like to knpw how to call native methods in JSP..
in which part of the JSP page can i call the native methods and the procedure of calling it

Note: I'm Using Tomcat Webserver

THanks in Advance


18 years ago
JSP
Hi Friedman,
Thnx for posting me a detailed solution but i have one doubt regarding overloading in the enduser perspective...

generally our understanding is that in overloading , which method is to be called is decided during compile time... but we are passing the values to these overloaded methods during runtime. depending on the values that we give at runtime the proper method will be invoked...

this sounds like dynamic polymorphism as the method to be invoked is decided during the runtime depending upon the values we pass.

hope u understood my probs
18 years ago
Hi all,

i would like to know whether method/operator overloading comes under static polymorphism or dynamic polymorphism....

i request you a detail explanation

thnx......
18 years ago
Hi,

I would like to know what is the actual purpose of extending the EJBObject in a Remote Interface program in EJB.....

Originally posted by Ben Souther:
Ramesh,

Explaining how to write a search engine is a bit beyond the scope of a JSP forum. If you're new to servlets or JSP, you might want to start out by looking for some tutorials to get you rolling. Then, if you get stuck on a particular problem, or if there is a concept that you are struggling with, by all means ask about it here.

If you're looking for a third party product, you might consider looking at Apache Lucene:
http://lucene.apache.org/java/docs/



Hi Ben,
Thanks for giving a good suggestion... Hope i vl get back to u again while working on my project on Search Engine
18 years ago
JSP