On Tue, November 8, 2005 1:37 am, Pham Anh Tuan said:
> PS: if I want to change whether or not jsessionid is used, I must config
> container ? Do you have any document which instruct me how to
> reconfig
> container :(, if you had, plz show me, uh :") ... thank you :")
I'm assuming it's possi
jsession is appended all time, it's not only at the first request! :(
Oh, maybe I should recommend my client that "Just let it me, jsession is not
our problem, ... " :) ...
thank you very much, Frank!
PS: if I want to change whether or not jsessionid is used, I must config
container ? D
Did it only show up on the first request? As Michael indicated in his
post, that is a normal behavior. If it's there all the time, I would see
what your container is configured to do. As I mentioned before, I believe
you can control what most containers do.
--
Frank W. Zammetti
Founder and Chi
thanks Frank ... but :( ... I turned "cookie accept" on in my browser
(Firefox, IE), but jsessionid still be appended URL :( ... what happened,
hiz :(
*
Pham Anh Tuan
Java Developer, HR Assistant
ICHI Corporation Vietnam.
Room #1001, 37 Ton Duc T
On 11/7/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote:
> thanks to MC, but ... it still doesn't work, jsessionid is still available
> in URL after I add redirect to forward tag :(
>
> help me plz :(
The first time you load page and perform a redirect, you will see
session id in the URL, it was added
Yeah,I might have wrote that a bit confusing :) All I meant is that if
cookies are enabled in the browser, then URL rewriting won't be used...
well, PROBABLY... I suppose the container still could do URL rewriting,
but I doubt any would... although, I wouldn't be surprised if you could
tell y
thank you, Frank :)
As u said, if I want to disable jsessionid in URL, I must turn on cookie on
my browser ? uh? Is it rite? I'm not sure that I understood what you mean
:( "Aside from enabling cookies ...", enable cookies on my browser :( ... or
where ?
plz help and show me more details :(
thank you, Wendy :)
It's just because my client don't want to see jsessionid in the url :( ...
*
Pham Anh Tuan
Java Developer, HR Assistant
ICHI Corporation Vietnam.
Room #1001, 37 Ton Duc Thang, Dist. 1
Ho Chi Minh City, Vietnam.
Phone: (+84) (08
On 11/7/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote:
> thanks to MC, but ... it still doesn't work, jsessionid is still available
> in URL after I add redirect to forward tag :(
Struts is not doing this, at least not directly-- your Servlet
container is. See SRV.7.1 (of the Servlet 2.4 specifica
It should be noted that jsessionid is not a Struts creation, it is a
servlet spec thing... it stands for "Java Session ID" (creative, huh??)
and is actually dealt with by your app server. The jsessionid can be
stored in a cookie on the client, or it can be appended to the request
as part of th
On 11/7/05, Mon Cab <[EMAIL PROTECTED]> wrote:
> Hi all...
>
> I.e any way of using the tag less
> strictly, so that value="bla"> will not cause an exception if var is
> null. At the moment I am getting:
Which is as advertised here [
http://struts.apache.org/struts-taglib/tagreference-struts-l
Have you tried JSTL?
--- Mon Cab <[EMAIL PROTECTED]> wrote:
> Hi all...
>
> I.e any way of using the tag less
> strictly, so that value="bla"> will not cause an exception if var is
> null. At the moment I am getting:
>
>
> javax.servlet.ServletException: Cannot compare null
> variable to v
thanks to MC, but ... it still doesn't work, jsessionid is still available
in URL after I add redirect to forward tag :(
help me plz :(
*
Pham Anh Tuan
Java Developer, HR Assistant
ICHI Corporation Vietnam.
Room #1001, 37 Ton Duc Thang, Dist. 1
H
Hi all...
I.e any way of using the tag less
strictly, so that will not cause an exception if var is
null. At the moment I am getting:
javax.servlet.ServletException: Cannot compare null
variable to value signup
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.
I'm currently in the middle of a project at work that makes heavy usage
of CoR (it's only a very small webapp component, the vast majority of it
is business process, and that's a rather large piece). I am using the
CoR implementation in Java Web Parts rather than Commons Chain because
it has s
hi,
try to use onClick instead of onSubmit when you are using the javaScript
submit
Cheers,
Vishal
-Original Message-
From: Jim Reynolds [mailto:[EMAIL PROTECTED]
Sent: Friday, November 04, 2005 7:12 PM
To: user@struts.apache.org
Subject: Client Side Validator Fails When Submit from Ja
The jesssionid is normally used to uniquely identify the session. You either
have this or
cookies enabled. I think Struts uses cookies if they are available and defers
to the
jessionid if cookies can't be used.
If you are not using any session stuff then you can add the redirect parameter
o
On 11/7/05, netsql <[EMAIL PROTECTED]> wrote:
> 1st, you can use Commons Chain in Struts 1.2.X. In 1.3 the request
> processor is done in Chain... but a user can't tell.
> You can use Commons Chain (a CoR pattern) outside of Struts.
For more about Commons Chain generally, see also
* http://struts
Hi all,
I got a problem when I use Struts Framework, everytime I do a action, Struts
automatically appends jsessionid parameter in URL
something like below:
http://localhost:8080/test/index.do;jsessionid=5DF06EA..
plz help me and show me how to erase jsessionid parameter and I don't know is
> On 11/7/05, Gary VanMatre wrote:
> >
> > > On 11/7/05, Gary VanMatre wrote:
> > > >
> > > > >So, are you thinking that "#{shale:managed-bean-name.save}" would be
> > > > >something that would evalutated entirely within a custom shale jsf
> > > > >VariableResolver or would the symbol replac
On 11/7/05, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
> > On 11/7/05, Gary VanMatre wrote:
> > >
> > > >So, are you thinking that "#{shale:managed-bean-name.save}" would be
> > > >something that would evalutated entirely within a custom shale jsf
> > > >VariableResolver or would the symbol replace
1st, you can use Commons Chain in Struts 1.2.X. In 1.3 the request
processor is done in Chain... but a user can't tell.
You can use Commons Chain (a CoR pattern) outside of Struts.
It lets you xml configure a command to execute, or ... several commands
(hence it's called Chain) Anyone can look
Prabdoh,
You are much better off using JSTL so you can write something like:
Once you go JSTL, you never go back :-) Which makes the object tags
obsolete.
Paul
--- "Deshmukh, Prabodh (P.)" <[EMAIL PROTECTED]> wrote:
> Looks like using nested tags helps only if I don't have lists/sub-lists
>
> On 11/7/05, Gary VanMatre wrote:
> >
> > >So, are you thinking that "#{shale:managed-bean-name.save}" would be
> > >something that would evalutated entirely within a custom shale jsf
> > >VariableResolver or would the symbol replacement be done in the clay
> > chain (
> > >i.e. replaceMnemo
Looks like using nested tags helps only if I don't have lists/sub-lists
i.e. the object heirarchy is
object->sub-object->sub-sub-object->property
Any thoughts?
-Original Message-
From: Deshmukh, Prabodh (P.)
Sent: Monday, November 07, 200
Subject line says it all.
I've been contemplating this topic. The best answer I can give here is that in
Struts 1.3, you
really don't have to ever deal with an Action class at all - use ChainAction as
an entry point
into your chains. But how would you model a real world application using the
ch
Thanks guys, yeah I was hoping that a submit would be a submit,
regardless of browser window, just redirecting the request/response
stream, but maybe not. I'm familiar with the CSS options you offered,
so I will fall back to those same-window options if no new-window
solutions are found.
Chad
On
On 11/7/05, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
> >So, are you thinking that "#{shale:managed-bean-name.save}" would be
> >something that would evalutated entirely within a custom shale jsf
> >VariableResolver or would the symbol replacement be done in the clay
> chain (
> >i.e. replaceMnemo
Michael's idea prompted me. I use two style sheets, one for 'print' and one
for 'screen'.
Generally I find that the print and screen css are applied heirarchically, so I
code most
of the stuff I want in the 'screen' css and my print one looks like follows:
BODY {
margin: 10px;
hi all,
i am new to struts validation.
i foung some nice tutorials which validates action forms using
validator-rules.xml and validation.xml(which connects validator-rules.xml and
formbean name in stuts-config.xml).
but my form bean looks like this(i am using 2 more beans in my action
form) w
On 11/7/05, Benjamin Lerman <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I need to do something like that:
>
> )" />
>
> But I get an error about an equal begin not in the right place.
>
> Right now, the only solution I found is to use scriplet to generate the
> "bar(whatever)" strings, to put th
On 11/7/05, Chad Armstrong <[EMAIL PROTECTED]> wrote:
> Hi all,
> I'm pretty new to Struts (and using 1.0 at that, for business
> requirements). I've built a pretty simple application, retrieving
> records from a database, populating the Form object and using JSTL and
> struts tags to display the
Do you know Servlet Filter?
Regards
On 11/7/05, Łukasz Piątkowski <[EMAIL PROTECTED]> wrote:
>
> Hello !
>
> Hello I want to create my own LOCALE Object in my Session Listener
> class. I need it to exist before Struts Request Processor is executed.
> How to do it in Struts ? Does Struts have any
Shailesh,
I don't quite understand what you are trying to do, but do you know you can
put values from 38 to 49 only in a separate resource file and construct
another ResourceBundle? Does this work for you?
On 7 Nov 2005 12:58:34 -, Shailesh Barde <[EMAIL PROTECTED]>
wrote:
>
> Friends,
> We k
Hi all,
I'm pretty new to Struts (and using 1.0 at that, for business
requirements). I've built a pretty simple application, retrieving
records from a database, populating the Form object and using JSTL and
struts tags to display the results. What I want to now do however, is
provide a Print link
hi all,
i am new to struts validation.
i foung some nice tutorials which validates action forms using
validator-rules.xml and validation.xml(which connects validator-rules.xml and
formbean name in stuts-config.xml).
but my form bean looks like this(i am using 2 more beans in my action form)
w
hola quiero cambiar manualmente, por programacion el locale para cambiar de
idioma en la aplicacion web.
para ello tengo un action de struts conel sigueinte codigo pero nome cmambiael
locale, o al menos no me coge el fichero correspondiete a ese idioma que queiro
cambiar, de recursos, siempre si
I have a form field on my JSP that's being conditionally displayed based on the
status of servlet context attribute:
I'm using the Struts validator to validate this field:
...
Obviously, I only want the client-side Javascript validations to fire if the
field is present.
Is there a w
I was interested in getting feedback from current mail group users.
We have mirrored your mail list in a new application that provides a more
aggregated and safe environment which utilizes the power of broadband.
Roomity.com v 1.5 is a web 2.01 community webapp. Our newest version adds
broadcas
Hi all,
I need to do something like that:
)" />
But I get an error about an equal begin not in the right place.
Right now, the only solution I found is to use scriplet to generate the
"bar(whatever)" strings, to put that in a foobar variable and use :
But I do not find that really ap
On 11/7/05, Scott Piker <[EMAIL PROTECTED]> wrote:
> That's because, by design, a javascript submit() call does not invoke
> whatever's established as the form's onSubmit action. It's not a struts
> thing, it's a javascript/web browser thing.
>
> In these situations, just call the validation funct
thank you all for helping me. I've got this working. This tag is great.
I've one question though.
I used a headerClass. in which I gave the color attribute to be white. I
thought the text of header will be white. But it is not. It was displaying
in white before I used the displaytag.
Is there
Ed Griebel wrote:
This sounds like a really cool tool !! How much work would be needed
to commoditize it for general release?
Probably not too much, although the code is pretty ugly (a "let's learn
Ruby" exercise).
I'll take a look at it tomorow and put it up somewhere and follow up on
th
I have a struts app that uses a Daemon thread (implements TimerTask) to run
at a periodic interval to do some background work. I am wondering if it is
possible to access application context from that daemon as I don't have
access to request/session variable from that daemon.
Also, is it possible to
Dave-
This sounds like a really cool tool !! How much work would be needed
to commoditize it for general release?
-ed
On 11/4/05, Dave Newton <[EMAIL PROTECTED]> wrote:
> Nick Heudecker wrote:
>
> >I didn't know people were still using Strutsdoc. I should probably start
> >maintaining it again.
I managed to solve it another way:
...
...
This way I can easily integrate my actual PHP templates with Struts
Controller. :)
Thanks!
- Original Message -
From: "
That's because, by design, a javascript submit() call does not invoke
whatever's established as the form's onSubmit action. It's not a struts
thing, it's a javascript/web browser thing.
In these situations, just call the validation function directly in your
javascript, e.g.:
function doIt(form)
I posted this email a week ago, and received no response, so I am
going to try again and change my verbage.
Below is a JSP file which uses struts client-side validation. The
validtion works great when you use either the or a
normal. This is all good.
Problem is, when you use legal javascript to
Displaytag.sourceforge.net
-Original Message-
From: fea jabi [mailto:[EMAIL PROTECTED]
Sent: Friday, November 04, 2005 8:11 AM
To: user@struts.apache.org
Subject: sorting of table columns
can we sort table columns when clicked on the column header using
struts? I
mean does struts provid
Hi,
I have an object that contains a list of sub-objects. These sub-objects
hold another list (say sub-list) )of sub-sub-objects:
object->list->sub-object->sub-list->sub-sub-object->property.
I am displaying various properties of the sub-sub-object - which can be
changed by the user - I want stru
Hello,
I'm searching the manner to do a reverse iteration,
any idea ?
Thanks in advance
--
Cordialement,
Arnaud Gonzales.
Fea,
You should really look at the DisplayTag site's examples. They show how to
do the looping on your collection and how to add the hrefs for linking to
your application. After reading those, you'll be able to redo your JSP
without assistance.
See http://www.displaytag.org
Regards,
David
In the JSP I have the below. which is working fine using struts tags.
Now would like to use displaytags as it has auto sorting of columns. How can
I convert the below to use displaytag? as the form that's used in the jsp
is different from the one that's used to display the data in the table.
I don't know what a '1.3 FOP formatted document' is.
The PDF's produced by jasperreports-1.0.1.jar begin with %PDF 1.4 (or
something similar that contains 'PDF' and '1.4').
It renders my country's (Croatia) specific characters (šđčćč)
correctly, and the JFreeChart graph images look nice too.
Pdf
On 11/7/05, Marcio Ghiraldelli <[EMAIL PROTECTED]> wrote:
> Hello,
>
> What would be the best aproach without hurting MVC framework in having
> one central "template.jsp" and inserting into it Struts actions, such as:
>
>
>
>
>
>
>
>
>
> The u
I would suggest using Tiles.
Greg
On Nov 7, 2005, at 12:55 PM, Marcio Ghiraldelli wrote:
Hello,
What would be the best aproach without hurting MVC framework in
having one central "template.jsp" and inserting into it Struts
actions, such as:
Hello,
What would be the best aproach without hurting MVC framework in having one
central "template.jsp" and inserting into it Struts actions, such as:
The usual
>So, are you thinking that "#{shale:managed-bean-name.save}" would be
>something that would evalutated entirely within a custom shale jsf
>VariableResolver or would the symbol replacement be done in the clay chain (
>i.e. replaceMnemonic) and then passed to the standard VariableResolvers?
A custom
Look at the and tags... I think that's
what you need.
> -Original Message-
> From: arnaud gonzales [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 07, 2005 12:42 PM
> To: user@struts.apache.org
> Subject: accessing from jsp to the size of a list property of
> my FormBean
>
> Hello,
Hello,
I would like to do something in my jsp if the size of the list property
'LAdressesLivraison' of my Form bean 'CreateAccesForm' is greater than 0:
I can't have the size of my list like this
do something
thanks in advance
--
Cordialement,
Arnaud Gonzales.
On 11/7/05, Thomas Hamacher <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I'm runnig Struts 1.2.7 with tiles and I am wondering if it is possible to
> call an action-link, that is defined in the struts-config.xml without calling
> the defined action-class and the corresponding execute/perfom-method
So, are you thinking that "#{shale:managed-bean-name.save}" would be
something that would evalutated entirely within a custom shale jsf
VariableResolver or would the symbol replacement be done in the clay chain (
i.e. replaceMnemonic) and then passed to the standard VariableResolvers?
On 11/7/05
We're re-building a web site. No guarantees that the site will have the same
name as the old. So from my understanding of the cookie process this means a
new cookie.
(Near as I can tell a cookie file is: @[#].txt)
However, to make life easier for our customers I'm wondering if there's a way
to
On 11/7/05, fea jabi <[EMAIL PROTECTED]> wrote:
> thankyou for your response.
>
> there are 2 files I see in the zip.
> displaytag-12.tld and other is the displaytag-el-12.tld.
>
> what is this el? which one should I extract?
>
> I am using jsp1.2, tomcat 5.5.7.
Have to tried to read DisplayTag do
Couple of months back i faced this kind of requirements for some reports,
unfortunately our choice was ireport. After few findings I came to know that
neither ireport nor jasper report supports cross tab directly but there are
few way to do that, if you are a pain lover like me then probably you wi
On 11/7/05, Thomas Hamacher <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I have the following problem and cannot find a real solution to it. Usually
> this should be a common and known problem, so I'm wondering if I anyone has
> found a solution to this.
>
> I have internationalized my struts 1.2.
Ryan Wynn wrote:
>I like the direction this is going. My thoughts on this...
>I like the syntax familiar syntax value="#{shale:attribute.class}"/>
>
>However, how about instead of inventing a new syntax
>"#{shale:attribute.class}" we use
>the existing one. For example
>
>
>
>This approach assume
Pretty easy,
I'm storing each actual action in "lastRedirect" - attribute
and each actual parameter in "lastParameter". Affter some critical
actions I do redirect to this saved stuff.
It works well, but there are some non critical problems (esp. with user
doing these actions after clicking on
Friends,
We know that ,its possible to access the key-value pairs for resorce
Bundle.But,How to access inbetween values from resource Bundle in Struts?I
mean if we have 50 values as a key value pair.But i have to access values from
38 to 49 only.How to access them?Any Thoughts...
Regards,
Sha
You just need the displaytag-12.tld (without el). The other version (I
think) contains code to evaluate expression language
expressions. In your case this should be automatic.
Martin
> -Ursprüngliche Nachricht-
> Von: fea jabi [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 7. November 20
Danny,
thank you very much for this ideas. Unfortunately the "display"-stuff together
with the request.getRequestURL() doesn't work for me either, because I am
working with tiles and therefor the requestURL is not correct. So I am pretty
interested in what you do with the "lastAction"-Attribute
thankyou for your response.
there are 2 files I see in the zip.
displaytag-12.tld and other is the displaytag-el-12.tld.
what is this el? which one should I extract?
I am using jsp1.2, tomcat 5.5.7.
Thanks.
From: "starki78" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "u
Use the zip or the tar.gz it's the same content
you just need another programm to extract it
regards Starki
-- Initial Header ---
>From : "fea jabi" [EMAIL PROTECTED]
To : user@struts.apache.org
Cc :
Date : Mon, 07 Nov 2005 09:22:31 -0500
Subject :
On 11/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi Hubert,
>
> Thanks for the suggestion. I tried the second option
>
> 2) Override the default ActionMapping class and set its default "scope"
> value to request.
>
> Extended the ActionMapping class and in the CustomActionMapping
> cons
Use this http://displaytag.sourceforge.net/
Chris McCormack
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 03 November 2005 13:38
To: Struts Users Mailing List
Subject: (Possible OT) Question using struts-layout TagLib
Greetings
I am seeking a Grid control with
Which one should be installed? from
http://sourceforge.net/project/showfiles.php?group_id=73068
I see so many files under
1.0 [show only this release] 2005-01-01 09:28
Download displaytag-1.0-src.tar.gz
Download displaytag-1.0-src.zip
Download displaytag-1.0.tar.gz
Download displaytag-1.0.zip
struts-config.xml:
DispatchAction class:
DynaActionForm userProfileForm = (DynaActionForm)form;
...
userProfileForm.reset(mapping, request);
return mapping.findForward("success");
The reset function does not clear form.
How it be cleared?
Thanks
---
I like the direction this is going. My thoughts on this...
I like the syntax familiar syntax
However, how about instead of inventing a new syntax "#{shale:
attribute.class}" we use the existing one. For example
This approach assumes that clay has defined the existing clay context as a
managed
Here my solution (some stuff I found on the net and adapted for my
needs). I don't actually use the "display" stuff, couse I do it
otherway... so you can ignore it.
I hope it'll help
Cheers
Danny
*
1) Action
public class ChangeLocaleAction extends Action {
Hi Hubert,
Thanks for the suggestion. I tried the second option
2) Override the default ActionMapping class and set its default "scope"
value to request.
Extended the ActionMapping class and in the CustomActionMapping
constructor called super.scope="request". It works , however is there
any kno
Hi everyone,
I have the following problem and cannot find a real solution to it. Usually
this should be a common and known problem, so I'm wondering if I anyone has
found a solution to this.
I have internationalized my struts 1.2.7 application through tiles and the use
of ResourceBundle an jav
Hi,
I found that the easiest way to do this is to use LazyLists. (cf.
http://wiki.apache.org/struts/StrutsCatalogLazyList). You can then work just
as you
with fixed lists. An example:
in my jsp I have something like ...
(Note the indexed="true"). I have a javascript function that creates
Hi everyone,
I'm runnig Struts 1.2.7 with tiles and I am wondering if it is possible to
call an action-link, that is defined in the struts-config.xml without calling
the defined action-class and the corresponding execute/perfom-method.
Right now I have the problem that I have html:links and refe
Hello !
Hello I want to create my own LOCALE Object in my Session Listener
class. I need it to exist before Struts Request Processor is executed.
How to do it in Struts ? Does Struts have any mechanism to create such
an object ?
Kind Regards,
Lukasz
Hi tim,
At some point between 1.2.4 and 1.2.7 the validator was replaced for a newer version. Each of the
validate methods defined in the 'validator-rules.xml' now have an extra parameter, 'Validator'.
To fix this you can either:
1) Use the sample validator-rules.xml that comes with 1.2.7
2)
85 matches
Mail list logo