Netbeans Jetty servlet configuration

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

agrios
Posts: 18
Joined: 20 Oct 2010, 20:42

Netbeans Jetty servlet configuration

Postby agrios » 03 Jul 2011, 15:15

We are trying to implement SFS embeded Jetty servlets with Netbeans.

We use Jetty plugin for Netbeans, but when we try to point it to SFS embeded Jetty, it does not recognize LIB with jars as Jetty server.
Could somebody share hints on how to configure this whole thing?

EDIT:
We try to run this example:
http://www.java-tips.org/java-tutorials/tutorials/introduction-to-java-servlets-with-netbeans.html

We were able to create simple Hello World servlet and run it on Tomcat,
but the same servlet will only work half the way on SFS Jetty. We can execute
index.jsp file but we can not pass variables from it to the actual servlet class.
I think:

Code: Select all

<form action="JettyServlet" method="POST">

has some path problem and never reaches the class.
this problem does not seem to matter on Tomcat or Glassfish.

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 77 guests