Good Day,
I noticed that the struts tag library file is located in the META-INF of the
struts core jar. I would like to create a tag library and would like to know
what is the best place to put the tld file and should I loaded.
The Struts 2 website does not seem to give any guidelines on this.
2007/6/18, Oguz Kologlu [EMAIL PROTECTED]:
Hi All,
Does anyone know how to get tiles to monitor it's configuration file
(tiles.xml) for changes or how to reload it manually without have to
restart the webapp or server?
What version of Tiles are you using?
2007/6/18, Mark P Ashworth [EMAIL PROTECTED]:
I noticed that the struts tag library file is located in the META-INF of the
struts core jar. I would like to create a tag library and would like to know
what is the best place to put the tld file and should I loaded.
The Struts 2 website does not
Hi all,
I am following the struts 2 + spring 2 + jpa + ajax example for learning
struts 2. I did everything as instructed. But I get a warning in struts.xml
and the validation.xml that file cannot be validated as host
www.opensymphony.com http://www.opensymphony.com/ is currently
unreachable .
Thank you for your information. I have got xwork-2.0.3 and took diff
against 2.0.1 in directory
'src/java/com/opensymphony/xwork2/validator/annotations'. It seems
that the only change is just removing StringRegexValidator. Sounds
like I should wait until 2.1 release.
2007/6/13, Jeromy Evans
Struts 2.0.8, Struts Tiles plugin 2.0.8, Tiles 2.0.3
Oz
On 18/06/2007, at 4:57 PM, Antonio Petrelli wrote:
2007/6/18, Oguz Kologlu [EMAIL PROTECTED]:
Hi All,
Does anyone know how to get tiles to monitor it's configuration file
(tiles.xml) for changes or how to reload it manually without have
Hi,
I'm wondering how much Struts 2 depends upon Servlet API 2.4 and JSP API
2.0.
Reason I ask is, I've managed to get a Struts 2 application running on our
client's current production App Server, which is Oracle Application Server
10.1.2, although that App server only provides J2EE 1.3
2007/6/18, Oguz Kologlu [EMAIL PROTECTED]:
Struts 2.0.8, Struts Tiles plugin 2.0.8, Tiles 2.0.3
You can use the TilesFilter for this:
http://tiles.apache.org/tutorial/configuration.html
Search in the page for Load the Tiles filter.
Next time, please Tiles-related questions to Tiles Users
I am new to struts. i downloaded struts2.0.8 n and copied all the .war files
from struts to tomcat\webapps directory.
my normal java and servlet pgm is compling very well. but if i run struts
enabled java r servlet pgm i get error msg.
n my error msg reads s follows.
This is struts 1.3.x version syntax ... donwload 1.3.8 version and then
try
-Original Message-
From: bindhu [mailto:[EMAIL PROTECTED]
Sent: 18 June 2007 10:55
To: user@struts.apache.org
Subject: Help me pls
I am new to struts. i downloaded struts2.0.8 n and copied all the .war
files
2007/6/16, Roberto Nunnari [EMAIL PROTECTED]:
humm... it seams that:
s:if test=%{myvar}
suffices for testing null..
is that the correct usage? Best practices for the original problem?
have you tried this?
s:if test=%{myvar.isEmpty}
--
Guillaume Carré
y will version 2.0.8 will not work
--
View this message in context:
http://www.nabble.com/Help-me-pls-tf3939274.html#a11172900
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
Struts 2 is architecturally totally different from struts 1.3.x
Have you tried to download a sample application and run it ?
Look at the dtd of the struts-config.xml ?
Regards
Guru
-Original Message-
From: bindhu [mailto:[EMAIL PROTECTED]
Sent: 18 June 2007 11:10
To:
thank u so much Raghu. i will download struts1.3.x. can u pls say me the how
to install it. i read the installation guide but its not that much useful.
so can u pls help me
--
View this message in context:
http://www.nabble.com/Help-me-pls-tf3939274.html#a11173372
Sent from the Struts - User
Hello,
Let me know the following
Where is tomcat installed
What is the jdk version
Are you using Eclipse ( or anything else )
How much do you know about servlet specification
Once I get this I will try to help
Regards
Guru
Good idea. I had done that in the past but had not thought about it
here. Unfortunately, it does not seem to fix the problem.
Thanks.
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 16, 2007 12:23 PM
To: Struts Users Mailing List
Subject: RE: [S2]
Jason,
I am using Oracle Applicaiton Server 10.1.3.2 and eveything works great
except for the fact that I cannot send GET requests or URL parameters to map
to the action servlet when they are called. I seem to have this same
problem when running webworks 2.4 but to get around this I use the
i have done what u said me to do. copy the .war file to webapps. i opened my
web browser. i get the following msg when i open my browser.
Welcome!
To get started on your own application, copy the struts-blank.war to a new
WAR file using the name for your application. Place it in your
c:\apache-tomcat-6.0.13\webapps\register\WEB-INF\lib\commons-validator-1.3.1.jar;c:\apache-tomcat-6.0.13\webapps\register\WEB-INF\lib\struts-core-1.3.8.
i added it to my classpath. now also i get the same error when compiling the
struts enabled java.
--
View this message in context:
Good Morning Jason and George
I *believe* the WebWorkServletDispatcher has been replaced by
CoolUriServletDispatcher
http://www.jdocs.com/webwork2/2.1/api/com/opensymphony/webwork/dispatcher/CoolUriServletDispatcher.html
Anyone else?
M--
This email message and any files transmitted with it
Hello,
Even though struts1 versus struts2 has been described in detail, I am
really looking for something qualitative that only struts users could
shed some light on. We are looking to choose a web framework for our
project and I suggested going with Struts2. However, since other product
teams in
for comparison of the 2 environments did you take a look at
http://struts.apache.org/2.x/docs/comparing-struts-1-and-2.html
HTH
M-
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If
Thanks Martin. I did look at the comparison. However as I don't know
struts1, I am not able to judge whether a struts1 user would find
struts2 concepts to be pretty much the same or radically different and
hard to follow. I am looking for user perspective on how much of the
knowledge gained from
If you are setting trim=true in a stringlength validation you obviously
want the data that is passed to the database to be the data you have
validated, not the data plus the spaces removed during validation which
is what is happening.
Is there any way to automatically trim data from textfields
On 6/18/07, Sivapatham, Hari [EMAIL PROTECTED] wrote:
Thanks Martin. I did look at the comparison. However as I don't know
struts1, I am not able to judge whether a struts1 user would find
struts2 concepts to be pretty much the same or radically different and
hard to follow. I am looking for
Thanks a lot Jeff. You have confirmed my guess (its got to be better and
not all that different to use, right :). I hope other users can chime in
as well.
Priya
-Original Message-
From: Jeff Amiel [mailto:[EMAIL PROTECTED]
Sent: Monday, June 18, 2007 11:23 AM
To: Struts Users Mailing
Could somebody please help me with this one?
Roberto Nunnari wrote:
sorry.. my previous message was misstyped in the second question..
let me repost it corrected:
Hello list.
I'm learning S2 and I'm a bit puzzled with the following:
img src=s:url value=/Images:param name=storyId
Hello Guillame.
That is intended to check a List is empty, but it doesn quite substitute
the empty operator.. The empty operator tests for null, empty strings
and empty arrays..
I must then assume there's no single substitute?
..and how's about empty strings?
Best regards.
Guillaume Carré
--- Roberto Nunnari wrote:
img src=s:url value=/Images:param
name=storyId
value=%{id}//s:url/
I would expect the generate HTML to be something
like:
img
src=/iopinion_hibernate00/Image?storyId=11/
but instead I get:
img src=/iopinion_hibernate00/Image?id=11/
do I miss
--- Roberto Nunnari [EMAIL PROTECTED] wrote:
..and how's about empty strings?
test='stringVar.length() 0'
d.
Building a website is a piece of cake. Yahoo! Small Business gives you all the
tools to
Hello Dave.
my comments follow:
Dave Newton wrote:
--- Roberto Nunnari wrote:
img src=s:url value=/Images:param
name=storyId
value=%{id}//s:url/
I would expect the generate HTML to be something
like:
img
src=/iopinion_hibernate00/Image?storyId=11/
but instead I get:
img
I see that in the new 2.0.8 (Thanks Ted, Don and team) that the Jasper
plugin is included. Does that mean that Jasper is the endorsed
recommended way to export data to Excel and or CSV? If so, great. If
not, can you offer up what you feel is a preferred mechanism for
exporting to Excel?
On 6/18/07, Skip Hollowell [EMAIL PROTECTED] wrote:
I see that in the new 2.0.8 (Thanks Ted, Don and team) that the Jasper
plugin is included. Does that mean that Jasper is the endorsed
recommended way to export data to Excel and or CSV? If so, great. If
not, can you offer up what you feel is
I have a webwork validation depending on a key for i18n. The first time it
shows the form it also shows a:
FreeMarker template error!
Method public java.lang.String
com.opensymphony.xwork2.validator.validators.ValidatorSupport.getMessage(java.lang.Object)
threw an exception when invoked on
Good Day,
Thank you for the reply.
I am trying to configure the urls values that my tag should use, for
example:
m:graph
id=graph
width=600
height=200
align=middle
bgcolor=#FF
charturl=s:url value=\/flash/open-flash-chart.swf\
includeParams=\none\ /
dataurl=s:url
s:url value=... id=theUrl/
m:graph ... charturl=${theUrl} .../
This should work assuming you're in a JSP 2.0
container.
d.
--- Mark P Ashworth [EMAIL PROTECTED] wrote:
Good Day,
Thank you for the reply.
I am trying to configure the urls values that my tag
should use, for
example:
Good Day,
I decided to use UrlHelper.buildUrl(getChartUrl(), req, res, null); for the
chart url because that probably won't change on a per Action basis but I can
see that the data url should come from the Action so I will try to use the
suggestion that you put forward for the data url.
Thanks.
Good Day,
Thinking about it a bit more, I think this how I would like to define the
tag in the JSP file
m:graph
id=graph
width=600
height=200
align=middle
bgcolor=#FF
charturl=s:url value=\/flash/open-flash-chart.swf\
includeParams=\none\ /
dataurl=s:url
Hi there,
We noticed different behaviors between client-side and server-side validations
using a RequiredFieldValidator annotation. Using this annotation, an empty
field is considered invalid when validated on the client-side, while it is
accepted by the server-side validation (when
Hi all.
Question regarding struts 2 UI tags.
I have one action which gets a list of objects and forwards to a jsp view.
I'd like that view to display a list of those objects, with a radio button
besides each one, so the user can select a single item from this list. For
each item, I'd also like
Hi all,
I am working in a pure struts application which went live
succesfully. We got issues from users saying that they are getting
javascript errors if they use netscape/Safari/Firefox.
The same java script is working good in IE. Please let me know how to
make it cross
Good Day,
HaH, found the answer to question 2, or at least a workaround for now.
1. Created a graph.jsp with the following code in it
%@ include file=../include.jsp %
s:property value=graphData escape=false /
2. Utilized code found in the Url component that is able to determine an
Action's
Dave,
I tried to use the same code, and your code in a jsp page
without tiles, but the result is exactly the same.
Tomorrow I'll try on another computer and I'll let you know
the result.
Best regards.
--
Robi
Dave Newton wrote:
--- Roberto Nunnari wrote:
img src=s:url value=/Images:param
--- Krishna, Hari (FTT-CInternet) wrote:
The code highlighted in red color is giving has no
properties error if I enable script notification in
the browser. Please let us know the best way to
fix.
I don't see anything in red, so it's kinda hard to
say.
Without the form fields in question
--- Roberto Nunnari [EMAIL PROTECTED] wrote:
I tried to use the same code, and your code in a jsp
page without tiles, but the result is exactly the
same.
What version of S2 are you using? What container?
d.
It shouldn't do that. A jira ticket would be welcomed :)
thanks
musachy
On 6/18/07, Marc-Andre Thibodeau XX (QB/EMC)
[EMAIL PROTECTED] wrote:
Hi there,
We noticed different behaviors between client-side and server-side
validations using a RequiredFieldValidator annotation. Using this
The point being empty covers all the issues (null, empty string, empty list
or array). Too much sugar in our diet is my guess.
Z.
--- Roberto Nunnari [EMAIL PROTECTED] wrote:
..and how's about empty strings?
test='stringVar.length() 0'
d.
From your JSP code:
s:url value=/Image
s:param name=storyId value=%{id}/
/s:url
There are two things worth noting:
1)Because you're not using includeParams='none', any parameters from your
current page will be appended to the url generated by s:url tag.
2)If %{id} can't be found in the stack,
Hi Mike,
GET requests and params seem to work for us... We're using Struts 2.0.6 as
is and followed the mailreader showcase example for setup. Which release of
struts 2 are you using?
I'll send our config files direct, hope it helps...
Regards
Jason
-Original Message-
From: Mike
On 6/18/07, Jeff Amiel [EMAIL PROTECTED] wrote:
On 6/18/07, Skip Hollowell [EMAIL PROTECTED] wrote:
I see that in the new 2.0.8 (Thanks Ted, Don and team) that the Jasper
plugin is included. Does that mean that Jasper is the endorsed
recommended way to export data to Excel and or CSV? If
Hi,
In S1.x as we got reset method is ActionForm we used
to reset the corresponding property in the ActionForm,
hence it correctly reflects what user did when
submitting.
In the absense of the Action Forms, What is the best
practice to sort this out in S2.
Thanks
Hi Priya,
I had a similar experience to Jeff... We've used Struts 1 on several
projects and had to choose whether to go with Struts 2 for our current
project. We went with Struts 2 and have been happy with the decision, but
there were pros and cons:
Pros of Struts2 (IMHO):
- flexible
Hi,
I have a question regarding the ParametersInterceptor, specifically the
ParameterNameAware interface. Since Struts 2 is typically injecting the form
parameters into the action, I have some security concerns. It works really
great but I fear that malicious users could somehow inject other
Sorry yesterday we had problem with net in our office. so i was not able to
chat wiht u further. u have asked how do i compile my java in cmd promt . i
just type javacRegisterForm.java in the command path.
Raghupathy, Gurumoorthy wrote:
Hello,
Let me know the following
torben wrote:
Hi,
I am making an application, where I have jsp page with a Chart
generated by the JFreeChart API. I would like to the
org.apache.struts2.dispatcher.ChartResult class for presenting the
chart.
Can somebody provide me with an example how to do, or give me a link
to
Struts 2 question.
In a jsp page I have a reference to a bean:
s:bean name=dk.frojonck.pingtest.graphic.ResultsDetail id=result
s:param name=jobIdTexts:property value=jobId//s:param
/s:bean
My problem is to set the parameter jobIdText, which need the value from
the jobId attribute.
56 matches
Mail list logo