RE: blank Page

2019-12-07 Thread Yasser Zamani
>-Original Message- >From: Zahid Rahman >Sent: Wednesday, December 4, 2019 8:11 PM >To: Struts Users Mailing List >Subject: blank Page > >Hi, > >I downloaded the latest JVM and tomcat. >I set JAVA_HOME as system variable to the latest version of JVM like any >developer. >the tomcat hom

Re: Blank page when trying to forward

2006-05-28 Thread Shervin Asgari
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

Re: Blank page when trying to forward

2006-05-26 Thread Gareth Evans
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"; Do y

Re: Blank page when trying to forward

2006-05-26 Thread Shervin Asgari
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 LinuxTel: +47 21 54 41 00/02 Vitaminveien 1AFax: +47 21 54 41 01 PB 4 Grefsen, 0409 OsloWWW: http://ww

RE: Blank page when trying to forward

2006-05-26 Thread Chaudhary, Harsh
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 forwar

Re: Blank page when trying to forward

2006-05-26 Thread Shervin Asgari
Sure I can do that. This method gets called when push a button to delete a DomainWebsite public ActionForward deleteConfirmedDomainWebsite(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) throws Exception { RollerRequest r

Re: Blank page when trying to forward

2006-05-26 Thread Dave Newton
Shervin Asgari wrote: > Alright here is all the code. Sorry for too much code, but better too > much rather then too little: Not in this case. In general, posting only RELEVENT code/configs is plenty. Can you trim that and target the usecase that's actually failing? Dave

Re: Blank page when trying to forward

2006-05-26 Thread Shervin Asgari
Alright here is all the code. Sorry for too much code, but better too much rather then too little: //ACTION CLASS package org.roller.presentation.website.actions; import java.io.IOException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRe

Re: Blank page when trying to forward

2006-05-26 Thread Shervin Asgari
Could you please specify what you mean? I may have forgot to say that in tiles.def.xml I have Shervin Asgari - System Consultant M: +47 918 64 148, @: [EMAIL PROTECTED] Linpro AS - Leading on LinuxTel: +47 21 54 41 00/02 Vitaminveien 1AFax: +47 21 54 41 01 PB 4 Grefsen, 0409 O

Re: Blank page when trying to forward

2006-05-26 Thread Dave Newton
Shervin Asgari wrote: > * @struts.action-forward name="domainwebsiteAdminEdit.page" > path=".domainwebsiteAdminEdit" > * @struts.action-forward name="domainAdminEdit" path=".domainAdminEdit" > > return viewDomainWebsiteEdit(mapping, form, req, res, > DOMAINWEBSITE_ADMIN_EDIT_PAGE); > > public Actio

Re: Blank page when trying to forward

2006-05-26 Thread Gareth Evans
Your forward does not exist, your using: domainAdminEdit and domainAdminEdit.page Gareth Shervin Asgari wrote: 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 f

RE: Blank page returned from ActionForm

2005-05-26 Thread Andy
I should qualify my last e-mail. I did change the execute method, to include amongst other things the saveError call (thanks Dave), as shown in the Struts example. Andy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

RE: Blank page returned from ActionForm

2005-05-26 Thread Andy
ilto:[EMAIL PROTECTED] >Sent: 26 May 2005 17:39 >To: Struts Users Mailing List >Subject: Re: Blank page returned from ActionForm > > >Michael Jouravlev wrote: > >>I usually get blank pages when I do not have a proper "forward" >>defined, but in your case it is

Re: Blank page returned from ActionForm

2005-05-26 Thread Dave Newton
Michael Jouravlev wrote: I usually get blank pages when I do not have a proper "forward" defined, but in your case it is "input" and it looks ok. On 5/26/05, Andy <[EMAIL PROTECTED]> wrote: When I select Submit, entering data into my form fields so the form is parsed as valid, the forward w

Re: Blank page returned from ActionForm

2005-05-26 Thread Andrew Thorell
I remember trying the messagesPresent tags in my jsps but found the extra code to be not worth the extra effort. It's just a whole lot of extra code for a quick fix by naming the error property by name. In the example: errors.add("login", new ActionMessage("errors.login.invalid")); I'm using str

Re: Blank page returned from ActionForm

2005-05-26 Thread Dave Newton
Andrew Thorell wrote: GLOBAL_ERRORS is deprecated (sp?) Looks like they changed it to just use the Super class constant. Yes, but doesn't the errors tag just look for errors, not messages? I don't recall which release you were using; sorry if I'm just spouting. What happens if you check fo

Re: Blank page returned from ActionForm

2005-05-26 Thread Andrew Thorell
GLOBAL_ERRORS is deprecated (sp?) Looks like they changed it to just use the Super class constant. Andrew On 5/26/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Andy wrote: > > >>>errors.add(ActionErrors.GLOBAL_MESSAGE,new > >>>ActionMessage("logon.form.password.invalid")); > >>> > >>>

Re: Blank page returned from ActionForm

2005-05-26 Thread Michael Jouravlev
It seems to me that Struts cannot find logon.jsp. Hmm... are you sure you spelled it correctly? The case, the location? What if you removed the leading slash? I usually get blank pages when I do not have a proper "forward" defined, but in your case it is "input" and it looks ok. Not much help fro

Re: Blank page returned from ActionForm

2005-05-26 Thread Andrew Thorell
The only other thing I can think of is in the application.properties file: errors.header= errors.prefix= errors.suffix= errors.footer= logon.form.password.invalid=Invalid Password. all should be set to something. I've included mine as an example public ActionErrors Validate(...) { ActionEr

Re: Blank page returned from ActionForm

2005-05-26 Thread Dave Newton
Andy wrote: errors.add(ActionErrors.GLOBAL_MESSAGE,new ActionMessage("logon.form.password.invalid")); Is this the key that errors are retrieved by in html:errors? Isn't the key for errors GLOBAL_ERRORS? Dave

RE: Blank page returned from ActionForm

2005-05-26 Thread Andy
l [mailto:[EMAIL PROTECTED] >Sent: 26 May 2005 14:12 >To: Struts Users Mailing List >Subject: Re: Blank page returned from ActionForm > > >/** >* Double check the property 'Property' inside the Errors tag, it could >be name, I just don't *have my code infront

Re: Blank page returned from ActionForm

2005-05-26 Thread Dave Newton
Andrew Thorell wrote: I could be wrong, but I thought saveErrors was only needed in the Action Class, not the ActionForm class? Whoops, I suck. Just drank non-carbonated Chinese Red Bull and I'm all confused :/ Have you tried setting validate="true" for the action mapping? Dave ---

Re: Blank page returned from ActionForm

2005-05-26 Thread Andrew Thorell
I could be wrong, but I thought saveErrors was only needed in the Action Class, not the ActionForm class? Andrew T > Probably because you didn't read all the docs ;) > > I don't see where you're saving the errors: > > saveErrors(request, errors); > > This is important. > > Dave -

Re: Blank page returned from ActionForm

2005-05-26 Thread Dave Newton
Andy wrote: In LogonForm.java (I have getters/setters for HTML fields, and a reset method, not shown) - public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) { log.debug("validate"); ActionErrors errors = new ActionErrors(); i

Re: Blank page returned from ActionForm

2005-05-26 Thread Andrew Thorell
/** * Double check the property 'Property' inside the Errors tag, it could be name, I just don't *have my code infront of me to double check. */ errors.add("login", new ActionMessage("logon.form.password.invalid")); I've never been able to return an error using ActionErrors.GLOBAL_MESSAGE before