use of web.xml?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

use of web.xml?

nachi19
hi all,
  can any one tell me the actual purpose of web.xml file in ofbiz....
Reply | Threaded
Open this post in threaded view
|

Re: use of web.xml?

Abhishake Agarwal
same purpose as in any j2ee web application.

On Fri, Dec 12, 2008 at 10:55 PM, kiran19 <[hidden email]> wrote:

>
> hi all,
>  can any one tell me the actual purpose of web.xml file in ofbiz....
> --
> View this message in context:
> http://www.nabble.com/use-of-web.xml--tp20979976p20979976.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: use of web.xml?

cjhorton
It defines the control servlet to use for the webapp and the various
objects the control servlet will use.  All requests of a defined type
are funneled in through the control servlet and are processed
accordingly.  The control servlert also reads the data in the
controller.xml file to determine how to handle requests/etc.  The
web.xml also sets up the screen decorator, delegator,  and etc.



On Fri, Dec 12, 2008 at 12:35 PM, Abhishake Agarwal
<[hidden email]> wrote:

> same purpose as in any j2ee web application.
>
> On Fri, Dec 12, 2008 at 10:55 PM, kiran19 <[hidden email]> wrote:
>
>>
>> hi all,
>>  can any one tell me the actual purpose of web.xml file in ofbiz....
>> --
>> View this message in context:
>> http://www.nabble.com/use-of-web.xml--tp20979976p20979976.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: use of web.xml?

arpit singh pandya
In reply to this post by nachi19
purpose is that, its deployment descriptor  file for the web application.

kiran19 wrote:
> hi all,
>   can any one tell me the actual purpose of web.xml file in ofbiz....
>  
Reply | Threaded
Open this post in threaded view
|

Re: use of web.xml?

Ashish Nagar
arpit singh pandya wrote:
> purpose is that, its deployment descriptor  file for the web application.
>
> kiran19 wrote:
>> hi all,
>>   can any one tell me the actual purpose of web.xml file in ofbiz....
>>  
Hi Kiran,
As Ofbiz is the project based on J2EE standards, so it uses web.xml as
deployment descriptor. A deployment descriptor is used to define the
welcome page,error-page,parameters used by filter and/or defined for
whole application.Session timeout value, listener & Servlet-Mapping is
also done in web.xml file.
I think this will help you.

Regards:
Ashish Nagar

Reply | Threaded
Open this post in threaded view
|

Re: use of web.xml?

BJ Freeman
In reply to this post by nachi19
web.xml is the same as Tomcat.
there are, however a lot of parms
that are used specifically in ofbiz like
   <context-param>
        <param-name>mainDecoratorLocation</param-name>
<param-value>component://ecommerce/widget/CommonScreens.xml</param-value>
        <description>The location of the main-decorator screen to use
for this webapp; referred to as a context variable in screen def XML
files.</description>
    </context-param>

these are specific to the webapp that it is in.

kiran19 sent the following on 12/12/2008 9:25 AM:
> hi all,
>   can any one tell me the actual purpose of web.xml file in ofbiz....