Thank you! I just wanted to be sure I wasn't missing anything. I'll need to
read up on how that configuration value works to understand why this line
causes it not to work. I'll put up a PR to make the code match the
documentation of the Hello World example.
On Wed, Apr 17, 2
ld/index rather than
> http://localhost:8080/helloworld/index.action). So, I'm curious what I have
> configured wrong that doesn't allow this to work. I'm using Java 21
> (Corretto). Let me know if there are other dependencies that you need to
> know the version of.
As you n
I forgot to mention, I am on Windows 11 Home Version 23H2 OS Build
22631.3447. I have also tried via WSL 2 on an Ubuntu 20.04.6 LTS (focal)
and had the same result.
On Sun, Apr 14, 2024 at 2:54 PM Tim Mousaw wrote:
> I started to go through the Getting Started examples at
> https://struts.apache
I started to go through the Getting Started examples at
https://struts.apache.org/getting-started/index.html. I downloaded all the
examples from https://github.com/apache/struts-examples. I would expect
that I should be able to run `mvn jetty:run` from any of the examples,
follow the appropriate li
>
> >
> >
> > Btw, I’m running on Java JDK 8. What’s a good fix for this?
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Ron
> >
> >
> >
> > Ron Ruffin
> >
> > *Web Software Developer V, SSDA*
&
this?
>
>
>
> Thanks,
>
>
>
> Ron
>
>
>
> Ron Ruffin
>
> *Web Software Developer V, SSDA*
>
> *Empower AI **(Formerly NCI)*
>
> Office: TBD | Mobile: 937.490.9754
>
> *rruf...@empower.ai *
>
>
>
>
>
> *From:* Ruffin, R
023 at 11:06 AM Ruffin, Ronald
> wrote:
>
>> Hi folks!
>>
>>
>>
>> I’m working my way through the basic Struts 2 tutorials, including “Hello
>> World using Struts 2”, and although I think I have everything set up as the
>> tutorial recommends, when I run
on Java JDK 8. What's a good fix for this?
Thanks,
Ron
Ron Ruffin
Web Software Developer V, SSDA
Empower AI (Formerly NCI)
Office: TBD | Mobile: 937.490.9754
rruf...@empower.ai<mailto:rruf...@empower.ai>
From: Ruffin, Ronald
Sent: Friday, December 8, 2023 11:03
To: user@struts.apach
I can't see the log4j.xml file so it's difficult to say why it might be
failing parsing.
On Fri, Dec 8, 2023 at 11:06 AM Ruffin, Ronald
wrote:
> Hi folks!
>
>
>
> I’m working my way through the basic Struts 2 tutorials, including “Hello
> World using Struts 2”,
way to address this?
Thanks,
Ron
Ron Ruffin
Web Software Developer V, SSDA
Empower AI (Formerly NCI)
Office: TBD | Mobile: 937.490.9754
rruf...@empower.ai<mailto:rruf...@empower.ai>
From: Ruffin, Ronald
Sent: Friday, December 8, 2023 09:28
To: user@struts.apache.org
Subject: Issue wi
Hi folks!
I'm working my way through the basic Struts 2 tutorials, including "Hello World
using Struts 2", and although I think I have everything set up as the tutorial
recommends, when I run the app in Jetty, I get the attached stack trace, and
when I try to open it my bro
-0700
> > Subject: Re: hello world is giving me a stack trace.
> > From: haoniu...@gmail.com
> > To: jim_ander...@jjajava.com
> > CC: user@struts.apache.org
> >
> > Don't know why. I suspect you have a class name conflict somewhere
> in your
> > environm
MG>can you repost the Stacktrace in a followup email
MG>thanks
> Date: Tue, 8 Jul 2014 20:52:24 -0700
> Subject: Re: hello world is giving me a stack trace.
> From: haoniu...@gmail.com
> To: jim_ander...@jjajava.com
> CC: user@struts.apache.org
>
> Don't know why.
Don't know why. I suspect you have a class name conflict somewhere in your
environment.
On Tue, Jul 8, 2014 at 6:15 PM, Jim Anderon
wrote:
>
> I am attaching the struts.xml file. This is the struts.xml file that came
> with the tutorial example. I have not
> edited it at all.
>
> I realize the
I am attaching the struts.xml file. This is the struts.xml file that
came with the tutorial example. I have not
edited it at all.
I realize the stack track indicates the program failed in the struts.xml
file, but I assume that
for most people running the example, this example works. I suspect
The backtrace already told you. There's a classcast exception in your
struts.xml file.
You need to at least add your struts.xml file.
On Tue, Jul 8, 2014 at 12:47 PM, Jim Anderon
wrote:
>
> Hi,
>
> I'm trying to learn about struts and I have been trying to run the
> tutorials. The example, 'ba
The structs config files and the lib files all came with the example and
I have not touched them. Do you want to
see these? Or do you want to see the tomcat6 config files?
Jim A.
On 07/08/2014 05:01 PM, Dave Newton wrote:
Without seeing the config file or the libs you're deploying it's
diff
Without seeing the config file or the libs you're deploying it's difficult
to help. I haven't seen that stacktrace before, though.
On Tue, Jul 8, 2014 at 3:47 PM, Jim Anderon
wrote:
>
> Hi,
>
> I'm trying to learn about struts and I have been trying to run the
> tutorials. The example, 'basic s
Hi,
I'm trying to learn about struts and I have been trying to run the
tutorials. The example, 'basic struts', runs ok in my
environment. But when I run 'hello_world', I get a stack trace, which I
will attach to this email.
I'm running on Crunchbang linux, a Debian deriviative, and I'm using
Hi All,
Good news and bad news.
The good news is that I have worked with Tomcat and struts and I can now
run the 'Hello World'
example. So, I am going to close off this thread.
The bad news is that when it runs, the application gives a stack trace.
But at least I can run it
n
> Date: Sun, 6 Jul 2014 09:41:36 -0400
> From: jim_ander...@jjajava.com
> To: user@struts.apache.org
> CC: mgai...@hotmail.com
> Subject: Re: Hello World does not work.
>
>
http://stackoverflow.com/questions/13301882/deploy-war-file-in-tomcat-server
autoDeploy="true"
unpackWAR = true
MG>
MG>jaya could you explain meaning of web-content please?
Date: Sat, 5 Jul 2014 23:05:37 +0530
ver.xml
>> MG>
>> http://stackoverflow.com/questions/13301882/deploy-war-
>> file-in-tomcat-server
>> autoDeploy="true"
>> unpackWAR = true
>> MG>
>> MG>jaya could you explain meaning of web-content please?
>>
>>
>>
>&
in Gainty wrote:
MG>Jim
MG>$TOMCAT_HOME/conf/server.xml
MG>
http://stackoverflow.com/questions/13301882/deploy-war-file-in-tomcat-server
autoDeploy="true"
unpackWAR = true
MG>
MG>jaya could you explain meaning of web-content please?
Date: Sat, 5 Jul 2014 23:05:37 +0530
Subj
cation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
> 3 Hello World Struts 2
> 4
> 5 index.jsp
> 6
> 7
> 8
> 9
> 10 struts2
> 11 org.apache.struts2.dispat
ere the line numbers are
inserted by my editor and are not part of the file:
1
2 http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml
MG>Jim
MG>$TOMCAT_HOME/conf/server.xml
MG>
http://stackoverflow.com/questions/13301882/deploy-war-file-in-tomcat-server
autoDeploy="true"
unpackWAR = true
MG>
MG>jaya could you explain meaning of web-content please?
> Date: Sat, 5 Jul 2014 23:05:37 +0530
> Subject
by my editor and are not part of the file:
> >
> >
> > 1
> > 2 http://java.sun.com/
> > xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> > http://java.sun.
Typically you would put the war file at /var/lib/tomcat6/webapps/
hello_world.war not /var/lib/tomcat6/webapps/hello_world/hello_world.war.
Tomcat will unbundle the war file into /var/lib/tomcat6/webapps/hello
_world/ for you. One other option would be to try pointing your browser at
http
/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
> 3 Hello World Struts 2
> 4
> 5 index.jsp
> 6
> 7
> 8
> 9
> 10 struts2
> 11 org.apache.str
2 xmlns="http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web- app_2_4.xsd">
3 Hello World Struts 2
4
5 index.jsp
do you have index.jsp in your webContent folder and did you configure
struts2 filter in web.xml?
On Sat, Jul 5, 2014 at 5:33 PM, Jim Anderon
wrote:
>
> Hello All,
>
> I am an experienced programmer, but inexperienced in web programming and a
> total newbie to struts.
> St
Hello All,
I am an experienced programmer, but inexperienced in web programming and
a total newbie to struts.
Struts looks like it will be very useful to my web programming so I have
ventured into the tutorials to
start learning how to use it. I ran the first tutorial 'basic_s
Yes I solved the problem with the help of Dave. Thanks. I am absolute
beginner to Struts2 and I will try to ask more related questions later.
the post is :
http://stackoverflow.com/questions/8991597/struts-hello-world-example-there-is-no-action-mapped-for-namespace-and-act/8991842#8991842
gt; That tutorial provides more of a "walk-thru" for how to structure a Struts
> 2
> web application.
>
> Bruce
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/Struts2-Hello-world-example-tp5324357p5332091.html
>
1045723.n5.nabble.com/Struts2-Hello-world-example-tp5324357p5332091.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-ma
been
answered.
Dave
On Tue, Jan 24, 2012 at 1:08 PM, Eren Oz wrote:
> i am absolute beginner to Struts2. I am tying to follow tutorials on
> struts web site. i followed this
> tutorial<http://struts.apache.org/2.3.1.2/docs/hello-world-using-struts-2.html>.
> i have some
not find a solution.
There is no Action mapped for namespace [/] and action name [hello] associated
with context path [/Hello_World_Struts_2]. - [unknown location]
I have attached my directory structure and struts.xml file.
Thanks for your responses
Hello everyone!
Hello
Thanks very much to all responses this issue is resolved
with this message.
Kostya
- Original Message -
From: "Martin Gainty"
To: "Struts Users Mailing List"
Sent: Saturday, September 19, 2009 11:53 PM
Subject: RE: Hello Help please with Struts2
Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
From: harasev...@yandex.ru
To: user@struts.apache.org
Subject: Hello Help please with Struts2
Date: Sat, 19 Sep 2009 21:55:59
When you say "on the classpath" do you mean the compile classpath of the
project or is the jar physically in
WEB-INF/lib?
Chris
-Original Message-
From: Wes Wannemacher
To: Struts Users Mailing List
Sent: Sat, Sep 19, 2009 6:55 pm
Subject: Re: Hello Help p
Which app server do you have set up in netbeans?
On 9/19/09, Konstantyn Harasevich wrote:
> Hello
>
> When running samples struts 2
>
> Here is exception relative to this taglib in NetBeans7.1:
> <%@ taglib uri="/struts-tags" prefix="s" %>
>
&g
t keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
> From: harasev...@yandex.ru
> To: user@struts.apache.org
> Subject: Hello Help please with Struts2
> Date: Sat, 19 Sep 2009 21:55:59 +0100
Hello
When running samples struts 2
Here is exception relative to this taglib in NetBeans7.1:
<%@ taglib uri="/struts-tags" prefix="s" %>
org.apache.jasper.JasperException: /example/HelloWorld.jsp(2,41) PWC6117:
File "/s
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Hello-Everybody%2C-I-am-getting-exception-Action-Class-not-fou
Nagesh Reddy K wrote:
Action class [java.struts2.examples.chapter1.HelloWorld] not found - action -
file:/D:/tomcat%205.0/webapps/struts2/WEB-INF/classes/java/struts2/examples/chapter1/chapter1struts.xml:9:74
So... does the action exist? Has it been deployed?
We're not actually at your machine
org.apache.catalina.core.StandardContext start
--
View this message in context:
http://www.nabble.com/Hello-Everybody%2C-I-am-getting-exception-Action-Class-not-found-tp24304486p24304486.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To
Yahooo -- fixed the problem.
Compared web.xml in crud and helloworld app.
In helloword app the configuration is
struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
If I change it to
struts
org.apache.struts2.dispatcher.FilterDispatcher
example.xml is in its place. I have not touched it.
I agree with you that when index.html is hit - it should execute
"example/HelloWorld.xml" but I dont think it is finding index.html.
Filter is not intercepting the correct way.
My crud example worked just now. I am going to look and compare the
I just added few css.
>
> Struts2-blank has welcome page, login page (uses validation), hello world
> page. all the links work.
>
> I think my problem is with FilterDispatcher not recognizing static files.
> Currently .jsp and and file with no extensiin like struts2/Welcome works.
I am not getting the source of the error, but have few debugging questions:
Have you copied the example.xml contents into the struts.xml file?
And you have removed or deleted the contents of that (example.xml) file.
when you hit '/index' the default action gets called 'index' and when you
hit 'i
yes.
I am using struts2-blank-2.1.6
I just added few css.
Struts2-blank has welcome page, login page (uses validation), hello world
page. all the links work.
I think my problem is with FilterDispatcher not recognizing static files.
Currently .jsp and and file with no extensiin like struts2
; On Fri, Jun 19, 2009 at 7:30 PM, jill juneja
> wrote:
> >
> > > All,
> > >
> > > I am new to struts2. Downloaded and manually configured the helloworld
> > war
> > > in JDeveloper. Every thing work fines in the app. I am getting hello
> > wo
ed lightning."
>
> On Fri, Jun 19, 2009 at 7:30 PM, jill juneja wrote:
>
> > All,
> >
> > I am new to struts2. Downloaded and manually configured the helloworld
> war
> > in JDeveloper. Every thing work fines in the app. I am getting hello
> world
> >
d the helloworld war
> in JDeveloper. Every thing work fines in the app. I am getting hello world
> message. Login page, validations using validator.
>
> Only thing not work in the app is css file. Its in the root directory under
> css folder. Any help is very much appreciated. Below is e
All,
I am new to struts2. Downloaded and manually configured the helloworld war
in JDeveloper. Every thing work fines in the app. I am getting hello world
message. Login page, validations using validator.
Only thing not work in the app is css file. Its in the root directory under
css folder. Any
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/struts/struts2-blank/2.1.6/
(struts2=blank) may be just the thing to use for writing a struts2 hello world.
Is this David Newton's contribution?
Thanks.
-Original Message-
From: Lukasz Lenart [mailto:lukas
I think it will be even better to start from scratch with Struts2 archetype [1]
[1] http://struts.apache.org/2.1.6/docs/struts-maven-archetypes.html
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-un
, 2009 at 12:08 PM, manofspider wrote:
>
> Hi all,
>
> I am trying Struts 2 with Maven 2:
>
> Simple Setup:
> http://struts.apache.org/2.1.6/docs/simple-setup.html
>
> Hello World:
> http://struts.apache.org/2.1.6/docs/hello-world.html
>
> But the Hello World sample
Hi all,
I am trying Struts 2 with Maven 2:
Simple Setup:
http://struts.apache.org/2.1.6/docs/simple-setup.html
Hello World:
http://struts.apache.org/2.1.6/docs/hello-world.html
But the Hello World sample is not completely clear for beginner:
- where to place files: HelloWorld.jsp
Yes, but that's not true. dateStart is Date! I tried with String, I tried
everything and Struts 2 have serious problems with dates!
Gabriel Belingueres <[EMAIL PROTECTED]> wrote: java.lang.NoSuchMethodException:
setMin(java.lang.String)
Meaning that dateStart is a String, and should be a Date.
java.lang.NoSuchMethodException: setMin(java.lang.String)
Meaning that dateStart is a String, and should be a Date.
2008/5/22, Milan Milanovic <[EMAIL PROTECTED]>:
> Hi,
>
> when I try this I got an exception:
>
> WARN com.opensymphony.xwork2.util.OgnlUtil:369 - Caught OgnlException while
> se
One more thing, as I use String type in my action class for datetimepicker, I
tried to validate that field with regex validator, like this:
[0-3][0-9].[0-1][0-9].[1-2][0-9][0-9][0-9]
Date is wrong
But nothing happens if I enter wrong date, it just st
Hi,
when I try this I got an exception:
WARN com.opensymphony.xwork2.util.OgnlUtil:369 - Caught OgnlException while
setting property 'min' on type
'com.opensymphony.xwork2.validator.validators.DateRangeFieldValidator'.
java.lang.NoSuchMethodException: setMin(java.lang.String)
at o
did you tried ${dateStart}?
2008/5/20, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Hi all, i'm Dome, from Italy, and i'm having my troubles with Date
> Validation on Struts 2 :|
>
> Using xml validation, and need to validate a
> date.
>
> Let's say i have 2 dates taken from html form. I need the seco
Hi all, i'm Dome, from Italy, and i'm having my troubles with Date
Validation on Struts 2 :|
Using xml validation, and need to validate a
date.
Let's say i have 2 dates taken from html form. I need the second
one (if it does exist: it is not mandatory, actually) to be after the
first one.
Us
I think that I've solved the problem.
I put the configuration file under the wrong directory.
I put it under the WEB-INF directory.
Now I've moved it to WEB-INF/classes direcotry.
And it works for me.
Thanks again for your kind reply.
Regards.
2007/8/26, Kun Niu <[EMAIL PROTECTED]>:
> Thanks for
Thanks for your fast reply.
Yes. I've got the taglib in my jsp file.
My tomcat verion is 5.5.23.
And the following code work for me:
my url
I can see my url and the address is correct.
In case I change property attribute as the following:
Without a value specified, I can get
[EMAIL PROTECTED]
It
Hi,
If your not using JSF plugin its safe to delete that jar from your lib
folder, what is the tomcat version you are using? if its supports
servelet spec. 2.4+ you dont need it in the web.xml. what i ment was
that in you .jsp file do you have this line on top?
<%@ taglib prefix="s" uri="/st
Thank you for your reply.
I saw the following error message when my tomcat startup:
WARN com.opensymphony.xwork2.config.providers.InterceptorBuilder
Unable to load config class
org.apache.struts2.jsf.FacesSetupInterceptor at interceptor -
jar:file:/home/niu/workspace3.3/.metadata/.plugins/org.eclip
Hi,
This can be due to many reasons, do you see any error messages in the
console of the app server?, just a guess, have you included the
struts-tag declaration in you jsp?
Thanks,
Nuwan
Kun Niu wrote:
Dear all,
I wonder if anyone has ever met the problem like me.
Now I've come to the fi
Dear all,
I wonder if anyone has ever met the problem like me.
Now I've come to the first step.
I create the view jsp file and the action bean following the guide.
And I configured struts.xml file.
I can see the page come out on my browser.
But I can only see the title.
I can't file the message "S
ПРЕВЕД
МЕДВЕД!!!
Sick sense of humor? Visit Yahoo! TV's
Comedy with an Edge to see what's on, when.
http://tv.yahoo.com/collections/222
I'm copying in the user list, in case others might be interested.
On 10/30/06, an correspondant wrote to Ted Husted:
I am reading the Struts in Action book. Very long story short, I am an "old
school" programmer, trying to get up and running in the new world order of
Java, JSP, Struts, etc... Th
What is that?!?
I guess not a patch from Craig.
since he knows bugzilla... ;-)
Regrads,
Matthias
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 25, 2004 10:37 AM
> To: [EMAIL PROTECTED]
> Subject: Hello
>
>
>
I hope the patch works.
Attachment: No Virus found
F-Secure AntiVirus - www.f-secure.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I hope the patch works.
Attachment: No Virus found
F-Secure AntiVirus - www.f-secure.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello Friends,
I have just joined into the list...
I am very new to this filed.. hope u all will help me to solve the problems..
Thank you
--
--
Kranti Kiran Kumar Parisa
Software Engineer [ e-Biz ],
Patni Computer Systems Ltd.,
India
Mobile: +91 98504 45977
I am really sorry abt that...next time i wont repeat that
On Fri, 17 Sep 2004 17:27:58 +0530, Jitender K Chukkavenkata
<[EMAIL PROTECTED]> wrote:
> Let us respect group values...No personals pleasesend a personal mail
> if curious of knowing...
>
> Jitender Kumar C.V.
>
>
--
Kranti Kir
Let us respect group values...No personals pleasesend a personal mail
if curious of knowing...
Jitender Kumar C.V.
Hi Jitender,
Thanx for ur warm welcome...
Hey r u from A.P.??
'coz ur names look like that..
iam from A.P., VIJAYAWADA
anyways it doesnt matter..nice to meet u ...
--
Kranti
On Fri, 17 Sep 2004 17:23:38 +0530, Jitender K Chukkavenkata
<[EMAIL PROTECTED]> wrote:
> Waaarm welcome Kranti...Have
Waaarm welcome Kranti...Have funn...
Jitender Kumar C.V.
Hello Friends,
This is Kranti Parisa, Software Engineer.
I am working with Patni Computer Systems Ltd.
Our Project is using the Struts Framework.
So I will be in this mailing list from 2day onwards...
Have a nice time..
Bye for now
Kranti Parisa
Victor Grazi wrote the following on 9/12/2004 10:28 AM:
For example if the page is displaying a collection of beans as an html
table, and there is an update and delete button on each row, how do you
pass the id of the record to those buttons and how does the Action capture
the button (update or
Can you point me to a small but complete master detail struts program? I am
having trouble understanding how to set this up, especially with buttons on
each row.
For example if the page is displaying a collection of beans as an html
table, and there is an update and delete button on each row, h
Userlist test!
Yufan Shi
We are Online!
http://www.ivanshi.com/blog/
Userlist test!
Yufan Shi
We are Online!
http://www.ivanshi.com/blog/
88 matches
Mail list logo