Or index only instead of index.action
On Fri, Dec 11, 2009 at 12:06 PM, Lukasz Lenart <
lukasz.len...@googlemail.com> wrote:
> 2009/12/11 Nguyen Xuan Son :
> > can you tell me more in detail?
> > thank you very much
>
> You're probably accessing your application like that
> http://localhost:8080/
2009/12/11 Nguyen Xuan Son :
> can you tell me more in detail?
> thank you very much
You're probably accessing your application like that
http://localhost:8080/myapp/index.jsp
And in such case, action isn't executed. Try to create action that
will have execute() method and will return SUCCESS and
can you tell me more in detail?
thank you very much
2009/12/11 Lukasz Lenart
> 2009/12/10 Nguyen Xuan Son :
> > is there any way that whenever I access to the JSP webpage
> > the source code which helps display data using display tag will be
> execute?
>
> Yes, do not go directly to jsp pages, a
2009/12/10 Nguyen Xuan Son :
> is there any way that whenever I access to the JSP webpage
> the source code which helps display data using display tag will be execute?
Yes, do not go directly to jsp pages, always access them through actions ;-)
Regards
--
Lukasz
http://www.lenart.org.pl/
-
dear all
I realized that the execute method could not be reached without the form's
button
in detail, my example is that
i want to display the data table using display tag whenever the page is open
i placed all the source code in the execute method
however nothing is displayed
after i inserted the
Several people have mentioned Preparable, but TBH I'm not sure why. The OP
is really just trying to get a "Hello World" Struts app working ...
something for which Preparable is irrelevant.
Wes's questions are good - I'd also like to see the Action class
declaration, the contents of the log, and t
I think that you have to implement Preparable interface, and you can't
declare prepare() throwing an exception because that's not permitted by
methods implementation rules (if i'm wrong tell me please).
Wes Wannemacher escribió:
On Fri, Nov 27, 2009 at 4:04 AM, Nguyen Xuan Son wrote:
Dear
On Fri, Nov 27, 2009 at 4:04 AM, Nguyen Xuan Son wrote:
> Dear Thompson
> Here is the web.xml's content
>
> index.jsp
>
>
> struts2
> org.apache.struts2.dispatcher.FilterDispatcher
>
>
>
> struts2
> /*
>
>
> I've try to use
> void prepare() throws Exception {
> System.out.println("you're now
Dear Thompson
Here is the web.xml's content
index.jsp
struts2
org.apache.struts2.dispatcher.FilterDispatcher
struts2
/*
I've try to use
void prepare() throws Exception {
System.out.println("you're now in C0002_Home page");
}
but it still doesnt work out
please tell me what should i correct
Hello,
try to find you message in the Servlet-Container log file. I am not sure
abot the target of system.out in the jee context, i suppose it would be
the log file.
Regards
Eduard
Nguyen Xuan Son schrieb:
dear all
in struts.xml i have
C0002_Home.jsp
however no matter how hard i trie
Could you post your web.xml? This sounds like it might be a problem with
the Struts filter not being configured properly.
-Brian
On Fri, Nov 27, 2009 at 12:06 AM, Nguyen Xuan Son wrote:
> dear all
> in struts.xml i have
>
>C0002_Home.jsp
>
>
> however no matter how hard i tried
> publi
If execute doesnt give you what you need you can always implement preparable
On Friday, November 27, 2009, Neil Aggarwal wrote:
>> in struts.xml i have
>>
>> C0002_Home.jsp
>>
>>
>> however no matter how hard i tried
>> public String execute() throws Exception {
>> System.out.println("you'r
> in struts.xml i have
>
> C0002_Home.jsp
>
>
> however no matter how hard i tried
> public String execute() throws Exception {
> System.out.println("you're now in C0002_Home page");
> return SUCCESS;
> }
> nothing is excuted
Try adding a result name="input", I think success is only
execute
dear all
in struts.xml i have
C0002_Home.jsp
however no matter how hard i tried
public String execute() throws Exception {
System.out.println("you're now in C0002_Home page");
return SUCCESS;
}
nothing is excuted
please tell me where should i correct?
thank you very much
--
==
Gomathi wrote:
hai,
what will happen when the execute () of action class is overrided by the
subclass called dispatch action?.
Regards
gomes
If you mean extending DispatchAction, your execute() method will get
called. Unless you have a call to super.execute() (which then calls
DispatchA
"Object Oriented Programming"
I would suggest investing in a copy of Java POOP [
http://stevenf.com/mt/gfx/javapoop.jpg]? Of course we know it's an acronym
for "Principles of Object Oriented Programming", but good times nonetheless.
On 8/23/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
the o
the overriding action's method will be called, what do you expect?
leon
On 8/23/06, Gomathi <[EMAIL PROTECTED]> wrote:
hai,
what will happen when the execute () of action class is overrided by the
subclass called dispatch action?.
Regards
gomes
-
hai,
what will happen when the execute () of action class is overrided by the
subclass called dispatch action?.
Regards
gomes
18 matches
Mail list logo