LOL. I have been busting my ass off for days wondering about this, and I
can't believe I could miss something that obvious. It really looks like
that's the reason. I will try it out when I get back to work on monday.
Thanks alot Gareth
Shervin
Gareth Evans wrote:
There is no exception because struts thinks that your handling the
response yourself and aborting the "normal action processing"
Look at your code:
* @struts.action-forward name="domainAdminEdit" path=".domainAdminEdit"
... final String DOMAIN_ADMIN_EDIT_PAGE = "domainAdminEdit.page";
<definition name=".domainAdminEdit" extends=".tiles-adminpage" >
Do you see anything wrong, there is no ".page" at the end of the
forward name, it should be:
* @struts.action-forward name="domainAdminEdit.page"
path=".domainAdminEdit"
Gareth
Shervin Asgari wrote:
I tried to tell that there is no exception. Nothing! That's why it is
so odd...
Shervin Asgari - System Consultant
M: +47 918 64 148, @: [EMAIL PROTECTED]
Linpro AS - Leading on Linux Tel: +47 21 54 41 00/02
Vitaminveien 1A Fax: +47 21 54 41 01
PB 4 Grefsen, 0409 Oslo WWW: http://www.linpro.no/
Chaudhary, Harsh wrote:
Can you see stack in your console? Maybe there's an exception.
Harsh.
-----Original Message-----
From: Shervin Asgari [mailto:[EMAIL PROTECTED] Sent: Friday, May
26, 2006 6:20 AM
To: Struts Users Mailing List
Subject: Blank page when trying to forward
Hello. I am having a problem. All my forwarding works more or less
correctly, but when I want to forward from one part of the system it
only shows me a blank page.
I am trying to forward to the domainAdminEdit.page. This page works
from
another part of the site. But from where I am trying to forward it
now, I only get blank page. Could someone please dobbel check mye
code to see
if I have made some clear errors?
In my struts I have this:
* @struts.action-forward name="domainwebsiteAdminEdit.page"
path=".domainwebsiteAdminEdit"
* @struts.action-forward name="domainAdminEdit" path=".domainAdminEdit"
I am trying to return an ActionForward
return viewDomainWebsiteEdit(mapping, form, req, res,
DOMAINWEBSITE_ADMIN_EDIT_PAGE);
public ActionForward viewDomainWebsiteEdit(ActionMapping mapping,
ActionForm actionForm,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
ActionForward forward =
mapping.findForward("domainAdminEdit.page");
try {
RollerSession rollerSession =
RollerSession.getRollerSession(request);
request.setAttribute("domainWebsiteModel", new
DomainWebsiteAdminEditPageModel(
"domainWebsiteAdminEdit.title", request,
response, mapping, null, null));
if (request.getAttribute("domainWebsiteModel") == null) {
request.setAttribute("domainWebsiteModel", actionForm);
}
} catch (Exception e) {
mLogger.error("Error in
DomainWebsiteAdminAction.view()"+ e + "\n" + e.getMessage());
throw new ServletException(e);
}
}
I appreciate all help I can get.
Thanks
Shervin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]