-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/17/2011 01:40 AM, Lukasz Lenart wrote:
> Why do not change the format in JSP file ?
>
> Convert should do only conversion, formatting should be in view. Do
> you use the tag to display those dates ? If so, the
> first entry should be presented
Why do not change the format in JSP file ?
Convert should do only conversion, formatting should be in view. Do
you use the tag to display those dates ? If so, the
first entry should be presented with full format, the following
entries just with reduced format. And use hidden fields for full
forma
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thanks to Paweł Wielgus I was turned on to the prospect of using a
Custom Type Converter to handle a custom date problem.
To recap:
I have a form where the user can insert into java.sql.Timestamp field
either a date in the form -MM-dd HH:mm or ju
- Original Message
> From: Dai Le
> To: user@struts.apache.org
> Sent: Wednesday, September 2, 2009 4:59:02 PM
> Subject: Session data
>
> Hi,
>
>
>
> I developed a data collection web application using struts 1.2.9 and I've
> run into a problem
formation along in session
> variables. The problem arises when a user has multiple instances of the
> website opened, the session data is crossed with each other. Because all
> the instances share the same session, it's causing the session data to be
> crossed or overwritten. Do
es of the
website opened, the session data is crossed with each other. Because all
the instances share the same session, it's causing the session data to be
crossed or overwritten. Does anyone have any ideas or thoughts on the
matter? Is there any way to create a new session each time the user
2008/6/10 Gamble, Wesley (WG10) <[EMAIL PROTECTED]>:
> Should ActionInvocation.getInvocationContext().getParameters() give me a
> Map of request parameters or do I need to pull the HttpServletRequest
> object in another way?
No, just use getParameters() to get raw parameters access
Regards
--
L
Should ActionInvocation.getInvocationContext().getParameters() give me a
Map of request parameters or do I need to pull the HttpServletRequest
object in another way?
I've seen some code online where the HttpServletRequest gets pulled.
Thanks,
Wes
-
2008/6/10 Gamble, Wesley (WG10) <[EMAIL PROTECTED]>:
>
> But I want this to happen for every action - and it is dependent on the
> request data that comes in.
Then you should implement Interceptor and investigate
ActionInvocation.getInvocationContext() .getParameters()
Regards
--
Lukasz
http://w
But I want this to happen for every action - and it is dependent on the
request data that comes in.
Wes
-Original Message-
From: Lukasz Lenart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2008 2:51 PM
To: Struts Users Mailing List
Subject: Re: How to set session data based on
Hello!
2008/6/10 Gamble, Wesley (WG10) <[EMAIL PROTECTED]>:
> 1) I would like to set some session key-value pairs in response to a
> request parameter so that I can count on these session variables
> throughtout my application. Should I use an interceptor for this? How
> does the interceptor g
--- On Tue, 6/10/08, Gamble, Wesley (WG10) <[EMAIL PROTECTED]> wrote:
> Should I use an interceptor for this?
Depends.
> How does the interceptor get access to the request variables?
See the ServletConfigInterceptor source, also viewable online [1]. (The version
doesn't matter too much in this
Guys,
My application is being used by third party product,
in which they call our different actions
(.do?param=value etc.) at different places. Whenever
they call our application they open up a child
window(our application). After doing necessary task
user clicks on "Done" button on child window,
On 8/9/05, C.F. Scheidecker Antunes <[EMAIL PROTECTED]> wrote:
> How do you save something to the Session scope and then access it within
> Struts?
> I pretty much understand how to do it within a Servlet.
You can do this directly, or you can setup your ActionForm class to
have session scope. Acti
the session through the
request and the context through getServlet().getContext() (minus
whatever end-of-day errors I've made)
Dave
Shall I make a getter for this model class and pass the parameter
through an Action call or
can I access the Session data from a Model Class? Then I gue
Action call or
can I access the Session data from a Model Class? Then I guess my Model
Class should extend some
Struts class that would provide access to both the Session and the Context.
Are Model Classes instances unique for every Session? Or one instance is
common to everyone?
I guess I am
Sounds like you have made some great progress!
Pat yourself on the back :)
Langdon Stevenson wrote:
Hi Bill
Thanks to your advice once again I have solved what was a very simple
problem. You suggestion of running the app with a debugger did the trick.
It took me long enough to get the Tomcat 4.0
Hi Bill
Thanks to your advice once again I have solved what was a very simple
problem. You suggestion of running the app with a debugger did the trick.
It took me long enough to get the Tomcat 4.0.6 / IDEA integration
working. Initially it wouldn't find the servlets, but would find jsps.
No id
My appology to the list. Outlook Express and a weak wireless connection
confused me and I sent this message multiple times.
Langdon
> Hi Bill
>
> Indeed I do have scope set to "session" in struts-config.xml.
-
To unsubscribe,
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Hi Bill
Indeed I do have scope set to "session" in struts-config.xml. When unit
testing in debug through IDEA I can see the object in the session being
populated step by step, however when I run the compiled web app under Struts
with JWebUnit, or a browser, I get the problem. I am up against my
Are you setting scope="session" for the actions in your
struts-config.xml? If so, I'd take it through a debugger.
- Bill Siggelkow
Langdon Stevenson wrote:
Having overcome my validation problem with help from the list (thanks
Bill) I now find myself banging my head against another wall.
I now
Having overcome my validation problem with help from the list (thanks
Bill) I now find myself banging my head against another wall.
I now have a multi-page form backed by an ActionForm and an Action that
appears to work fine (stepping from one page to the next, accepting
input, validating it, s
28 matches
Mail list logo