Hi,
I haven't used ExtJS., but we i have done is i just writhe the json string
to the output stream and from my js i convert it to JSON and used it. i used
Dojo
Thanks,
Nuwan
(http://code.google.com/p/struts2-ssl-plugin/)
On Jan 23, 2008 12:26 AM, auz [EMAIL PROTECTED] wrote:
this is struts
I'm using the s:a tag and I'm experience a severe performance penalty.
This is with Struts 2.0.11
As part of my JSP page I have
s:iterator value=pageData
tr id=row_s:property value=id/
td
hi
iam muzaffar,struts learner, Any body is having any struts application
means pls send to me with source code,its will be very helpful to me and iam
very thankful to you.
waiting for ur reply
Create on you class path a properties file celled for example
globalMessages.properties and add the format.money line
Then declare this file in struts.properties
(struts.custom.i18n.resources=globalMessages). Thus, you are able for
every page to format a number like a currency
-Original
i dont think ull run into problems atleast as long as u reatain the theme as
ajax.
try using theme as simple and give onblur=validate(this);. Also include
the necessary .js files (make the necessary ajax configurations and view
source in browser, ull see the .js files). check if the .js files
2008/1/23, mohammed hussain [EMAIL PROTECTED]:
hi
iam muzaffar,struts learner, Any body is having any struts application
means pls send to me with source code,its will be very helpful to me and iam
very thankful to you.
Google struts tutorial, or go directly to:
http://struts.apache.org/
did u try struts showcase?? its part of downloads available at the site. also
is a good start for struts.
Antonio Petrelli-3 wrote:
2008/1/23, mohammed hussain [EMAIL PROTECTED]:
hi
iam muzaffar,struts learner, Any body is having any struts application
means pls send to me with source
Hi,
i have a JSP in which either I show x , y fieds or y, z field
based on some condition .
Now, i have to validate all x, y,z fields in such a way that if these
fields are present, they should be validated else not .
can somebdy pls suggest how to do this ...
Regards,
Kavita
You can turn off validation for a specific method by using the
@SkipValidation annotation above your action method.
http://struts.apache.org/2.x/docs/validation.html
2008/1/21, Martin Braure de Calignon [EMAIL PROTECTED]:
Hello :-),
I have two questions, the first one is more important for
thanx ravichandaran for ur reply ,wat is this showcase,could you tell me
how i can see in net bean
On Jan 23, 2008 2:38 PM, ravi_eze [EMAIL PROTECTED] wrote:
did u try struts showcase?? its part of downloads available at the site.
also
is a good start for struts.
Antonio Petrelli-3
download, explode, and search for war files. then deploy them onto tomcat.
http://mirror.x10.com/mirror/apache/struts/binaries/struts-2.0.11-all.zip
mohammed hussain wrote:
hi
iam muzaffar,struts learner, Any body is having any struts application
means pls send to me with source
Le mercredi 23 janvier 2008 à 11:17 +0200, Andriy Kharchuk a écrit :
You can turn off validation for a specific method by using the
@SkipValidation annotation above your action method.
http://struts.apache.org/2.x/docs/validation.html
Ok many thanks, I though it works only for validation
Hi.
I've solved the problem. And the solution was... reading the documentation
with great attention!!!
In particular, from
http://struts.apache.org/2.0.11/docs/type-conversion.html, the paragraph
Relationship to Parameter Names:
1 - Use JavaBeans! The framework can only create objects if the
Hi,
I am in a development of struts web application.
I need to use java script in a jsp page. but i could not do that.
cant we use java script in jsp pages?
If possible how would i do that?
Naveen
hi,
I have a ajax div (div1) in another ajax div (divGrp1). I publish the event
refreshDivGrp1 to divGrp1, the div1 was recreate and the event refreshDiv1
was subscribed twice.
Here are the debug messages:
DEBUG: [divGrp1] Listening to refreshDivGrp1 to refresh
DEBUG: [div1] Listening to
2008/1/23, naveen k [EMAIL PROTECTED]:
I am in a development of struts web application.
I need to use java script in a jsp page. but i could not do that.
cant we use java script in jsp pages?
If possible how would i do that?
You can put Javascript in your JSP page, what's your problem?
Hi,
yes, you can, what is the issue you are facing?
just add the script /script tag inside your page and write your
javascript code there and just use them in your page.
Thanks,
Nuwan
On Jan 23, 2008 2:10 PM, naveen k [EMAIL PROTECTED] wrote:
Hi,
I am in a development of struts web
Thanks for ur reply.
I have Jason's Calendar code which run calendar.js script.
I need to set that in my JSP page i could not da that.
I have done the same thing in html page.
I was trying to do like this
%@ page language=java pageEncoding=UTF-8%
%@ taglib
Hi,
Does any one knows when is struts 2.1 should be released and do you know
with what dojo version it will be released?
Regards,
Mark Levitsky
Amdocs Self Service
+972-9-7960880(desk)
This message and the information contained herein is proprietary and
confidential and
2008/1/23, naveen k [EMAIL PROTECTED]:
script type=text/javascript src=/Calendar/calendarDateInput.js
/script
I think that the problem is in the inclusion of the javascript file.
Anyway, this is not a Struts related problem. I suggest to use Firefox and
Firebug to track this kind of
Right now i was using Mozilla Firefox.
Is there any problem with that?
Any way i am going to install the plugin which u have suggested me.
Naveen
On Jan 23, 2008 2:36 PM, Antonio Petrelli [EMAIL PROTECTED]
wrote:
2008/1/23, naveen k [EMAIL PROTECTED]:
script type=text/javascript
Even after i have installed the plugin, there is no result.
what would be my problem.
Naveen
On Jan 23, 2008 2:43 PM, naveen k [EMAIL PROTECTED] wrote:
Right now i was using Mozilla Firefox.
Is there any problem with that?
Any way i am going to install the plugin which u have suggested me.
I'll expand on this comment (and I believe this is what ravi_eze is
suggesting)... I have a similar situation in my application, and I got
around it by creating a non-validating stack for the setup actions. I
basically removed all the interceptors that trigger validation for those
actions where I
Is there any problem with this mail list? I can´t send mails.
Jeromy Evans escribió:
I'd use a breakpoint in to inspect the content of the data variable.
Is it a tree of Nodes or is it plain text/html? If the former it can
be appended/inserted directly into the DOM with the respective
Well, if I begin my Plugins.jspx with a div tag, it works (before, the
begin was a jsp:root tag). But, when the response is loaded (it is the
same page but with a new plugin entry), the delete link is bad created.
So, 2 questions:
a) why didn´t it work with jsp:root?
b) why delete links are
2008/1/23, naveen k [EMAIL PROTECTED]:
Even after i have installed the plugin, there is no result.
what would be my problem.
Probably I've been not clear.
Your problem is not Struts-related. My suggestion to use Firebug meant that
you need to *use* it to *track* your problem and, after
Hello anyone please help me out of this problem.
Naveen
On Jan 23, 2008 2:49 PM, naveen k [EMAIL PROTECTED] wrote:
Even after i have installed the plugin, there is no result.
what would be my problem.
Naveen
On Jan 23, 2008 2:43 PM, naveen k [EMAIL PROTECTED] wrote:
Right now i was
i'm using struts 1.1, oracle 10g environment
i'm facing a problem that i can't save special characters as ẻ, € from the
page to database correctly though i used all the possible ways to set the
encoding to utf-8
her's the code i used
1- in the.jsp page ..
%@ page language=java
How to use this Firebug for these jsp pages to track my problem?
In what way it can help me?
Please dont think i am boring u my friend.
Naveen
On Jan 23, 2008 3:45 PM, Antonio Petrelli [EMAIL PROTECTED]
wrote:
2008/1/23, naveen k [EMAIL PROTECTED]:
Even after i have installed the plugin,
thanks for ur reply.
But i need to use calendarDateInput.js in my code.
how can i call it from my Jsp if i remove src attribute from the script tag?
Naveen
On Jan 23, 2008 3:54 PM, Pablo Vázquez Blázquez [EMAIL PROTECTED] wrote:
try
script type=text/javascript
/script
in your funcions
--- naveen k [EMAIL PROTECTED] wrote:
How to use this Firebug for these jsp pages to track my problem?
In what way it can help me?
Please dont think i am boring u my friend.
The issue isn't that you're boring anybody, it's that you're using the
struts-user list to ask JavaScript questions
try :
request.setCharacterEncoding(encoding);
response.setCharacterEncoding(encoding);
filterChain.doFilter(request, response);
r^
S pozdravom Robert Slama
SpiritLine s.r.o.
Bernolakova ul. 1A
901 01 Malacky
[EMAIL PROTECTED]
gsm: +421 905 122 841
tel: +421 34 778 20 88
--- Mark Levitsky [EMAIL PROTECTED] wrote:
Does any one knows when is struts 2.1 should be released
No, there is no timeline (in general) for Struts releases.
and do you know with what dojo version it will be released?
As it stands it's using 0.4.mumble (0.4.3?), IIRC.
d.
When I read your first question, I thought you might be a troll, because that is
often the first question in a flame war. But it seems you are genuine, so here
are my pros and cons of struts vs spring mvc, based on the use of spring webflow
(using spring mvc underneath):
- struts interceptor
Can I work some how with struts 2 and with dojo 1.0 together (instead
the 0.4 version)
If yes how can I configure to use this dojo version?
And another question do you know in what version of struts the dojo will
be above 1.0
Regards,
Mark Levitsky
Amdocs Self Service
+972-9-7960880(desk)
--- Mark Levitsky [EMAIL PROTECTED] wrote:
Can I work some how with struts 2 and with dojo 1.0 together (instead
the 0.4 version)
You can use Dojo raw (i.e., not using the S2 tags), or you could get the
2.1 source and replace the Dojo plugin version with 1.0 and deal with any
potential issues
i did add response.setCharacterEncoding(encoding), in EncodingFilter class
but still output corrupted characters in the jsp
:(
i really need to solve this problem as soon as possible .. any help please ?
--
View this message in context:
Hi, all. Is there a way to set a DailyRollingFileAppender outside of a
log4j.properties in a struts application? My company’s website is running in a
mainfame environment with multiple WAS instances for each region ie.,
development, test, and production. This type of architecture requires
can we use dojo 1 in struts 2.0.9?
newton.dave wrote:
--- Mark Levitsky [EMAIL PROTECTED] wrote:
Can I work some how with struts 2 and with dojo 1.0 together (instead
the 0.4 version)
You can use Dojo raw (i.e., not using the S2 tags), or you could get the
2.1 source and replace the
Hello,
I'm using struts 2 version 2.0.9. I have a form with a lot of input
fields, including a select, which is the 'category group'. When I select a
group (onchange), I go to the server and get all categories for that group.
The way I did so far, is by using DWR; I have a class called
one approach:
you need to achieve appearing and dissappearing of the filelds based on some
event (say radio button) using client side javascript. how ever in either
case according to the html the fields are all present (i.e. x,y,z) now in
action calss you can write validate method in which you
Also worth mentioning is that configuring data sources in
struts-config.xml has been deprecated for a long, long time. The
preferred way to do it is to configure the data source in your container
and reference it from your Struts app through JNDI. Switching to that
approach should avoid issues
Hi,
is there anyway to get, from within an Action's code, a string with
the full URL for that action (including query string with current
value of the parameters) ?
I already took a look at ActionSupport, ActionContext and
ActionInvocation javadoc, but nothing there fits my needs.
thanks
--
hi all,
I have the following code:
s:combobox
label=Group
name=groupAssociation
theme=simple
list=#{'red':'red','green':'green','blue':'blue'}
headerKey=-8
readonly=true
headerValue=--- Please Select ---
emptyOption=false
value=green /
this provides the
Kavita Mehta wrote:
Hi,
i have a JSP in which either I show x , y fieds or y, z field
based on some condition .
Now, i have to validate all x, y,z fields in such a way that if these
fields are present, they should be validated else not .
can somebdy pls suggest how to do this ...
--- Filipe David Manana [EMAIL PROTECTED] wrote:
is there anyway to get, from within an Action's code, a string with
the full URL for that action (including query string with current
value of the parameters) ?
I already took a look at ActionSupport, ActionContext and
ActionInvocation javadoc,
Isn't that a select?
http://struts.apache.org/2.x/docs/select.html
--- xianwinwin [EMAIL PROTECTED] wrote:
hi all,
I have the following code:
s:combobox
label=Group
name=groupAssociation
theme=simple
list=#{'red':'red','green':'green','blue':'blue'}
The default reply to these question is always: you can use any
Javascript library or framework you want, with any version of Struts,
exactly as you would use it outside of Struts.
Struts2 includes some tags and other convenience features which make a
few basic Ajax-y things easy to do without
Basically I am creating a page that contains a select box.
When the user changes the selected item, it is redirected to an URL.
The value of each item in the select box corresponds to the URL of the
current page but with different values for the action's parameters
(passed in the query string).
--- Filipe David Manana [EMAIL PROTECTED] wrote:
Basically I am creating a page that contains a select box.
When the user changes the selected item, it is redirected to an URL.
The value of each item in the select box corresponds to the URL of the
current page but with different values for the
wessam wrote:
i'm using struts 1.1, oracle 10g environment
i'm facing a problem that i can't save special characters as ẻ, € from the
page to database correctly though i used all the possible ways to set the
encoding to utf-8
[...]
the point is the the characters reaches the action class
Try this.
script type=text/javascript src=Calendar/calendarDateInput.js
/script
You need to check your file paths and understand relative links in your web
application. If that isn't it then you will have to figure it out. The
syntax is correct.
Regards,
Randy Burgess
Sr. Web Applications
I think that's more of a Log4j configuration question (i.e. how to
configure a Log4j appender dynamically during webapp startup). As such,
you might be better off asking on a Log4j-specific list.
L.
Paula McDowell wrote:
Hi, all. Is there a way to set a DailyRollingFileAppender outside of a
Otto, Frank wrote:
hi,
I have an old struts1 application. Now, I want to use struts 2 for a new part of them (ajax configurator). With the struts 2.0.11 version it work's fine, but If I upgrade to struts 2.1.0 snapshot, I will get many errors, especially NullPointerExceptions.
Is it possible
Hi, I just downloaded struts2 and tomcat and tried to run the blank app , I got
the first page that say :
Struts is up and running...
Languages
. English
. Espaniol
when I click in those links nothing happen.
Since I put the war file in webapps folder of tomcat
I finally found the answer for any that are interested. servlet filters
apparently don't
trigger (by default) on forwarded and included requests. I had to
change my filter url
mapping in web.xml to make the struts2 filter fire
from:
filter-mapping
Any idea?
How can I fix the Delete links problem?
Pablo Vázquez Blázquez escribió:
Well, if I begin my Plugins.jspx with a div tag, it works (before, the
begin was a jsp:root tag). But, when the response is loaded (it is the
same page but with a new plugin entry), the delete link is bad
Good ideia. I just made the select box submit the form whenever a new
option is selected, via the onchange event. The form's target is the
same action, with hidden parameters, except for the select box, which
targets one of the parameters.
Thanks for your suggestions.
On 1/23/08, Dave Newton
Please keep discussions on the mailing list rather than replying to
anyone directly, so the archives are complete.
In this case, you've isolated your problem to the database read/write
phase, which means it's not a Struts issue. You'll need to look again
at your database configuration and
Hi,
We haven't tried this with Struts 2.1, as suggested below, but I don't
think it would work. There have been many changes between Dojo 0.4 and
1.0. One of them is that require(packageName.*) is not supported
anymore in Dojo 1.0.
(I also know that there have been many changes in the way Dojo
I said you could use it raw or port the plugin (S2.1) or Dojo tags (S2.0) to
Dojo 1.x; so this will work. I didn't mean to imply there wouldn't be issues
(I thought I said I didn't know if there would be issues or not, since I'm
not familiar with Dojo 1.x).
--- Yuval Rotem [EMAIL PROTECTED]
Note sure if this is the right mailing list for this, but on the download
page (http://struts.apache.org/downloads.html), there are links for prior
releases such as 2.0.9. They all take you to the same page (download.cgi),
with local references (struts#209), but those local anchors have apparently
Sorry Pablo, I'm not sure about this.
My suggestions are:
- try it in FireFox. If it works, you know you have an IE-specific
problem. If it doesn't work, there's something wrong with the code
- innerHTML is known to have quirks in IE. I'd simplify the HTML
result and work upwards from
I've seen references all over the place to the struts dojo plugin, but I
can't find a jar by that name in any of the 2.x distributions I've checked
(2.09 and later). Is the jar called something else? Or is it not actually
part of the distribution as the docs say?
Also, I understand the Ajax
The S2.1 Dojo plugin is not bundled in the distribution because S2.1 isn't
released yet. If you build from source (manually or via Maven) it's in the
plugins directory.
d.
--- Jeff Hill (RR) [EMAIL PROTECTED] wrote:
I've seen references all over the place to the struts dojo plugin, but I
StandardWrapperValve[DBProxyServlet]: Servlet.service() for servlet
DBProxyServlet threw exception java.lang.NullPointerException
PLEASE HELP ME TO SOLVE THIS PROBLEMM SIR
PLEASE
thankss
--
View this message in context:
That's a class in Tomcat, not Struts. Looks like you're datasource is
misconfigured. Please ask on the tomcat users list.
Thanks
On Jan 24, 2008 12:29 AM, yogeerocks [EMAIL PROTECTED] wrote:
StandardWrapperValve[DBProxyServlet]: Servlet.service() for servlet
DBProxyServlet threw exception
This is a tiny bit off topic, but does anyone know a good JSP based
Date Control that works well for Birth Dates? Most of the JavaScript
libraries with the fancy calendar controls are horrible to enter
birthdates (just hit the Previous Year button 45 times). I'm
hoping for something that can
68 matches
Mail list logo