Srinivasa Maddi

Ranch Hand
+ Follow
since Apr 18, 2007
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 Srinivasa Maddi

Hi

I have a login form. If user inputs invalid data he wil get an alert. Once the user clicks ok on the alert box i want the wrong data on the form to be reset. How to do please let me know
Hi

When i run my server(oc4j10.1.3.n) from within the eclipse ide in debug mode its running very well but the moment when i right click server and say publish its hanging forever with the stautus as "Waiting for virtual machine to exit". I checked the Ant home is properly set under Windows->Preferences->Ant->Runtime.

Thanks in anticipation.

Regards,
Maddi
reason being, my requirement is demanding me not to go with any third party software though its free.
15 years ago
Hi there,

I wrote a servlet which will upload a text file but failing if the file size exceeds 1KB.


When i debugged, i found its failing in the while loop. Can one one tel me where i was going wrong.
15 years ago
Hi

I am using eclipse3.4. When i rightclick on servers->publish then i can see my ide is generating both a war and ear file on the server. But i want only a war to be generated on the server. How to edit my publish properties

Regards,
Srini
No it dint work. See my dd
15 years ago
But its working very fine without the enctype attribut , however i am getting the same error inspite of using <form action="TempServlet" method="PUT" enctype="multipart/form-data">
15 years ago
Thanks All,

But my problem still persists.
Question to Bharat : Even i tried the same (to be frank : just copy paste i have done )after you, but the control is not going to my servlet atall. Simply i am getting

The page cannot be displayed
The page you are looking for cannot be displayed because the address is incorrect.


After you submit the form how the url should change?

15 years ago
just file name and moreover here i was asked not to go with any third party jars.
15 years ago
Hi
When i try to read one of my html field(of type file) value from within the post method of HttpServlet its returning null.

My html code..



My servlet code..



Output: null

Any clue for this???
15 years ago
If it was supposed to be posted in the earlier thread then i will do take care these kind of things in my next post. Here i am looking for some help in coding perspective and also this should be a standalone program without any third party jars.
15 years ago
Hi,

I have been asked to write a standalone java program which should upload/download any given file to/from an AppServer using a given protocol(its upto the client i.e it can be http, https, ftp, sftp). I have to write a single java file with these protocol specific methods. Kindly suggest some code.
15 years ago
Thank you all.
Rob, can you tell me if i go for SFTP, what all parameters (i.e server name, user, password, etc ) do i need to know.
15 years ago
Hi

My manager asked me to suggest some best ways to upload any kind of file to an AppServer (any protocol is ok). But he want me to justify the reason for whatever the way i suggest. I dunno how to answer him. The client can be either in intranet or internet. Can anyone help me

Regards,
Srinivasa
15 years ago
yes because i want my file to be placed in that folder.
15 years ago