Anupama Rao

Greenhorn
+ Follow
since Aug 04, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Anupama Rao

When I delete files on a remote server, which recycle bin do they fall into. What I have seen is they neither fall in the system from where they are being deleted nor in the system on which they are deleted. Where do these files go? can anybody please explain.
24 years ago
Thanks Bodie and Bill I would further like to know if there are any links which give more info on Cold Fusion....
Anupama Rao
These days I come across a lot of .cfm files on the net. What are they. can anybody please explain this to me?
To what I have understood, Http protocol is stateless because, once the data packets reach the destination, the connection with the server gets disconnected and only on the next request does the communication starts. To be more clear let us talk of a phone call made. Here, when there is a ring on the phone, we pick it up to talk. The person on the other end says hello. The phone line is still active when this response is caught and is sent to the receiver and continues till you credle the phone. This is a statefull session. But in case of an Http protocol, once the message is sent, it is divided into packets and the packets are sent to the detination and the connection is closed once this process is trough. It again gets activated for the next request. The basic advantage ot this is to provide a better speed of the data by letting the channel free for other requests. Hope this explains the http protocol in a lay man's language. Please let me know if I am wrong.
Hi!
I would like to add some more to what deekasha has said. I guess the JVM is operating system specific. i.e, it is different for different operating systems, say one of windows, different for machintosh and so on. The JVM reads the universally accepted bycodes into the machine language and so can we see the same output in all the operating systems.
24 years ago
Hello Anjan,
For what I know, an Applet comes and sits in the browser's cache from the server and gets executed at the client. No sessions management is really required unless you are sending the data from an applet to the server.
24 years ago
Hi sandeep
Thanks for the response. I will try this out.
ANupama Rao
24 years ago
Hello friends.
I have designed an HTML Form and have been sending the data to the database thru a servlet. Now, I intend to send the form contents to the concerned email ID's Inbox. This should be possible. But I don't know how this is done. Can anybody guide me thru this.
Thanks in Advance...
24 years ago
Hi, ChandraMohan and Loke.
Thanks for this response. I am sending the pseudocode. The idea of generating the HTML thru the servlet seems to be an option that can be looked for.
But do suggest me on sendRedirect() too.
Thanks for this.
import sattements;
class abcd extends HttpServlet
{
variables;
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
{
try{
Driver Manager;
Statement Objects;
Connection Object;
Data Insertion;
}catch(Exception e){}
String name="Confirmation.html";
res.sendRedirect(name);
}
}
24 years ago
Mohan,
Let me be more clear on this. The flow goes like this.
1.Data is entered in the html form.
2.On submit, the servlet is activated. We have used the doPost method in the servlet to take the data into the database.
3.The data is going to the database.
4. Once the data is inserted, the servlet is redirecting an acknowledment.html page in a new window.
The problem is, we have used the same logical flow for other applications. We were getting the confirmation in the same window. Now, in the current application, the confirmation is shown but not in the same window. Can this be expalined as to why this is happening even if we have not sepcified any target? If I am not wrong, there is no feasibility in the sendRedirect() to set the target.
I hope this is clear. Please answer back.
Regards
Anupama Rao
24 years ago
we have designed a form whose details are taken to a database thru a servlet and an acknowledgement which is html page should be redirected back thru the same servlet.but unfortunately it is opening in a new window even if we have not specified any targets.why is this happening. can anybody help??
24 years ago
Thanks jply.
It was of real help.
Further, is there a feasibility to run the java program in the editor itself? If yes, can you please suggest.
24 years ago
I am making an editor in AWT in which I intend to compile the javaprogram being in the editor only. I understand that I will have to use the compiler class method compileClass(Class obj). To create a Class obj I use the ClassLoader,defineClass(String s,bytes b, int start , int length). But the class object is not being created on compilation. Can anybody help me and suggest me. I wud basically want to know if I am on the right track.
24 years ago