Click here to Skip to main content
15,885,435 members
Home / Discussions / Java
   

Java

 
Questionjava Pin
dina rajab28-Oct-12 0:11
dina rajab28-Oct-12 0:11 
AnswerRe: java Pin
Richard MacCutchan28-Oct-12 0:23
mveRichard MacCutchan28-Oct-12 0:23 
AnswerRe: java Pin
TorstenH.29-Oct-12 0:38
TorstenH.29-Oct-12 0:38 
AnswerRe: java Pin
April Fans26-Dec-12 17:13
April Fans26-Dec-12 17:13 
QuestionForcing Eclipse webapp home page when debugging Pin
kmg36526-Oct-12 11:53
kmg36526-Oct-12 11:53 
AnswerRe: Forcing Eclipse webapp home page when debugging Pin
hbwhypw31-Oct-12 22:46
hbwhypw31-Oct-12 22:46 
GeneralRe: Forcing Eclipse webapp home page when debugging Pin
kmg3651-Nov-12 10:24
kmg3651-Nov-12 10:24 
GeneralRe: Forcing Eclipse webapp home page when debugging Pin
hbwhypw1-Nov-12 16:04
hbwhypw1-Nov-12 16:04 
I see,you develop a JAX-RS using jersey.
you miss a piece of code.
For example
XML
<?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">


    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>classpath:applicationContext.xml</param-value>
    </context-param>

    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>

    <servlet>
        <display-name>JAX-RS REST Servlet</display-name>
        <servlet-name>JAX-RS REST Servlet</servlet-name>
        <servlet-class>
            com.sun.jersey.spi.spring.container.servlet.SpringServlet</servlet-class>
        <init-param>
            <param-name>com.sun.jersey.config.property.packages</param-name>
            <param-value>services</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>JAX-RS REST Servlet</servlet-name>
        <url-pattern>/services/*</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
</web-app>

This project Integrated Spring.
browser for eclipse to go to the http://localhost:8080/RestExample/services/helloworld url
QuestionIam Facing Problem While Storing record’s in Access Using Applet … Pin
PrabaPrakash25-Oct-12 22:06
PrabaPrakash25-Oct-12 22:06 
AnswerRe: Iam Facing Problem While Storing record’s in Access Using Applet … Pin
Nagy Vilmos25-Oct-12 23:08
professionalNagy Vilmos25-Oct-12 23:08 
GeneralRe: Iam Facing Problem While Storing record’s in Access Using Applet … Pin
PrabaPrakash26-Oct-12 8:30
PrabaPrakash26-Oct-12 8:30 
GeneralRe: Iam Facing Problem While Storing record’s in Access Using Applet … Pin
jschell26-Oct-12 8:49
jschell26-Oct-12 8:49 
AnswerRe: Iam Facing Problem While Storing record’s in Access Using Applet … Pin
jschell26-Oct-12 8:55
jschell26-Oct-12 8:55 
GeneralRe: Iam Facing Problem While Storing record’s in Access Using Applet … Pin
PrabaPrakash2-Nov-12 20:59
PrabaPrakash2-Nov-12 20:59 
Questiondisplay GROUP BY result Pin
uti123fil23-Oct-12 21:48
uti123fil23-Oct-12 21:48 
AnswerRe: display GROUP BY result Pin
Richard MacCutchan23-Oct-12 22:05
mveRichard MacCutchan23-Oct-12 22:05 
GeneralRe: display GROUP BY result Pin
uti123fil23-Oct-12 22:36
uti123fil23-Oct-12 22:36 
GeneralRe: display GROUP BY result Pin
Richard MacCutchan23-Oct-12 22:41
mveRichard MacCutchan23-Oct-12 22:41 
AnswerRe: display GROUP BY result Pin
Richard MacCutchan24-Oct-12 1:14
mveRichard MacCutchan24-Oct-12 1:14 
GeneralRe: display GROUP BY result Pin
uti123fil8-Nov-12 17:11
uti123fil8-Nov-12 17:11 
QuestionHow to make GAME by Java? Pin
nghia09t322-Oct-12 16:05
nghia09t322-Oct-12 16:05 
AnswerRe: How to make GAME by Java? Pin
TorstenH.22-Oct-12 20:32
TorstenH.22-Oct-12 20:32 
AnswerRe: How to make GAME by Java? Pin
Richard MacCutchan22-Oct-12 22:38
mveRichard MacCutchan22-Oct-12 22:38 
AnswerRe: How to make GAME by Java? Pin
Gowtham Gutha9-Nov-12 9:05
Gowtham Gutha9-Nov-12 9:05 
QuestionDeveloping Cloud Storage Services Pin
Member 925151319-Oct-12 4:20
Member 925151319-Oct-12 4:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.