RE: Struts Training - lab 0

"HALDANKAR, Manish" <[email protected]> Thu, 27 Feb 2003 18:19:41 -0000
Newsgroups gmane.comp.web.mvc.devel
Message-ID <DC45D1BB7706D611883300508B6FC63D0611789C__25981.5858015374$1046371612@staex01.internal.bupa.co.uk>
------_=_NextPart_001_01C2DE8C.CBB28FE0
Content-Type: text/plain; charset="iso-8859-1"

Hi ,
 I have  a file with 4 includes made using the template tag library.
One of the include has the dynamic content and the rest are just static
html.
 I am trying to use the errorpage directive but when the content page
generates a runtime error it  resulting page actually tries and includes the
errorPage rather than transferring control to the error page..
Any idea on how I should be using the errorPage directive		

Thanks & Regards
Manish R. Haldankar
Development Specialist
BUPA House, 15-19 Bloomsbury Way, 
London, WC1A 2BA
Tel : + 44 (0) 207 656 2040


-----Original Message-----
From: Jonathan Archer [mailto:[email protected]]
Sent: 27 February 2003 17:01
To: [email protected]
Subject: [MVC-Programmers] Struts Training - lab 0


All finished up. Unsurprisingly, also noticed same need to comment out the
test servlet references in web.xml.

Other thing was, 'borrowing' from Geeta's forwarded note from Vic the
following address: localhost/myPim/portlets/cmsLst.html I had to adjust to
localhost/portlets/cmsLst.htm. I assume 'myPim' was some arbitrary web app.

Cheers,
Jon

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Geeta Ramani
Sent: Wednesday, February 26, 2003 6:24 PM
To: [email protected]
Subject: [MVC-Programmers] Struts Training - lab 0


Hi all:

<I-just-work-here!>
First, *please* don't flame me because I am writing regarding the Sruts
Training course: I wrote to Vic (the owner of this list) off-list and he
has assured me this is where I should be writing.
</I-just-work-here!>

So, fellow-trainees, I have completed Lab 0.  The only thing I noticed
was that I had to edit wb.xml in webCMS/WEB-INF: I had to comment out
both references to the servlet "test".  (I got a servlet exception
otherwise.)  Also when I browsed to http://localhost, I did indeed see
the nice index.jsp.  However clicking on the "Enter Here" link in that
jsp gives a "503 javax.servlet.UnavailableException".

Vic: are we supposed to fix these errors (uncomment the test servlet in
web.xml and make the "enter here' link work)?  Or will you be holding
our hand..? ;)

Regards,
Geeta

P.S. Vic, I have still not got your previous note to the list.. hope
this one makes it!


_______________________________________________
MVC-Programmers mailing list
[email protected]
http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers

_______________________________________________
MVC-Programmers mailing list
[email protected]
http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers


.


......................................................................
BUPA
the personal health service
.....................................................................
BUPA House, 15-19 Bloomsbury Way, London, WC1A 2BA
Visit: http://www.bupa.com
.....................................................................
Internet communications are not secure and therefore BUPA does
not accept legal responsibility for the contents of this message. Any 
views or opinions presented are solely those of the author and do 
not necessarily represent those of BUPA.
.....................................................................


------_=_NextPart_001_01C2DE8C.CBB28FE0
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [MVC-Programmers] Struts Training - lab 0</TITLE>
</HEAD>
<BODY>



<P><FONT SIZE=2>Hi ,</FONT>
<BR><FONT SIZE=2>&nbsp;I have&nbsp; a file with 4 includes made using the template tag library.</FONT>
<BR><FONT SIZE=2>One of the include has the dynamic content and the rest are just static html.</FONT>
<BR><FONT SIZE=2>&nbsp;I am trying to use the errorpage directive but when the content page generates a runtime error it&nbsp; resulting page actually tries and includes the errorPage rather than transferring control to the error page..</FONT></P>

<P><FONT SIZE=2>Any idea on how I should be using the errorPage directive&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
</P>

<P><FONT SIZE=2>Thanks &amp; Regards</FONT>
<BR><FONT SIZE=2>Manish R. Haldankar</FONT>
<BR><FONT SIZE=2>Development Specialist</FONT>
<BR><FONT SIZE=2>BUPA House, 15-19 Bloomsbury Way, </FONT>
<BR><FONT SIZE=2>London, WC1A 2BA</FONT>
<BR><FONT SIZE=2>Tel : + 44 (0) 207 656 2040</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Jonathan Archer [<A HREF="mailto:[email protected]">mailto:[email protected]</A>]</FONT>
<BR><FONT SIZE=2>Sent: 27 February 2003 17:01</FONT>
<BR><FONT SIZE=2>To: [email protected]</FONT>
<BR><FONT SIZE=2>Subject: [MVC-Programmers] Struts Training - lab 0</FONT>
</P>
<BR>

