iDenTiTy
Expert Member
I feel so lost.

I have never developed with Java, and now am supposed to create Webservices for a Website bla bla bla..
So here's my code (for now - just to see how things look):
How do I test the above testapp.java package in Eclipse?
Like in Visual Studio had 'build' and I could see what was happening in C#..

I have never developed with Java, and now am supposed to create Webservices for a Website bla bla bla..
So here's my code (for now - just to see how things look):
package test;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
@SuppressWarnings("serial")
public class TestApp extends HttpServlet
{
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
{
String data = req.getParameter("data");
PrintWriter out = resp.getWriter();
if (data == null)
{
out.println("success");
}
else
{
out.println(data);
}
out.close();
}
}
How do I test the above testapp.java package in Eclipse?
Like in Visual Studio had 'build' and I could see what was happening in C#..