 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
dolpheen@gmail.com Guest
|
Posted: Tue Jan 10, 2006 10:05 am Post subject: Posting data using servlet by Netbeans 4.1 |
|
|
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 |
|
 |
|
|
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
|
|