*
The moose likes JSP and the fly likes help required on access managment of jsp pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "help required on access managment of jsp pages" Watch "help required on access managment of jsp pages" New topic
Author

help required on access managment of jsp pages

sajjad ahmad
Ranch Hand

Joined: Jan 23, 2003
Posts: 75
Hi!
we are developing J2ee application in which we have many Jsp pages , these jsp pages are accessed by different clients in different modes (i.e if administrator is watching a page then all the facilities in page will be available to him but if any other user is watching the same page then he will not be able to use all of it's functionalaty ).
Now problem comes if many user (let say 100-200) user accessing same page (in different modes) i.e single source is beeing accessed by multiple clients ...then performance issue will accour here coz we are not managing this resource properly(Like we do pooling of database connections if we know that many user will access the database and they will need database many connections ...tis way only 10 connection objects can handel 100 clients accessing the database).
one of out team members has given the idea of putting same jsps(with same logic but different name)in different folders...like for addministrator we will have administrator folder in which we put all those jsps that he can access then again for any other class of users let say clerk we will have a folder named clerk having all thos pages which he may need(note that there may be same pages with different names in last two folders)....this way only the page for clerk class is loaded(from clerk folder) and if administrator wants to access the same page it will be loaded from his directory.......
but i am not satisfied with this approach as there should any better approach for resource managment of jsps and doing reaserch on it ......
If any one on this forum has any idea about that then plz help me
thanx in advance
sajjad ahmed paracha
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
see my answer in the Sun forums http://forum.java.sun.com/thread.jsp?forum=45&thread=558679&tstart=0&trange=15 .


42
 
 
subject: help required on access managment of jsp pages
 
Similar Threads
Resource Restriction using web.xml
Accessing a zip file through a JSP page.
long post IBM.158
Creating a class within JSP to be shared among pages
please answer this 128 questions for WLS. Urgently!