tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirek.Su...@intax.cz
Subject Re: JavaBean at JSP
Date Tue, 24 Oct 2000 12:03:15 GMT

Hi Gorazd,

thank you (and Kurt Bernhard Pruener) very much for your explanation, now I
understand it!

     Have a nice day!

          Mirek Subrt



                                                                                
                    Gorazd Bozic                                                
                    <gorazd.bozic        To:     tomcat-user@jakarta.apache.org 
                    @arnes.si>           cc:                                    
                                         Subject:     Re: JavaBean at JSP       
                    24.10.2000                                                  
                    13:01                                                       
                    Please                                                      
                    respond to                                                  
                    tomcat-user                                                 
                                                                                
                                                                                




Mirek.Subrt@intax.cz wrote:
>
> Thank you Gorazd,
>
> your advice was fine!

I'm glad it's working now.

> If I want to have subdirectories SA, SB, SC, SD, ... under directory
> /usr/adissys/pok_JSP,

You can create the subdirectories SA, SB, ... and place JSP pages there
and access them within the same context. BUT: each context defined in the
server.xml file can have only one WEB-INF directory at the root of the
context and all the classes for the beans you use have to reside under
WEB-INF/classes subdirectory (you can archive them in JAR files and place
them under WEB-INF/lib also).

So - you can distribute JSP pages into different subdirectories, but must
have all the beans used by JSP pages in a single WEB-INF directory.

Gorazd

--
Gorazd Bozic <gorazd.bozic@arnes.si>
ARNES SI-CERT, Jamova 39 p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 88 22, fax: +386 1 479 88 99





Mime
View raw message