Hi Saeed,
Thanks for trying to solve my issue.
Actually...Struts 2 is a Great Framework for Developing Web Applications.
But the word great adds more complexity to the Framework. I am using Dojo
with Struts2, but unexpectedly it did not works with IE it works in Mozilla
FF but not in IE.
So, Is
It looks fine to me perhaps someone else can help you.
On Thu, Jan 28, 2010 at 4:42 PM, SweetRahul wrote:
>
> Yes, i have written it correct way...if i am not wrong.
> Please have a look at following struts.xml file
>
>
>
>my.jsp
>Login.js
Yes, i have written it correct way...if i am not wrong.
Please have a look at following struts.xml file
my.jsp
Login.jsp
now here the URL is like this: "~/secure/login.action", Isn't it ?
and the code in jsp file is as
It says secure.Login not just login. Case Sensitive too.
On Thu, Jan 28, 2010 at 4:25 PM, SweetRahul wrote:
>
> Yes. But still it gives me an error...
> My Struts.xml file contain the above action with name "login" and for
> double
> check
> in result i have provided name="success".
>
> My Actio
Yes. But still it gives me an error...
My Struts.xml file contain the above action with name "login" and for double
check
in result i have provided name="success".
My Action is executed successfully...but it will not display the page which
is mapped to SUCCESS.
If you want some more information
That needs to be defined in struts.xml action and its result.
On Thu, Jan 28, 2010 at 4:10 PM, SweetRahul wrote:
>
> Hi,
>
> Very Very thank you for Such a Wonderful Explanation about the Initial
> Configuration for Struts2.
>
> But, I have always stuck here(whenever i create application from
>
Hi,
Very Very thank you for Such a Wonderful Explanation about the Initial
Configuration for Struts2.
But, I have always stuck here(whenever i create application from
scratch) I have checked all the My Configurations... but then also my
application gives me error something like this:
" Str
Hi Dave,
Thanks for helping me out and clearing my basic understanding of the work
flow.no my application is working fine running without any error..
thanks for your help.
--aum
On 3/11/08, aum strut <[EMAIL PROTECTED]> wrote:
>
> ok i will do like this..
> lets see what will be the results...
>
ok i will do like this..
lets see what will be the results...
On 3/11/08, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- aum strut <[EMAIL PROTECTED]> wrote:
> > about entering valida data i am inputting valid data aal the tme..
>
> I'm skeptical. Turn "devMode" on and check your logs. It might a
--- aum strut <[EMAIL PROTECTED]> wrote:
> about entering valida data i am inputting valid data aal the tme..
I'm skeptical. Turn "devMode" on and check your logs. It might also be
related to the other issue, I suppose, but it's more likely that there is a
conversion or validator error.
Dave
--
thks dave for such an explanation.
i got what you are saying..i was really nt aware of the fact..
about entering valida data i am inputting valid data aal the tme..
On 3/11/08, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- aum strut <[EMAIL PROTECTED]> wrote:
> > i am using two jsp pages here n
--- aum strut <[EMAIL PROTECTED]> wrote:
> i am using two jsp pages here namely index.jsp for getting inputs
> HelloWorld.jsp-->for displaying the results..
> as indexs .jsp is being displayed on start up i have configuredit in
> web.xml
Okay, I've said like a million times that if you access the
well this time i am keen to answeryour questions.
i am using two jsp pages here namely index.jsp for getting inputs
HelloWorld.jsp-->for displaying the results..
as indexs .jsp is being displayed on start up i have configuredit in
web.xml
helloWorld.jsp i have configured it in struts.xml like th
--- aum strut <[EMAIL PROTECTED]> wrote:
> i hope this will help to find out the cause of the error.As its still
> giving the error.error message from the console attached namely
> consoleError when i am adding the "action extension to the action".
Are you accessing the JSP directly (as opposed to
Hi Dave,
I am attaching all the files namely
index.jsp
HelloWorld.jsp
TestAction.java
struts.xml
web.xml
consoleError
browser Message
i hope this will help to find out the cause of the error.As its still giving
the error.error message from the console attached namely consoleError when i
am adding
--- aum strut <[EMAIL PROTECTED]> wrote:
> about adding the .action extension i have to add this extension to my
> action like this
>
> while if i am using
>
> it is still giving me the problem.
Then something is still wrong.
As I've tried to say several times already, and asked but gotten no
the problem was that i was not clear about the struts.xml file which was
creating the problem..
i was putting struts.xml in wrong location..
about adding the .action extension i have to add this extension to my action
like this
while if i am using
it is still giving me the problem.
On 3/9/08,
--- aum strut <[EMAIL PROTECTED]> wrote:
> it was really a silly mistake from my side which was causing the problem...
What was the problem?
> only question i want to ask is while writing the name of the action in form> tage do we need to add action extension,
No.
Dave
-
hi dave,
Thanks for looking in to the matter.
the problem has been fixed..
it was really a silly mistake from my side which was causing the problem...
only question i want to ask is while writing the name of the action in tage do we need to add action extension,
my mean to say that if the name
--- aum strut <[EMAIL PROTECTED]> wrote:
> but when i hit submitt button.it is not able to find the action associated
> with the index.jsp.
*sigh*
Okay, we're going to start over. This would be easier if you'd answer the
questions, though. This time I've numbered them for your convenience.
1) Do
i have designed a jsp page namely index.jsp
As i am using myeclipse as IDE which has tomcat embedded in it.
running my application using embedded tomcat is displaying index.jsp page
accuratly which is asking for input about the name and date.
but when i hit submitt button.it is not able to find t
--- aum strut <[EMAIL PROTECTED]> wrote:
> i am not sure about the method invocation as read the example some where as
> mentioned theer it was describibg that struts2 will automaticaaly populate
> the fields in the action with refrence to input field.
How do you access the form page? What is the
hi dave,
i am not sure about the method invocation as read the example some where as
mentioned theer it was describibg that struts2 will automaticaaly populate
the fields in the action with refrence to input field.
On 3/7/08, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> Oops, hit send too quickly.
Oops, hit send too quickly.
It's also a good idea (in general) to answer the questions somebody asks
you--they may be relevant.
--- aum strut <[EMAIL PROTECTED]> wrote:
> even when i am trying the example from the struts web site namely
> HelloWorld it is also not running. it still giving me the
--- aum strut <[EMAIL PROTECTED]> wrote:
> even when i am trying the example from the struts web site namely
> HelloWorld it is also not running.
> it still giving me the following error.
Let's focus on your application for now.
Dave
-
even when i am trying the example from the struts web site namely HelloWorld
it is also not running.
it still giving me the following error.
*type* Status report
*message* *There is no Action mapped for namespace / and action name
HelloWorld.*
*description* *The requested resource (There is no
--- aum strut <[EMAIL PROTECTED]> wrote:
> [...]
I'm also not clear on how you're getting to your input form in the first
place; are you using dynamic method invocation?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
--- aum strut <[EMAIL PROTECTED]> wrote:
> /jsp/welcome.jsp
Is that a typo? "SUCCESS" should be lower-case if you're returning
ActionSupport.SUCCESS.
Also the information regarding the lack of a configured result should be
logging an error message to your console. Including such logging informati
Hi All,
I have tried all the ways but not able to solve the problem..
i am attaching all the codes for my test application..
*StrutsExample.xml*
*
package* aum;
*
import* java.sql.Date;
*
import* com.opensymphony.xwork2.ActionSupport;
**
*public* *class* StrutsExample *extends* ActionSupport
--- "Karr, David" <[EMAIL PROTECTED]> wrote:
> I'm technically a newbie on this, so don't take my word on it, but I
> would suggest:
>
> * Don't use "actionPackages" or the annotations.
Both actionPackages and the annotations work fine; the issue you had was that
you were combining the two config
I'm technically a newbie on this, so don't take my word on it, but I
would suggest:
* Don't use "actionPackages" or the annotations.
* Remove the "namespace" attribute on the action element.
* Change the "package" attribute on the action element to have a value
!= your Java package.
> -Origi
and if i will add the namespace to the struts.xml
it is giving the error message as
"
*No configuration found for the specified action: 'TestExample' in
namespace: ''. Form action defaulting to 'action' attribute's literal value.
*
any idea about these warnings..
On 3/6/08, aum strut <[EMAIL PRO
ther is one more thing as i am using myeclipse for the development and when
i am running the application it is giving the warning as"
*"No configuration found for the specified action: 'TestExample' in
namespace: ''. Form action defaulting to 'action' attribute's literal value"
*
"
On 3/6/08, Oth
* my index.jsp page is displaying properly whcih is asking for the inputs
but when i click the submitt button it is giving me the error as
*"The requested resource (/StrutsStarter/TestExample) is not availableE"**
It is interesting why you have */StrutsStarter/TestExample *instead of *
/StrutsStar
Hi Dave and Othon,
even on adding "namespace" and even removing the annotation based
validations from the action
i am still facing the same problem.
On 3/6/08, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- Othon Reyes Sanchez <[EMAIL PROTECTED]> wrote:
> > I guess somebody else have a very simi
--- Othon Reyes Sanchez <[EMAIL PROTECTED]> wrote:
> I guess somebody else have a very similar problem
>
> Change:
>
> For:
>
The other problem was occurring specifically because of the attempt to use
zero-config alongside XML config in the same package, which apparently
doesn't work. While I'd
yes i am extending ActionSupport class and as i know it implimets Action
interface where SUCCESS is defined.
On 3/6/08, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- aum strut <[EMAIL PROTECTED]> wrote:
> > public String execute() throws Exception{
> > return SUCCESS;
> > }
>
> Do you have SUCC
I guess somebody else have a very similar problem
Change:
For:
Also are you extending form ActionSupport in your TestExample class?.
On Thu, Mar 6, 2008 at 10:42 AM, aum strut <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am a starter in struts2. i am developing a simple programme in struts2
>
--- aum strut <[EMAIL PROTECTED]> wrote:
> public String execute() throws Exception{
> return SUCCESS;
> }
Do you have SUCCESS defined anywhere?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
39 matches
Mail list logo