I have some jsp/xforms pages and I have implemented a simple login page. If the user enters the wrong credentials then they should be forwarded to the login page again from the page that processes the login. I have all of this running under the xforms-jsp directory. I am trying to use jsp:forward but all I get is a blank page with no forward happening. Any ideas?
Regards, John. |
can anyone help me? I want to use jsp:forward in a jsp page running under orbeon xforms-jsp directory but it doesn't work. Please any ideas would be helpful
|
Administrator
|
In reply to this post by JohnBampton
John,
Could you reproduce this with two simple JSPs, where the first one always does a jsp:forward to the second one? If you can, could you share that with us so we can reproduce the issue? Alex On Sun, May 2, 2010 at 11:53 PM, JohnBampton <[hidden email]> wrote: > > I have some jsp/xforms pages and I have implemented a simple login page. If > the user enters the wrong credentials then they should be forwarded to the > login page again from the page that processes the login. I have all of this > running under the xforms-jsp directory. I am trying to use jsp:forward but > all I get is a blank page with no forward happening. Any ideas? > > Regards, > > John. > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Using-jsp-forward-doesn-t-work-tp2123593p2123593.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi, so here are the two jsps. I have them under the xforms-jsp directory. Clearly the first file below does not forward to the second file. All I get is a blank page with the url staying on the first page. Any ideas?
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %> <jsp:forward page="test.jsp" ></jsp:forward> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body>this is the first page </body> </html> <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> this is the page that is forwarded to </body> </html> |
Administrator
|
John,
I managed to reproduce this in separate deployment. Thank you for the reproducible test case. We'll try to investigate this, but can't guarantee anything. In the meantime, I create this bug: http://forge.ow2.org/tracker/index.php?func=detail&aid=314993&group_id=168&atid=350207 Alex On Sat, May 8, 2010 at 2:43 AM, JohnBampton <[hidden email]> wrote: > > Hi, so here are the two jsps. I have them under the xforms-jsp directory. > Clearly the first file below does not forward to the second file. All I get > is a blank page with the url staying on the first page. Any ideas? > > > <%@ page contentType="text/html; charset=utf-8" language="java" > import="java.sql.*" errorPage="" %> > <jsp:forward page="test.jsp" ></jsp:forward> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <title>Untitled Document</title> > </head> > <body>this is the first page > </body> > </html> > > > > > > <%@ page contentType="text/html; charset=utf-8" language="java" > import="java.sql.*" errorPage="" %> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <title>Untitled Document</title> > </head> > <body> > this is the page that is forwarded to > </body> > </html> > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Using-jsp-forward-doesn-t-work-tp2123593p2135997.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |