| | |
netbeans problem
![]() |
What are you trying to accomplish?
I don't have Netbeans installed here (don't like the product, too slow and cumbersome) but you should be able to add the requires jar to compile them like any other.
If you want to have Netbeans generate a web application it should automatically do that for you and set up your web.xml and server environment as well (if Netbeans supports such options, I think it does by now).
I don't have Netbeans installed here (don't like the product, too slow and cumbersome) but you should be able to add the requires jar to compile them like any other.
If you want to have Netbeans generate a web application it should automatically do that for you and set up your web.xml and server environment as well (if Netbeans supports such options, I think it does by now).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
hi
it does everything automatically. I have a page where someone should enter their names, it should read the servlet to display the names or store it. But it does not read the path it says 404 error servlet not found. I think it is something to do with the path name in action, i couldnt figure it out.
it does everything automatically. I have a page where someone should enter their names, it should read the servlet to display the names or store it. But it does not read the path it says 404 error servlet not found. I think it is something to do with the path name in action, i couldnt figure it out.
•
•
Join Date: Jan 2006
Posts: 3
Reputation:
Solved Threads: 0
Hi,
Have you sorted out your problem? I have a similar problem and it is for my college project. Please let me know if you have managed.
My email is brcvogt@yahoo.com
src/java/Bradshaw/servlet/LoginServlet.java
And the action property in my form tag is as follows:
<form name="Input" action="http://localhost:8084/servlet/Bradshaw.LoginServlet" method="post">
I do not know hot ot do this correctly.
Regards,
Brendan
Have you sorted out your problem? I have a similar problem and it is for my college project. Please let me know if you have managed.
My email is brcvogt@yahoo.com
src/java/Bradshaw/servlet/LoginServlet.java
And the action property in my form tag is as follows:
<form name="Input" action="http://localhost:8084/servlet/Bradshaw.LoginServlet" method="post">
I do not know hot ot do this correctly.
Regards,
Brendan
•
•
Join Date: Jan 2006
Posts: 3
Reputation:
Solved Threads: 0
Thanks for the quick reply!!
In my web.xml file I have the following:
<servlet>
<servlet-name>LoginServlet</servlet-name>
<servlet-class>Bradshaw.servlet.LoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/LoginServlet</url-pattern>
</servlet-mapping>
Is this correct?
Regards,
Brendan
In my web.xml file I have the following:
<servlet>
<servlet-name>LoginServlet</servlet-name>
<servlet-class>Bradshaw.servlet.LoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/LoginServlet</url-pattern>
</servlet-mapping>
Is this correct?
Regards,
Brendan
•
•
Join Date: Jan 2006
Posts: 3
Reputation:
Solved Threads: 0
Still not working, unless if something is wrong in my web.xml file? I've posted this as well. I don't usually work with java, but it's for my college project.
•
•
•
•
Originally Posted by jwenting
that would be Bradshaw.servlet.LoginServlet which would need a mapping in your web.xml deployment descriptor as well.
0
#10 Oct 11th, 2009
•
•
•
•
hi..
i m using netbeans 5.whenever i try to run any jsp/servlet /html file in netbeans,an error occurs "port 8084 is already occupied.but in 8084,apache tomcat runs.still the files does not run...
Execute
Java Syntax (Toggle Plain Text)
netstat -aon | findstr “8080″
In my case last data in executed command stands for process ID (PID) was 3016. Next is
Java Syntax (Toggle Plain Text)
tasklist | findstr “3016″
If you got java as return then you have already running instance of Tomcat and you need to use Administrative Tools >> Services to shut down this instance. In case it is different application you need to configure either application to use different port of NetBeans to open Tomcat on different port
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- Can't Get Proper Input From User (Java)
- linux/netbeans problem with default color covers set color of JTabbedPane (Java)
Other Threads in the Java Forum
- Previous Thread: Hi friends can anybody tell what is the diff bw clone() and copy
- Next Thread: NEED HELP!!!
| Thread Tools | Search this Thread |
911 addball addressbook android api append applet application apps array arrays automation binary bluetooth businessintelligence button card class client code collision component crashcourse css csv database eclipse ee error fractal free ftp game gis givemetehcodez graphics gui html ide image integer integration j2me japplet java javaarraylist javadoc javafx javaprojects jni jpanel julia jvm linked linux list loan machine map method methods migrate mobile netbeans objects oriented output phone physics printf problem program programming project projects radio recursion replaydirector reporting researchinmotion rotatetext scanner se server service set sms software sort sql string swing test textfield threads tree trolltech ubuntu utility windows






