I am using my custom converters to convert from String to Date, we are using
Quartz as well, which also does the same with its own DateConverters.
Unfortunately my date formats and quartz date formats are different.
Initially my idea was to register the converters as a part of plugin, which
has
Hi all,
I am having serious session problem in some of the browsers(Not all). I'm using
struts. In the Action class I am using
HttpSession Session=request.getSession(true);
to get the session and I'm keep on calling this action for different condition.
The problem is For each request it is
Hi,
I'm pretty new to struts and haven't been using it for very long. I
have spent the past few days trawling though web sites and usenet
trying to find the answer to my problem below. If anyone can help it
would be much appreciated.
I am trying to find an example of code that will populate a
Hi All,
I am facing a problem with html file object. Can we assign value to file object
externally ?.
Thanks in Advance
Pramod.
Hi
Yes, indeed this will happen: use geSession() or getSession(false), also
avoid redirect combined with this.
Hermod
-Opprinnelig melding-
Fra: Senthilrajan VS [mailto:[EMAIL PROTECTED]
Sendt: 16. august 2005 11:08
Til: Sturts Mailing list
Emne: Session Problem
Hi all,
I am having
Hi
Use :
html:optionsCollection name=MakeCollectionFormBean property=values
label=label value=label /
From the docs:
This tag operates on a collection of beans, where each bean has a label
property and a value property. The actual names of these properties can
be configured using the
On 8/15/05, Frank W. Zammetti [EMAIL PROTECTED] wrote:
The latest buzzword being tossed around lately is RIA, Rich Internet
Applications. Some of us laugh at the term because we've been doing
RIA's for 5+ years now and never thought to attach a special term to it
:) But I digress...
Thanks
I changed it to session.setAttribute and fixed it,
But now I have another problem even I push the edit link of the second or
third or any row,
the projectname and seqno of the last row is sent to the action.
What can I do?
On 8/15/05, Michael Rasmussen [EMAIL PROTECTED] wrote:
Hi all,
How Jsessionid is passed in the struts application and I don't have any control
for that. how to avoid that. In my application I am facing the problem in the
session it is creating the new session for every request. Is this problem
related to Jsessionid?
Thanks Regards,
SenthilRajan
It can get a little difficult to keep up with.
Basically, you have to know the Hierarchy of your tile and call the top most one. In this case, you would call .base which would intern call myEndUserPage.page1 and finally myEndUserPage.jsp. to change to another.jsp you would call .anotherPage in
For those who may want to see an event model built on top of Struts I
suggest that they look at the code base generated by Common-Controls:
http://www.common-controls.com
The software may be considered as two interrelated parts: View and Control.
The control is built on Struts with events that
Nick!
Big Big Big thanks to you that was the problem! Now everything is working
fine.
Thanks to Laurie too for trying hard to help me.
Christian
-Original Message-
From: Nick Heudecker [mailto:[EMAIL PROTECTED]
Sent: August 15, 2005 11:17 PM
To: Struts Users Mailing List
Subject: Re:
I couldn't find any utility method to only copy non-null properties from the
form bean.
I tried your suggestion to describe() the formbean then filter out the
nulls, then populate() the destination formbean. That worked for formbeans
which do not have nested indexed formbeans. A describe() of
Hi Senthilrajan:
As Hermod mentioned in his note, your session problems are caused because
you have (from your previous note):
HttpSession Session=request.getSession(true);
The true means create a new session. So instead use:
HttpSession Session=request.getSession(false);
or just:
HttpSession
On Tue, August 16, 2005 7:01 am, Ted Husted said:
On 8/15/05, Frank W. Zammetti [EMAIL PROTECTED] wrote:
The latest buzzword being tossed around lately is RIA, Rich Internet
Applications. Some of us laugh at the term because we've been doing
RIA's for 5+ years now and never thought to attach
I'm really not sure I see what it is you are trying to do. I don't
see any submit buttons in your jsp...so I don't see what is being
submitted on a form click. Also I don't see you writing to any fields
that will get submitted to your bean. There is also no attempt to
pull anything out of your
[EMAIL PROTECTED] wrote:
HttpSession Session=request.getSession(true);
The true means create a new session.
For which J2EE versions is that correct? In my 1.3 JavaDocs it says:
Returns the current |HttpSession| associated with this request or, if
if there is no current session and
You are quite right; I was being sloppy.. Should have added the if
there's no current session bit.. thanks for the catch..
Geeta
Dave Newton [EMAIL PROTECTED] wrote on 08/16/2005 10:54:39 AM:
[EMAIL PROTECTED] wrote:
HttpSession Session=request.getSession(true);
The true means create a
[EMAIL PROTECTED] wrote:
You are quite right; I was being sloppy.. Should have added the if
there's no current session bit.. thanks for the catch..
Which makes me wonder why the original poster was continually getting
new sessions; seems weird.
Dave
Dave Newton [EMAIL PROTECTED] wrote
Hi,
Currently I have a action class which does
session.setAttribute(recurringTaskSummary,v_recurringTaskSummary),
where v_recurringTaskSummary is a vector of type
SpRecurringTaskSummary which has certain variables such as
EmployeeName, EmployeeRef etc.
I am using logic:iterate as follows:
I was able to get it working now. Thanks.
On 8/16/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
It can get a little difficult to keep up with.
Basically, you have to know the Hierarchy of your tile and call the top
most one. In this case, you would call .base which would intern call
I was thinking of that too.. He did say in his initail post: I'm keep on
calling this action for different
condition.. so the clue maybe hidden in that..
But then again, having been up since 3am, I perhaps shouldn't be posting
to any lists..;)
Geeta
Dave Newton [EMAIL PROTECTED] wrote on
Hi Wendy,
if you set up tomcat to use the JAAS realm, then tomcat will set up a
LoginContext, which is what you configure by pointing it to your
LoginModule(s).
You either code your LoginModule or perhaps use the Sun one you mention
(if the code does what it's meant to), you just need to
Hi Jay,
session.setAttribute(recurringTaskSummary,v_recurringTaskSummary),
SpRecurringTaskSummary [...] has certain variables such as
EmployeeName, EmployeeRef etc.
I am using logic:iterate as follows:
logic:iterate id = rtSummary name=recurringTaskSummary
bean:write
Developers who are really busy don't have time to give a fancy name to
something that already has a name. Looks like there are enough idiots
out there who have lot of time in their hands to rename things that
already have names. This would spread their name and popularity among
the developer
Stéphane Zuckerman wrote:
I am using logic:iterate as follows:
logic:iterate id = rtSummary name=recurringTaskSummary
bean:write name=rtSummary/
/logic:iterate
The output is name of objects. However I want to somehow access the
variables employeename, employeeref etc. How do I do
HI,
When i do :
logic:iterate id=rtSummary name=recurringTaskSummary
bean:write name=rtSummary property=employeeName/
/logic:iterate
it says not getter for employeeName in bean rtsummary.
'recurringTaskSummary' is a vector and not a bean.
I tried using the attribute
Jay Sheth wrote:
HI,
When i do :
logic:iterate id=rtSummary name=recurringTaskSummary
bean:write name=rtSummary property=employeeName/
/logic:iterate
it says not getter for employeeName in bean rtsummary.
'recurringTaskSummary' is a vector and not a bean.
I tried using the attribute
From: Adam Hardy [EMAIL PROTECTED]
if you set up tomcat to use the JAAS realm, then tomcat will set up a
LoginContext, which is what you configure by pointing it to your
LoginModule(s).
You either code your LoginModule or perhaps use the Sun one you mention
(if the code does what it's meant
Thank you very much for the idea. I'm starting to wrestle with it.
My first instinct is that I'm going to need to extend html:messages
because the JSP solution below wouldn't work (I think!) with the HTML
structure -- in other words, I'm going to end up with a new divul
for every new error
C.F. Scheidecker Antunes wrote:
Is there any way to perform multiple file uploads using Jakarta Commons
Upload on a Struts application?
Is there any howto on this issu?
Just use multiple file inputs on the form. There's no way to provide a
single 'select multiple files to upload' widget, if
Thanks a lot. Got it. As you said, the naming conventions were
followed, but I made a typo in the property attribute.
Sorry for the trouble.
Jay
On 8/16/05, Dave Newton [EMAIL PROTECTED] wrote:
Jay Sheth wrote:
HI,
When i do :
logic:iterate id=rtSummary name=recurringTaskSummary
Hard to tell what's going wrong without the full stack trace. Where,
exactly, is the error raised?
L.
Joe Smith wrote:
When I put scope=request in action mappings, I got the following
HTTP 500 error.
But if i take it out, then everything is fine. any ideas??
[Servlet Error]-[Cannot find
Pramod wrote:
I am facing a problem with html file object. Can we assign value to file object externally ?.
I'm not sure what it is you want to do; if you're asking if it's possible
to pre-populate a file input with a file to upload if the user doesn't
change it, the answer is no: browsers
On 8/16/05, Chris Loschen [EMAIL PROTECTED] wrote:
Thank you very much for the idea. I'm starting to wrestle with it.
My first instinct is that I'm going to need to extend html:messages
because the JSP solution below wouldn't work (I think!) with the HTML
structure -- in other words, I'm
Joe Smith wrote the following on 8/15/2005 7:30 PM:
When I put scope=request in action mappings, I got the following
HTTP 500 error.
But if i take it out, then everything is fine. any ideas??
[Servlet Error]-[Cannot find bean logonForm in any scope]:
javax.servlet.jsp.JspException: Cannot
Greetings,
I am unable to find a solution... even after searching... and waiting for
the espresso to kick in.
I have messages and would like to determine the number of messages in the
bean.
If there is more than one message format the output as a list or else just
display the message.
Unable
Hi everyone. What is the best approach to configure and manage reports
using jasperreports? I don't know if I have to implement a Controller,
or an extension point of DispatchAction, or if I have to implement it
on a servlet directly.
Best Regards
Rafael Mauricio Nami
Wendy Smoak on 16/08/05 17:26, wrote:
The User and Role classes are more or less simple DTOs, one User object
for the user and x Role objects for each role the User is in.
This is where I'm stuck. Right now I'm playing with extending
Krb5LoginModule, just wrapping it and passing through all
Yes, I wouldn't be able to get away with the empty div tag -- it would
create a great big red box on my page which wouldn't be acceptable.
I'm working on extending html:messages, and it's working quite well (and
surprisingly easily) so far. I'll do some more testing tomorrow and if
all goes well,
Thanks that's what I thought regarding the form. But what I really want
is to know how to separate them when they are uploaded.
Files are uploaded like email mime attachments. So there is a begining
and end of each file. Therefore, how do you separate them?
I image that you would have to create
Parsing the data from the request is all handled for you by Struts. You
just get a bunch of java.io.File objects to work with.
L.
C.F. Scheidecker Antunes wrote:
Thanks that's what I thought regarding the form. But what I really want
is to know how to separate them when they are uploaded.
42 matches
Mail list logo