Hello, thank you very much, someone already helped me find the problem. I 
forgot to write a getter and a setter for a variable that I used further on. 



________________________________
From: Poitras Christian <christian.poit...@ircm.qc.ca>
To: 'corina rus' <corina...@yahoo.com>; 'Stripes Users List' 
<stripes-users@lists.sourceforge.net> 
Sent: Monday, January 7, 2013 3:51 PM
Subject: RE: [Stripes-users] Stripes Problem


Hi,
 
What is the method that seems to be the problem?
If it’s the addProduct method, then something is wrong in your code sample 
because you cannot redirect to a resource under the WEB-INF folder. Only 
Forwards are allowed.
 
    public Resolution addProduct() {
        // Removed irrelevant code.
        return new RedirectResolution("/WEB-INF/createUserOrder.jsp");
    }
 
Christian
 
De :corina rus [mailto:corina...@yahoo.com] 
Envoyé : January-05-13 1:17 PM
À : Marcus Kraßmann
Cc : stripes-users@lists.sourceforge.net
Objet : Re: [Stripes-users] Stripes Problem
 
I used it without the "\" at the beginning in every other place and it works 
like that. I tried also with a "\" and didn't work. I restarted everything, 
recompiled, etc. I have absolutely no idea on what else to do
 
From:Marcus Kraßmann <m...@syn-online.de>
To: corina rus <corina...@yahoo.com> 
Cc: "stripes-users@lists.sourceforge.net" <stripes-users@lists.sourceforge.net> 
Sent: Saturday, January 5, 2013 7:52 PM
Subject: Re: [Stripes-users] Stripes Problem
 
Am 05.01.2013 17:27, schrieb corina rus:
type Status report
>message
>descriptionThe requested resource () is not available. (in browser)
>SEVERE: PWC6117: File "C:\Program Files 
>(x86)\glassfish-3.1.2.2\glassfish\domains\domain1\docroot\StoreOnlineWEB-INF\createUserOrder.jsp"
> not found (in glassfish tab in netbeans)
> 
>If I try accessing the createUserOrder.jsp from another action bean it works, 
>it even works when accessing it from UserOrdersAction, except on this 
>operation. 
> 

I still have a bad feeling about the path within the SEVERE message. It refers 
to a folder "...\StoreOnlineWEB-INF\..." which should definitely be 
"...\StoreOnline\WEB-INF\..." instead. And on the other hand, I never saw 
ForwardResolution paths that did not start with a "/" at the beginning. So 
instead of
return new ForwardResolution("WEB-INF/createUserOrder.jsp");
I would always use
return new ForwardResolution("/WEB-INF/createUserOrder.jsp");
for the forward to the JSP file, including the slash at the beginning. Maybe 
you need to recompile, redeploy and then restart the server to see the new 
result (to check this, you could log the path in the event handler before 
returning the ForwardResolution).

Crossing fingers,
Marcus
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to