AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Posting data using servlet by Netbeans 4.1

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools
View previous topic :: View next topic  
Author Message
dolpheen@gmail.com
Guest





PostPosted: Tue Jan 10, 2006 10:05 am    Post subject: Posting data using servlet by Netbeans 4.1 Reply with quote



Hello,
I am using Netbeans 4.1 for Servlet Processing.
An HTML file accepts some input from the form and transfers it to a
servlet
and servlet posts it to a HTML documents.

The form tag of the html file accepting data is:
<form name="form"
method="post"
action="http://127.0.0.1:12769/servlet/Servlet2Post">

The java files containing servlet code compiles and class file gets
created.
I was able to do the task using servletrunner provided by Sun.

But when I use view menu of html document in Netbeans, and input some
data to the html,
servlet does not executes and displays a 'The Page cannot be displayed'
message.

The servlet when executed separately without html, gets executed.

I am sure that Apache Tomcat is running.

How to do it using Netbeans?

Please help.
-Sameer

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.