nandini lagunia

Ranch Hand
+ Follow
since May 05, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by nandini lagunia

Hi,
I don't know whether I am putting query in the right section.

I am a java programmer and currently working in a project pertaining to banking domain.

Is there any certification which would benefit my career growth?

Thanks in advance.

Bear Bibeault wrote:Making us guess what the differences are isn't going to get you much help.



lol...
Right!!!

Shall I paste both the contents?
13 years ago

Jesper de Jong wrote:You are not wrong.



Then why are the contents not equal?
13 years ago
Hi,

I am trying to fetch the contents of a web page programmatically by using java.net.URL class. After opening the stream for the url, I am able to read the contents. I am of the opinion that this content should exactly be same as the contents of the page source.

Am I wrong? If yes, then what are the differences between those two contents?
13 years ago

Bear Bibeault wrote:That is not necessary.

Simply implementing doPost() and not calling the super method should be sufficient.



thanks Bear!

That did the trick.

Would you please tell me why the problem occurs when I make the call to super?
13 years ago
<servlet-mapping> element in web.xml can contain only <servlet-name> and url-pattern.

The schema doesn't allow me to put http-method tag inside it.
13 years ago

Swastik Dey wrote:May be this helps

https://coderanch.com/t/378707/java/java/Http-method-post-not-supported



Hi Swastik,

I have already overridden the doGet and doPost method in the servlet.
13 years ago
oops! my bad.

I removed that but the problem persists.
13 years ago
Hi,

I am trying to build a web application from where file can be uploaded to the server.

the html page looks like as follows:-




The web.xml file looks like:-



I am usging tomcat 6.

I have written a FileUploaderServlet that writes the file to the server's local directory.
The FileUploaderServlet looks as follows:-




Everything works fine and I am even able to get the file on server. But once the doPost() method of the servlet completes, it gives me

HTTP Status 405 - HTTP method POST is not supported by this URL.

Any idea where things are going wrong?

13 years ago
Thanks Bear for the help.

I'll keep your suggestions in my mind.
13 years ago
JSP
Hi,

I have a html page from where I am trying to call a servlet.

the html page looks like as follows:-




The web.xml file looks like:-



I am usging tomcat 6.
Now when I submit the html form, it ideally should invoke the servlet but I am getting "The requested resource (/servlet/FileUploaderServlet) is not available." instead.
The snapshot of the directory structure of my web application can be found in the attachment.

Can anyone give me any pointers where I am committing the mistake?


13 years ago
JSP
Thanks Ashokan!!!

I want to configure the session timeout interval through weblogic 8.1 server console.
Explored all the options but failed to find any option that would allow me to set the
session timeout period.

If you or anyone have any idea about it, please share that with me.

Thanks in advance.
14 years ago
Hi,

I have created a web application and deployed it on weblogic 8.1 server.
I want to change the session timeout period. I know that it can be changed by
changing the value in web.xml or weblogic.xml

Can I change the session timeout value through weblogic console?
14 years ago
okk...

That means I'll have to skim through .bad and .log file to display the errors.
14 years ago
Yeah... a bad file is generated.
But my question is will I have to skim through the generated .bad file in order to find if any error has occurred during data loading??
14 years ago