<P><FONT SIZE=2>All finished up. Unsurprisingly, also noticed same need to comment out the</FONT>
<BR><FONT SIZE=2>test servlet references in web.xml.</FONT>
</P>

<P><FONT SIZE=2>Other thing was, 'borrowing' from Geeta's forwarded note from Vic the</FONT>
<BR><FONT SIZE=2>following address: localhost/myPim/portlets/cmsLst.html I had to adjust to</FONT>
<BR><FONT SIZE=2>localhost/portlets/cmsLst.htm. I assume 'myPim' was some arbitrary web app.</FONT>
</P>

<P><FONT SIZE=2>Cheers,</FONT>
<BR><FONT SIZE=2>Jon</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: [email protected]</FONT>
<BR><FONT SIZE=2>[<A HREF="mailto:[email protected]">mailto:[email protected]</A>]On Behalf Of Geeta Ramani</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, February 26, 2003 6:24 PM</FONT>
<BR><FONT SIZE=2>To: [email protected]</FONT>
<BR><FONT SIZE=2>Subject: [MVC-Programmers] Struts Training - lab 0</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi all:</FONT>
</P>

<P><FONT SIZE=2>&lt;I-just-work-here!&gt;</FONT>
<BR><FONT SIZE=2>First, *please* don't flame me because I am writing regarding the Sruts</FONT>
<BR><FONT SIZE=2>Training course: I wrote to Vic (the owner of this list) off-list and he</FONT>
<BR><FONT SIZE=2>has assured me this is where I should be writing.</FONT>
<BR><FONT SIZE=2>&lt;/I-just-work-here!&gt;</FONT>
</P>

<P><FONT SIZE=2>So, fellow-trainees, I have completed Lab 0.&nbsp; The only thing I noticed</FONT>
<BR><FONT SIZE=2>was that I had to edit wb.xml in webCMS/WEB-INF: I had to comment out</FONT>
<BR><FONT SIZE=2>both references to the servlet &quot;test&quot;.&nbsp; (I got a servlet exception</FONT>
<BR><FONT SIZE=2>otherwise.)&nbsp; Also when I browsed to <A HREF="http://localhost" TARGET="_blank">http://localhost</A>, I did indeed see</FONT>
<BR><FONT SIZE=2>the nice index.jsp.&nbsp; However clicking on the &quot;Enter Here&quot; link in that</FONT>
<BR><FONT SIZE=2>jsp gives a &quot;503 javax.servlet.UnavailableException&quot;.</FONT>
</P>

<P><FONT SIZE=2>Vic: are we supposed to fix these errors (uncomment the test servlet in</FONT>
<BR><FONT SIZE=2>web.xml and make the &quot;enter here' link work)?&nbsp; Or will you be holding</FONT>
<BR><FONT SIZE=2>our hand..? ;)</FONT>
</P>

<P><FONT SIZE=2>Regards,</FONT>
<BR><FONT SIZE=2>Geeta</FONT>
</P>

<P><FONT SIZE=2>P.S. Vic, I have still not got your previous note to the list.. hope</FONT>
<BR><FONT SIZE=2>this one makes it!</FONT>
</P>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>MVC-Programmers mailing list</FONT>
<BR><FONT SIZE=2>[email protected]</FONT>
<BR><FONT SIZE=2><A HREF="http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers" TARGET="_blank">http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers</A></FONT>
</P>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>MVC-Programmers mailing list</FONT>
<BR><FONT SIZE=2>[email protected]</FONT>
<BR><FONT SIZE=2><A HREF="http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers" TARGET="_blank">http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers</A></FONT>
</P>
<BR>

<P><FONT SIZE=2>.</FONT>
</P>

<FONT SIZE=3><BR>
<BR>
......................................................................<BR>
BUPA<BR>
the personal health service<BR>
.....................................................................<BR>
BUPA House, 15-19 Bloomsbury Way, London, WC1A 2BA<BR>
Visit: http://www.bupa.com<BR>
.....................................................................<BR>
Internet communications are not secure and therefore BUPA does<BR>
not accept legal responsibility for the contents of this message. Any <BR>
views or opinions presented are solely those of the author and do <BR>
not necessarily represent those of BUPA.<BR>
.....................................................................<BR>
</FONT>

<br>



<br>
<tt>
To unsubscribe from this group, send an email to:<BR>
[email protected]<BR>
<BR>
</tt>
<br>

<br>
<tt>Your use of Yahoo! Groups is subject to the <a href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</a>.</tt>
</br>

</BODY>
</HTML>
------_=_NextPart_001_01C2DE8C.CBB28FE0--