struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Jain <jain_praveen_mail...@yahoo.com>
Subject Re: provide Helloworld application in Struts2.0
Date Sun, 13 Nov 2011 18:07:40 GMT
The name of the war file is HelloWorldStruts2. 


--- On Sun, 11/13/11, jlmagc@gmail.com <jlmagc@gmail.com> wrote:

From: jlmagc@gmail.com <jlmagc@gmail.com>
Subject: Re: provide Helloworld application in Struts2.0
To: "Struts Users Mailing List" <user@struts.apache.org>
Date: Sunday, November 13, 2011, 9:52 AM

The display name does not matter. Is the name of the war file what matters.
Sent via BlackBerry from T-Mobile

-----Original Message-----
From: Praveen Jain <jain_praveen_mailing@yahoo.com>
Date: Sun, 13 Nov 2011 09:50:57 
To: Struts Users Mailing List<user@struts.apache.org>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
Subject: RE: provide Helloworld application in Struts2.0

 
HelloWorldStruts2
 is the name of the project made in Eclipse and its web.xml is as under mentioned 


 <?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

    <display-name>HelloWorldStruts2</display-name>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <filter>
            <filter-name>Struts2</filter-name>
            <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
    </filter>
    
    <filter-mapping>
                    <filter-name>Struts2</filter-name>
                    <url-pattern>/*</url-pattern>
    
    </filter-mapping>

</web-app>


ThanksPraveen Jain 
 
--- On Sun, 11/13/11, Ilya Kazakevich <Ilya.Kazakevich@JetBrains.com> wrote:

From: Ilya Kazakevich <Ilya.Kazakevich@JetBrains.com>
Subject: RE: provide Helloworld application in Struts2.0
To: "'Struts Users Mailing List'" <user@struts.apache.org>
Date: Sunday, November 13, 2011, 9:22 AM

What is "HelloWorldStruts2" ?

Did your web.xml configured as described here
http://struts.apache.org/2.2.3/docs/webxml.html ?

Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com

"Develop with pleasure!"

-----Original Message-----
From: Praveen Jain [mailto:jain_praveen_mailing@yahoo.com] 
Sent: Sunday, November 13, 2011 9:11 PM
To: Struts Users Mailing List
Subject: RE: provide Helloworld application in Struts2.0

Thanks for your reply but I am getting Error 
HTTP Status 404 - /HelloWorldStruts2/type Status reportmessage
/HelloWorldStruts2/description The requested resource (/HelloWorldStruts2/)
is not available. 
Can you help to solve the error. 

ThanksPraveen Jain 
--- On Sun, 11/13/11, Ilya Kazakevich <Ilya.Kazakevich@JetBrains.com> wrote:

From: Ilya Kazakevich <Ilya.Kazakevich@JetBrains.com>
Subject: RE: provide Helloworld application in Struts2.0
To: "'Struts Users Mailing List'" <user@struts.apache.org>
Date: Sunday, November 13, 2011, 6:02 AM

Hello,

You can find one here: http://struts.apache.org/2.0.11/docs/hello-world.html


They use jetty in example but this application is container-independent and
could run in tomcat too.


Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com

"Develop with pleasure!"

-----Original Message-----
From: Praveen Jain [mailto:jain_praveen_mailing@yahoo.com] 
Sent: Sunday, November 13, 2011 5:54 PM
To: user@struts.apache.org
Subject: provide Helloworld application in Struts2.0 

Dear  All, 
I am new in Struts 2.0 I need a working Helloworld application to Run on
TOMCAT server. 


Thanks in Advance. 

Praveen Jain 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message