If thats the case couldn't another approach be taken by having a Master
Controller Servlet forward to the other Controller Servlets(based on some
criteria) which would handle various different sections of the web app which
inturn would after relevant logic processing forward to the relevant jsp
pages to display the result.
Just an idea, it would be quite enlightening for me as well as the list if
you could let us know why such an approach would not be better than the one
that you have decided on by actually removing the controller servlet
completely.
Assume i have understood your problem correctly.
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
----- Original Message -----
From: Rajinder Sandhu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 10:38 AM
Subject: Re: using super in Jsp


> Yes u are right. project was based on MVC only and it was exactly like
what
> u said. but problem with this is that there is huge bottle neck at the
> servlet. so what i am trying to do is to use use:bean tags to instantiate
my
> request handlers. and taking out the servlet.
>
> So i wont be using the servlet at all.
> So i need to do the session tracking from the very first (say logon.jsp).
as
> erlier it was taken care by servlet.
>
> Cheers!!
> raj
>
> -----Original Message-----
> From: Sachin S. Khanna [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 01, 2001 10:26 AM
> To: [EMAIL PROTECTED]
> Subject: Re: using super in Jsp
>
>
> Well i won't be answering your question to begin with but would
(hopefully)
> provide you enough food for thought to have a rethink of your design
> strategy.
> As others on this list would agree that the best way to use JSP's is in
> conjunction with Servlets and Java Beans, in short "The MVC Architecture
> Model".
> In the above mentioned model JSP's are used for display purposes and the
> logic is placed in Beans whereas the Servlet acts as a Controller. In case

> you need more information on MVC check out any good JSP Book and even the
> archives of this list is a wonderful resource.
> Now lets get back to your question, the answer to it is you can use the
> super keyword for what you intend to do.
> But "BEWARE" that doing so will surely make your JSP's messy as well as
> unmaintainable in the long run, could be in the short run as well :-).
> Assume this helps.
> Have a nice day.
> With regards,
> Sachin S. Khanna
> http://www.emailanorder.com
> ----- Original Message -----
> From: Rajinder Sandhu <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 31, 2001 3:46 PM
> Subject: using super in Jsp
>
>
> > Hi all,
> >
> > In my JSP file i am initiating a transaction (any of the action in
between
> > can throw an exception), and including/calling other jsp's as well. So
for
> > catching exception and to track where the exception exactly has occured.
I
> > want define a Basic exception class and have other exception classes
> > extending this class for catching a particular exception.
> >
> > Now my Question is :
> > Can we use super to call base class method/constructor in a JSP file ?
So
> > that i can pass the Ex to the base class.
> > If yes, A little idea How to implement it.
> >
> > If my solution is wrong or if the problem can be solved in a better
> manner,
> > please guide me.
> >
> > Thanks in advance.
> >
> > Cheers!!
> > raj
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to