Questions tagged [servlet-3.0]

Java Servlets 3.0 is a new API that supports extensibility/pluggability, Ease of Development (EoD) using the newer language features, Async and Comet support, Security, and other features being as part of the revision for Java EE 6.

Version 3 of the servlet API adds the following to version 2.5

  • async response
  • multipart support
  • annotation configuration (no web.xml)
  • generics in the API
  • resources (including JSPs) in JARs under META-INF/resources

Links

941 questions
-2
votes
2 answers

SEVERE: A child container failed during start tomcat8

I wrote a simple sevlet program. When I am trying to deploy the same in tomcat I am getting the below error. I have tried by removing annotations. SEVERE: A child container failed during start java.util.concurrent.ExecutionException:…
user3927150
  • 61
  • 1
  • 2
  • 9
-2
votes
2 answers

Insert Data In Oracle DataBase

//in context listener Statement stmt; try { Class.forName("oracle.jdbc.OracleDriver"); Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:orcl","abc", "abc"); stmt = conn.createStatement(); …
-2
votes
2 answers

Application server with servlet 3.0 support..?

I need an Application server with Servlet 3.0 support.. Currently I am working on Tomcat but I need to know some other application servers which support Servlet 3.0.. Please help me if known
sasikals26
  • 835
  • 2
  • 18
  • 41
-3
votes
1 answer

I can't use HttpServlet T-T

I can use Servlet, it is nothing wrong: this is my Servlet code: Configuration of web.xml: But when I use HttpServlet, the mistake happened: this is My HttpServlet code: and this is Configuration of it: I already inspect the things all i…
李雨泽
  • 3
  • 4
-3
votes
1 answer

JPA Development tools

i use apache tomee, Java EE 6, servlet 3 and when i start the server tomee i have this errror: Server TomEE Server at localhost at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the…
user1528481
  • 45
  • 1
  • 4
-4
votes
2 answers

how to remove the value from the list

Here my Code: int ii = 0; HTMLOption[] options = new HTMLOption[zoneList.size()]; for (AuditPlanSch zone : zoneList) { System.out.println("Before Temp====" + tmp.getZoneCode() + "---list-" + zone.getZoneCode() + "----iii" + ii); if…
-4
votes
1 answer

Send jpg image from ANDROID to servlet

I am making an Instagram like application for my college project. CLIENT = Android SERVER = Servlet I want to send an image from android to servlet. I just need the image send and revive code. I have figured out the rest. Thank you for help.
user3921255
  • 41
  • 1
  • 2
  • 5
-4
votes
1 answer

Java servets request.getMethod() not working

Hello I am trying to create a simple servlet as follows import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Form extends HttpServlet { public void doGet(HttpServletRequest req,HttpServletResponse res) throws…
-4
votes
1 answer

how to remove "resource not found error in servlet"?

welcome user

jin
  • 3
  • 3
1 2 3
62
63