Thank you all for answering Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Yan Hu
Hello Guys: First and foremost, I wanted to thank you all for answering my question. I believe I can learn a lot of Struts skills and other related skills here. Thanks again. > Yan Hu wrote: > > >Hello Guys: > > This is my first real Struts-based project. I am fairly new to Struts. I > >

RE: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Arvind.Bir
udent. Moreover use JSTL. Arvind Bir -Original Message- From: Karan [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 10:09 AM To: Struts Users Mailing List Subject: Re: Newbie--->Construct JSPs on the fly Apart from all the other suggestions, if you're going to be doi

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Nic Werner
It looks like your issue isn't about customized page names, but customized links. I don't know your implementation, and I'm going to abstract out the Tiles/Struts portion, but here is how I would do it: - For the intro page, load the class schedule from the database, and its according class co

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Karan
Apart from all the other suggestions, if you're going to be doing this kind of work often you might want to look at Freemarker: just create the template and retreive all customizable data from ur framework. HTHs, Karan Yan Hu wrote: Hello Guys: This is my first real Struts-based project. I am

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Mark Lowe
For example, a student is taking Eng101, Chem101, and CS120 this semester These all look like modules you'll want to search for "indexed properties" on the archieves, and you'll start to see how to go about this. StudentBean student = new StudentBean(); CourseBean course = new Course(); course.se

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Jerry Tan
Hello Yan, While the concept of constructing JSP's dynamically is an intriguing one, I am still of the opinion that you can handle your situation below in a more conventional manner. For example, one simper way would be to have an array of String, which represents that particular student's cours

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Frank W. Zammetti
Do you really need to construct JSPs on-the-fly or do you instead need to create a template that contains sections that are modified on a per-student basis? The student-specific page sounds to me from what you wrote to more or less just be a links page with links to the classes specific to each st