0

I get into the problem. Please help me to solve it!

I don't know if I imported the two libraries well! -> my setup Depend on the picture, look at jersey-media-multipart-2.17.jar and mimepull-1.9.3.jar, are they become libraries yet?

Web.xml seems like didn't accept my init-param may I had put wrong:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <session-config>
            <session-timeout>
            30
            </session-timeout>
        </session-config>
<servlet>
    <init-param>
        <param-name>jersey.config.server.provider.classnames</param-name>
        <param-value>org.glassfish.jersey.media.multipart.MultiPartFeature</param-value>
    </init-param>
</servlet>
</web-app>

How to place init-program into the Web.xml? Because it is not accept what I have place it.

Error: Error occurred after run

I have stucked long time ago without solution. I hope someone give me solution!

Thank you very much for your help!

Sarith Nob
  • 43
  • 8

0 Answers0