Hi: I would like to recommend to use Custom JSP Tags Libraries. You can download some sample code from http://www.coreservlets.com/
Regards, Won Jo ----- Original Message ----- From: "Irene Troupansky" <[EMAIL PROTECTED]> To: "JDJList" <[EMAIL PROTECTED]> Sent: Thursday, June 20, 2002 8:16 AM Subject: [jdjlist] RE: Servlet question? > We did it in our app. Your javascript main source stays the same (probably > in .js file), but the part where you add menu items changes -that's what > servlet generates. I wouldn't do it in EJB fot the sake of separation > business logic from presentation layer. You may pass your data from EJB to > servlet in some form (Value object?) and then based on that generate the > html in servlet > > Regards, > > Irene Troupansky > > -----Original Message----- > From: ??? [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 19, 2002 10:42 PM > To: JDJList > Subject: [jdjlist] Servlet question? > > > Hi: > In our three tiers project, client(embeded I.E browser) - Servlet - EJB - > DB > when the user login our system I want to show the user the different menus > (which implemented by Javascript in I.E browser) according to the user > rights that get from the database table . > Question : Can i send html file to the client from the server (EJB) where > I organized the html file according to the data from the db? > And the html can be interpreted by the I.E browser, at last the end user > can see different menu items? > > > [EMAIL PROTECTED] > > > To change your membership options, refer to: > http://www.sys-con.com/java/list.cfm > > > To change your membership options, refer to: > http://www.sys-con.com/java/list.cfm > To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
