Hi,
Thanks, corrected the path and tiles-def.xml syntax.
Regards,
Amulya
On Jan 18, 2008 3:57 PM, Antonio Petrelli <[EMAIL PROTECTED]>
wrote:
> 2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>:
> > < tile definition = "page.main" path = "pages/welcome.jsp" >
>
> Uh??? Congratulations! You i
2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>:
> < tile definition = "page.main" path = "pages/welcome.jsp" >
Uh??? Congratulations! You invented a new Tiles definition syntax :-)
Your Tiles definition file is completely wrong, add the DTD on top of
your XML and validate it.
And, again, che
Hi,
The tile definition exists. And still it gives me the same error. The
application is starting up properly.
Regards,
Amulya
On Jan 18, 2008 3:40 PM, Antonio Petrelli <[EMAIL PROTECTED]>
wrote:
> 2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>:
> >
> > *description * *The server encountered a
2008/1/18, Amulya Yadavilli <[EMAIL PROTECTED]>:
>
> *description * *The server encountered an internal error () that prevented
> it from fulfilling this request.*
> *exception *
> java.lang.IllegalArgumentException : Path page.welcome does not start
> with a "/" character
>org.apache.strut
Hi,
I am getting the error
"java.lang.IllegalArgumentException: Path page.welcome does not start with a
"/" character " when trying to display a jsp.
The tile definition is given as an Action forward path. This is the first
page after login.
And I am not sure if the ti
For developers, I suggest looking into this proposed enhancement. Instead of
duplicating the path
again in the forward, you can forward to actions. Please vote for this if you
think it is
valuable; perhaps it will make it into future versions of 1.3 or 1.4.
http://issues.apache.org/bugzilla/show
Andrzej Bengner wrote:
[EMAIL PROTECTED] napisał(a):
In that case, when action mapping looks like this
(as you wrote in your mail before):
then you have to do the following at the end of your
action (after all work has been done):
return mapping.findForward( "ok" );
I do this, but
If I understand this correctly Struts is doing the correct thing. It
should go to http://localhost/context/MyAction.do and not
http://localhost/context/path/MyAction.do
If you really must have path in your URL, then maybe you should put
that in your action path:
I use this for thing
Could you post your complete action mapping and
your corresponding Action (or only the important parts?)
FormBean:
type="com.edirect.pl.app.cmsold.struts.form.SendLinkForm"/>
Action:
parameter="/popup/sendlink.jsp"
type="com.edirect.pl.app.cmsold.struts.control.SendLink"
name="SendLinkForm">
Could you post your complete action mapping and
your corresponding Action (or only the important parts?)
Peter
-
[EMAIL PROTECTED] napisał(a):
> In that case, when action mapping looks like this
> (as you wrote
[EMAIL PROTECTED] napisał(a):
In that case, when action mapping looks like this
(as you wrote in your mail before):
then you have to do the following at the end of your
action (after all work has been done):
return mapping.findForward( "ok" );
I do this, but struts still forwarding
rsprüngliche Nachricht-
Von: Andrzej Bengner [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 12. Dezember 2005 10:37
An: Struts Users Mailing List
Betreff: Re: Action forward path
> The parameter attribute defines the target of your
> forward action, that is your jsp.
Thanks.
And what if I want t
The parameter attribute defines the target of your
forward action, that is your jsp.
Thanks.
And what if I want to execute my action (do something) and forward to
this path (/path/file.jsp or /path/MyAction.do)?
Regards
--
Andy
--
Hi!
If you only want your Action to forward to the jsp, and do
nothing else, use a ForwardAction like this:
The parameter attribute defines the target of your
forward action, that is your jsp.
Greetings
Peter
-
Hello,
I ha
Hello,
I have one problem with forwarding my action.
In my action mapping is:
and when I execute my action, then forwarding me to
localhost:8080/context/MyAction.do - not
localhost:8080/context/path/file.jsp (or
localhost:8080/context/path/MyAction.do)
How can I dissolve this?
You can do better than this, if, for example, you use Tiles. You can
create whatever forward you want, irrespective of the mapping.e.g.,
return new ActionForward(path).
Chacko, Raj wrote:
Hi
I'm new to Struts. In one of our new project development, we are planning to
use Struts. One of our requ
Hi
I'm new to Struts. In one of our new project development, we are planning to
use Struts. One of our requirement is to have dynamic pages loaded depending
on some business logic.
My question is this:
I would like to know if there is a way to pass a variable to the path
properties of the tag f
17 matches
Mail list logo