>-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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"));
> >>>
> >>>
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
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
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
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
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
---
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
-
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
/**
* 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
25 matches
Mail list logo