What comes firsta documents
or
Is this browser dependent?
For more backgound:
The login for my site uses a cookie value, this cookie was created on the
same domain but not in the java request, so if I'm correct javascript is
probably the only solution I have to reading in this client's c
Hi,
I got three iterations which I tried as below in the
jsp, First two and Array of certain DTO and last
iterator is a String array. There is no jsp
compilation error, but the issue is it produced
misleading results.
Is there any limitation in S2 for the depth of the
iteration. Is this way of us
On 6/28/07, Søren Blidorf <[EMAIL PROTECTED]> wrote:
I upgraded from STRUTS 1.0 and I also upgraded to tomcat 6.0 from a 4.xx
So possibly something might have gone wrong when you upgraded Tomcat.
Without any error messages its hard to help though. I would start by
trying to get more logging out
Kishen Simbhoedatpanday wrote:
I thought the displayFormat was for display purposes only.
But "HH:mm" does not work when giving the currentTimePart "16:15".
It still gives the "00:00"
My only remaining suggestion is that you create a page full of time
pickers and try all the possible combin
G'day,
I appear to have resolved this issue that I kept running into with the
Jasper Reports plugin...
If I have an action defined as:
WEB-INF/foo.jasper
${contentType}
dataSource
/servlets/image?image=
Hey, anyone interested in being the first to review Ian's book on LuLu?
* http://www.lulu.com/content/813300
-Ted.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yep it is a good practice. Usually u should have an interface and several dao
implementing that interface with a factory, so u can change your database
implementation without having to change the whole code.
You can subclass dao too if u like even if i prefer to use an interface.
Bye
F.
Sun Cert
Hello,
I've run into the issue where tomcat (5.5.15) is not able to undeploy my
webapp after I incorporated struts2 into my web app. The undeploy deletes all
files but the struts2-core-2.0.8.jar in
/webapps/myapp/WEB-INF/lib. I am wondering if there is some
reference to this struts jar t
Sure!
function addPollOption(){
var tr, td, rowId;
tbody = document.getElementById('tableBodyAddPollOptions');
rowId = tbody.rows.length;
tr = tbody.insertRow(rowId);
td = tr.insertCell(tr.cells.length);
td.innerHTML = " ";
td.inne
Hello,
I've run into the issue where tomcat (5.5.15) is not able to undeploy my
webapp after I incorporated struts2 into my web app. The undeploy
deletes all files but the struts2-core-2.0.8.jar in
/webapps/myapp/WEB-INF/lib. I am wondering if there is
some reference to this struts jar that tomca
Oh, I see, but I don' think it is worth it, the good news is, this is
already done on 2.1 (tree lazy loading using AJAX), so check it out ;)
musachy
On 6/28/07, Max Pimm <[EMAIL PROTECTED]> wrote:
Hmmmn. What you've implemented deserializes the whole of the request
into one of the actions vari
Hmmmn. What you've implemented deserializes the whole of the request
into one of the actions variables. This is handy but was not actually
what i was after, let me explain more.
I'm trying to use the dojo tree widget with lazy loading. For the moment
my idea is to get it going outside struts a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Al,
Fogleson, Allen wrote:
> -Original Message-
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 28, 2007 10:48 AM
> To: Struts Users Mailing List
> Subject: Re: Is there any way to avoid session being created
>
>
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 28, 2007 10:48 AM
To: Struts Users Mailing List
Subject: Re: Is there any way to avoid session being created
Fogleson, Allen wrote:
> I assume you are using JSP? If so... well no there is not. JS
JSP has a directive to prevent automatic session creation.
<%@ page *session*="false">
On 6/28/07, Fogleson, Allen <[EMAIL PROTECTED]> wrote:
I assume you are using JSP? If so... well no there is not. JSP by
default has a contract that a session is always available to it. Since
it is always av
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Allen,
Fogleson, Allen wrote:
> I assume you are using JSP? If so... well no there is not. JSP by
> default has a contract that a session is always available to it.
Boy, is that statement false:
<@page session="false" @>
Something else the OP migh
We are using Strings for now. Hopefully we will get a working component like
dateTimePicker that will automatically change a String to Dates (or
Calendars) and back soon.
I thought the displayFormat was for display purposes only.
But "HH:mm" does not work when giving the currentTimePart "16:15".
I assume you are using JSP? If so... well no there is not. JSP by
default has a contract that a session is always available to it. Since
it is always available an HTTPSession is always created if one is not
available. We have gotten around this by having a session listener and
cleaning up a session
My code does not call request.getSession(true) or request.getSession() but
struts still creates a session for me. I only want to create a session for a
logged in user. Can this behaviour be avoided? Thanks.
-
Yahoo! Mail is the world's favourite email. D
Hi,
Yes, you are right. There are instance level security solutions such as
Acegi but it adds a performance overhead and are very difficult to maintain
because you have to assing perrmisions to each database registry. The same
happens with custom access level solutions.
if you are using Struts t
Kishen Simbhoedatpanday wrote:
Thank you Jeromy!
When using the 'displayFormat="h:mm a"' in the datetimepicker tag...
So we set the following in our Action method:
this.setCurrentTimePart("16:15");
The exception is in the DateFormat.parse() method called by the
DateTimePicker. "16:15" is a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vincent,
Vincent Lin wrote:
> I solved this problem finally.
That's good, but
> But it still strange that I've traced the struts 2.0.6 source code
> and found that id does change the encoding of HttpServletRequest in
> Dispatcher.java(line 650
Thank you Jeromy!
When using the 'displayFormat="h:mm a"' in the datetimepicker tag and
changing currentTimePart to String, it will result the given Hours and
Seconds on the page.
So we set the following in our Action method:
this.setCurrentTimePart("16:15");
But
we get the following stackt
Does this work with Struts 2?
mgainty wrote:
>
> Hi Stan
>
> Looks as if this is possible if you create your own ControllerSupport
> classes (and config the classes as Spring Managed beans)
> http://forum.springframework.org/showthread.php?t=17091
>
> Anyone else?
> M--
> This email message
We use:
where incomingAnswer and defaultAnswerTime are Strings in the hh:mm
format. The string's components can then be applied to your Calendar
object within the action.
As discussed in recent threads, this version of the datetimepicker has a
few issues that can avoided if you use String
From: Luciano Costa <[EMAIL PROTECTED]>
> I have the "Poll" and "PollOption" objects. In my
> form, I want to be able to add more options to
> my Poll via javascript code.
You didn't include the JavaScript you're using to create the new form elements,
so it's kinda hard to say.
d.
_
This problem does not concern initial values.
It is about being able to edit the time part of the given Date object into
the DateTimePicker component.
When we want to edit the given Date ONLY, the DateTimePicker works fine.
When using the DateTimePicker as a "TimePicker ()" there seems to be a
You need to set the initial value with the "value" attribute (or I'm missing
something obvious here :) )
regards
musachy
On 6/28/07, Kishen Simbhoedatpanday <[EMAIL PROTECTED]> wrote:
Hello,
We have a problem using the tag when it comes to modifying
a
date and time.
It seems there is no solu
You can pass the content type as a parameter to dojo.bind (actually, it is a
field inside the object passed as the parameter)
musachy
On 6/28/07, Max Pimm <[EMAIL PROTECTED]> wrote:
Thanks. Unfortunately i'm having trouble integrating it since the dojo
call that i am using does not set the con
Hello,
We have a problem using the tag when it comes to modifying a
date and time.
It seems there is no solution in struts2 to edit a date + time with the
datepicker tag, so we use them separately.
In our Action class we have a attribute called "currentTimePart":
private Date currentDatePart;
On 6/28/07, Anton Pussep <[EMAIL PROTECTED]> wrote:
I cannot see a good solution for that. A permission system just to check
if the user is allowed to see this ID seems to be quite an overhead to
me. Whereas storing the ID in the session is not very handy and I have
to take care that they are re
--- Anton Pussep <[EMAIL PROTECTED]> wrote:
> I think that it is a bad solution to have a
> parameter "displayForm" that is set by the action,
> because the action should not know anything about
> the View.
It doesn't; it just knows if, based on some business
or application logic, a flag is bein
I filed this bug: https://issues.apache.org/struts/browse/WW-2015
I think this is a valid feature but agree it should be forced evaluation as
I have in my example. Definitely think it needs to be fixed though.
Kind regards,
Martin
-Original Message-
From: Dave Newton [mailto:[EMAIL P
Hello,
I am wondering what a nice design pattern would be for a JSP that shall
display an additional form if the action wants so (and not display it at
all if not).
I think that it is a bad solution to have a parameter "displayForm" that
is set by the action, because the action should not know an
--- "Petzsch, Martin" wrote:
> Which is fine - except; why is the OGNL in the
> method attribute not processed?
I don't believe that every attribute is expecting an
OGNL expression.
The problem is that the tag reference claims "method"
is evaluated, but the source doesn't appear (on
cursory exami
Hello,
I am not sure how to deal with the problem that a user can pass own
parameter values to the action class by changing the URL if there are
setters provided.
For example I often have a hidden field in a form that stores the ID and
the action class provides a getter and a setter. But the user
I followed the example from this page to do a simple setup.
http://struts.apache.org/2.x/docs/simple-setup.html
I copied the jars listed into my lib folder, I ccopy and pasted the
web.xml from this page and put it in my WEB-INF folder and I copied and
pasted the struts.xml file into my clas
I means this
http://www.nabble.com/Re%3A-How-to-creae-Action-class-in-struts2.0.8-p11340666.html
On 6/28/07, MK Tan <[EMAIL PROTECTED]> wrote:
Wasn't you have the answer from this reply
http://www.nabble.com/How-to-creae-Action-class-in-struts2.0.8-tf3993602.html#a11340518
?
On 6/28/07, man
Wasn't you have the answer from this reply
http://www.nabble.com/How-to-creae-Action-class-in-struts2.0.8-tf3993602.html#a11340518?
On 6/28/07, manohar-AB <[EMAIL PROTECTED]> wrote:
I want the code for the Action class and struts.xml in the struts2.0.8
version
--
View this message in context
I want the code for the Action class and struts.xml in the struts2.0.8
version
--
View this message in context:
http://www.nabble.com/Action-class-in-struts-2.0-version-tf3993691.html#a11340772
Sent from the Struts - User mailing list archive at Nabble.com.
Hi,
On 28/06/07, manohar-AB <[EMAIL PROTECTED]> wrote:
HI,
I had know ledge in struts1.x version. I dont know the struts2.0 .
pls send the action class code with import statements.and struts.xml code
also
to displa y the message " hello world" pls.
pls send the action class code and struts.xml
HI,
I had know ledge in struts1.x version. I dont know the struts2.0 .
pls send the action class code with import statements.and struts.xml code
also
to displa y the message " hello world" pls.
pls send the action class code and struts.xml code and url also. and class
for the jar files.
--
View t
Thanks. Unfortunately i'm having trouble integrating it since the dojo
call that i am using does not set the content-type header. I've not got
debugging to work yet with dojo but once i do i'll have a look at whats
going on. The problem is not with the inteceptor anyway.
max
Musachy Barroso w
Hi,
I have the following:
This is rendered on the page as:
/ContactPointWeb/Home!%{leftMenuLinks[#stat.index].actionMethod}
Which is fine - except; why is the OGNL in the method attribute not
processed? If I move the expression in method into action it works fine but
if I move t
Well thanks. I don't know why my first struts.xml doesn't work, but it's okay
since putting the action without wildcard is considered as normal behavior,
and since it works.
Zarar Siddiqi wrote:
>
> The only mysterious part here is figuring out why you would want to use !
> in your action name
Hello,
I have an existing struts 1 web application and i would like to extend this
application by some additionally services. My problem is, that i don't want to
integrate the source directly into my struts application. I would like to keep
a separation between my service and the application. On
46 matches
Mail list logo