[opencms-dev] Empty pages published
Murray, Neil
neil.murray at za.eds.com
Wed Jan 7 11:37:01 CET 2004
Still having the problem.
The redirection works fine on the offline/unpublished pages. However on the
published site all the pages which use this template display a blank screen.
The reason the page is blank I reckon is because the file has a size of 0KB.
As soon as I take the redirection part of the code out the pages display
correctly, and the size actually shows normal e.g. 12KB
-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Thomas März
Sent: 06 January 2004 03:40 PM
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] Empty pages published
"Murray, Neil" <neil.murray at za.eds.com> writes:
> We've got a .jsp template which checks the login status of a user and
> redirects to a login page if he/she is not logged in, otherwise it opens
the
> requested page. The redirection works fine if tested on the offline /
> unpublished version of the site, but the published version just shows a
> blank page. I've narrowed it down to the actual redirect part of the code
-
> if I take that out the template works fine.
>
> Also the file size of the index.html that uses this template is zero if
this
> redirect portion of the code is included.
// this works for me:
if (session != null && (session.getValue("loggedIn") != null)) {
response.sendRedirect(cms.link("/go/to/login.html"));
}
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
IMPORTANT - THIS E-MAIL AND THE INFORMATION THAT IT CONTAINS, MAY BE
CONFIDENTIAL, LEGALLY PRIVILEGED AND PROTECTED BY LAW. ACCESS BY THE
INTENDED RECIPIENT ONLY IS AUTHORISED. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person, use it for any purpose, or store or copy the
information onto any medium. Copyright in this e-mail and its attachments
belongs to EDS South Africa (Pty) Ltd.
begin 600 winmail.dat
M>)\^(A(*`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0 at 36%I;"Y.;W1E`#$(`06``P`.````U`<!``<`
M#``5``4``P`,`0$@@`,`#@```-0'`0`'``P`(P`X``,`30$!"8`!`"$```!%
M1#,Y1#,X-C(X-$,V.30P.#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\$]4
M119#EQ"1X$*40$Q!5\$@P$%#0T53!?"7 at 2^2!)<0D="6<5*7($E0-DF4\4#0
M3I7!D2%!5?^1`)!PD2"6<&-!+Y"#D at K`_V.13T%LU`ZP;2$DX%IA!2#_")`"
M,(H'5A$&D"H0-C.<LO\%P`=P!X!:0"EQ-R$U\F1P]U8#*;%RT&\N%06 at G))4
M%?YN*A!7`R!`7H$"(#70*)+O5Z%TXJ)2)&!R<4`1$(?SWU'@!;`C,07`!:!P
MGH2- at M\WT7%T`C"B-)]R=2"Q$K'_I=`ZD6UP5K$HQ#MP at I,U\N\G$"[Q`D``
MT&@'@*'B+<!_&A`?X%0CEG`%\3/A*'!!9P-0#>`J,"A022!XX$P*=',F?:W`
M```>`$(0`0```!@````\.#1O971H9W!P>2YF<V9`9VUX+F1E/@`#`-X_KV\`
M``,`"5D!`````P`&@`@@!@``````P````````$8`````$(4````````#``"`
M""`&``````#`````````1@````!2A0``&Y<!``L`!(`((`8``````,``````
M``!&``````.%`````````P`#@`@@!@``````P````````$8``````84`````
M``!``#.`""`&``````#`````````1@````!@A0```#RF.^___Q\>``&`""`&
M``````#`````````1@````!4A0```0````4````Q,"XP``````L``H`((`8`
M`````,````````!&``````:%````````"P`%@`@@!@``````P````````$8`
M````#H4````````#``B`""`&``````#`````````1@`````8A0````````L`
M58`((`8``````,````````!&`````(*%`````````P#Q/PD$```>`#%``0``
M``<```!26D98-T<```,`&D``````'@`P0`$````'````4EI&6#='```#`!E`
M``````,`_3_D!````P`F```````#`#8```````,`@!#_____"P#R$`$````#
M`)(0`0````(!1P`!````,0```&,]6D$[83T at .W`]1413.VP]34%)3$I)0512
M,#(M,#0P,3`W,3`R,3`U6BTR,C8Q,``````>`#A``0````<```!26D98-T<`
M`!X`.4`!````!P```%):1E at W1P``0``',.)/2O4'U<,!0``(,*CW/P@*U<,!
M'@`]``$````%````4D4Z(``````>`!T.`0```"0```!;;W!E;F-M<RUD979=
M($5M<'1Y('!A9V5S('!U8FQI<VAE9``>`#40`0```$`````\,C<Q.#8Y1#%!
M1D%%1#8Q,4$V,3(P,#`P1C9#,C$T-C%%-35$,3E`;6%I;&II871R,#(N9FQY
M<V%A+F-O;3X`"P`I```````+`",```````,`!A`U4LG'`P`'$&8&```#`!`0
M``````,`$1`!````'@`($`$```!E````4U1)3$Q(059)3D=42$504D]"3$5-
M5$A%4D5$25)%0U1)3TY73U)+4T9)3D5/3E1(14]&1DQ)3D4O54Y054),25-(
M141004=%4TA/5T5615)/3E1(15!50DQ)4TA%1%-)5$5!3``````"`7\``0``
M`$`````\,C<Q.#8Y1#%!1D%%1#8Q,4$V,3(P,#`P1C9#,C$T-C%%-35$,3E`
:;6%I;&II871R,#(N9FQY<V%A+F-O;3X`!?8=
`
end
More information about the opencms-dev
mailing list