Re: invoking a JSP or servlet

2002-12-10 Thread David M. Karr
> "Anuj" == Anuj Agrawal <[EMAIL PROTECTED]> writes: Anuj> Also, did you really mean that the welcome jsp would forward to the first Anuj> "action", and not redirect to the first "action"? I.e. is it page=".."/> or .. The forward appears to be a better Anuj> option since the URL

RE: invoking a JSP or servlet

2002-12-10 Thread Anuj Agrawal
Also, did you really mean that the welcome jsp would forward to the first "action", and not redirect to the first "action"? I.e. is it or .. The forward appears to be a better option since the URL in the browser doesn't change. Anuj. > -Original Message- > From: Karr, David [mailto:[EMA

RE: invoking a JSP or servlet

2002-12-10 Thread Anuj Agrawal
So the welcome file is a jsp that forwards to a servlet which in turn forwards to another jsp? Ok - in a web.xml (from Struts), i also saw: action *.do I guess i'd like to map ALL servlets (not just the ones for the action servlet) to the .html pattern (i'm very sure there will be

RE: invoking a JSP or servlet

2002-12-10 Thread Karr, David
A common pattern is to have your welcome file be a jsp that does nothing but forward to your first "action". > -Original Message- > From: Anuj Agrawal [mailto:[EMAIL PROTECTED]] > > Is it accurate to say that we should never invoke a JSP file > directly? It > should always be forwarded