Hello, Jose!
Depending on your application requirement, you should choose one of the
following solutions:
1. in window2: after the user selects some employers, save the selected
employers in DB and in window1 retrieve the saved employers from the DB.
2. in form-bean put a propert
Hi,
I have a form bean than it's use in two windows. Per example:
window1.
html:button: "search Employers"
window2
list Employers
html:select property="employers"
html:button close
The button "search
Hi Koul,
If you wanna simply use log4j in Struts application. You can just import
log4j and create a Logger instance in your source files, something like:
import org.apache.log4j.Logger;
Logger logger = Logger.getLogger(YourClassName.class);
...
Then you can just use logger to log your i
thanks,
but the question is why do we need log4jservlet. why do we code it?
Regards,
Abhimanyu Koul
FinEng Solutions (P) Ltd.
Mobile : +91 9819510090
- Original Message -
From: "abdurrahman sahin" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
Sent: Wednesday, June 14, 2006 11:49
hi;
i think u don't need such a specific "log4jservlet" servlet. you can use any
servlet to initialize log4j
here is a filter to init logger, you will need a logger property file in
that case.
public void doFilter( ServletRequest servletRequest, ServletResponse
servletResponse, FilterChain filter
hi all!
i am using log4j in my application but am a bit confused about it. what r the
steps to use log4j in my application.
why do we need to create log4jservlet class in the application.
is it necessary? if no, why do we create it?
also, how does logfactory get to know that we are using log4j in
On 6/13/06, Florian Barth <[EMAIL PROTECTED]> wrote:
Hi folks!
I'm having a little problem with a jsp.
My FormBean has a List of Strings as value.
Now I would like to iterate over the elements of that list, creating a
text-field for every element the list contains.
At the moment I can online writ
Thanks Richard, it seems this has something to do with hibernate. My
order object has a property called "status" that is an association to
another table which contains records of statusId and statusName tuples.
It seems the statusId in the order is being updated, but the "status"
property is
On 6/13/06, Adam Brod <[EMAIL PROTECTED]> wrote:
Hi-
I'm having trouble understanding how to use subdialogs. How do I specify
the end state for a subdialog that also ends the calling dialog?
You'll need to take the outcome value returned by the exit state from the
subdialog, and create a tr
Everything is working except the email and url validator.
Scott Van Wart <[EMAIL PROTECTED]> wrote: A. Lotfi wrote:
> Hi,
> I am trying to learn Struts validator, in the validator-rules.xml :
>
The validator-rules.xml specifies what validators are available to you.
You typically want to leave t
I recently have an issue with my J2EE apps. Some times when a lot of users use
our apps, we got the session overflow issue. Can some one let me know how to
start resolve the issue? Can some one direct me with starting information like
what a session is? Also if you open two IE browser window in
A. Lotfi wrote:
Hi,
I am trying to learn Struts validator, in the validator-rules.xml :
The validator-rules.xml specifies what validators are available to you.
You typically want to leave this alone. All your validation happens in
the validation.xml file. You specify rules in this file
hello,
in the shale use cases is it already set to client...
damn problem
stephan
2006/6/13, Ian.Priest <[EMAIL PROTECTED]>:
The back button is actually a problem with JSF in general as if the user
hits "back" they are now on a different view to the one the server
thinks they have, but it's
The back button is actually a problem with JSF in general as if the user
hits "back" they are now on a different view to the one the server
thinks they have, but it's particularly emphasised in dialogs.
If you don't using dialogs you can overcome it by setting the JSF
save-state to "client". Then
Hi,
I am trying to learn Struts validator, in the validator-rules.xml :
MORE CODE HERE...
in validation.xml :
.
when I submit the form with correct data it does not submit
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: 13 June 2006 18:52
To: Struts Users Mailing List
Subject: Re: [shale] back button issue
On 6/13/06, stephan opitz <[EMAIL PROTECTED]> wrote:
> while rebuiding the login procedure from the use-cases, i found the
> pr
On 6/13/06, vivek maheshwari <[EMAIL PROTECTED]> wrote:
hello friends,
this is vivek maheshwari
currently working on JSF /Shale,
i know how presentation Layer(view part) directly interect with model
via backing bean,
but by doing thing ,i think it 'll break the rules of MVC,
that why i
Hi folks!
I'm having a little problem with a jsp.
My FormBean has a List of Strings as value.
Now I would like to iterate over the elements of that list, creating a
text-field for every element the list contains.
At the moment I can online write out the elements using this code-snippet:
Just
Trying to use html:image with LookupDispathAction. how to use this?
Using 1.2.7 of struts
Getting error
Request[/DispatchAction] does not contain handler parameter named 'method'.
This may be caused by whitespace in the label text.
struts-config:
redirect="false"/>
this is a very important issue...
after i got this exception it is not possible to do anything again in
maybe in any other use case :-/
stephan
2006/6/13, Wendy Smoak <[EMAIL PROTECTED]>:
On 6/13/06, stephan opitz <[EMAIL PROTECTED]> wrote:
> while rebuiding the login procedure from the use-c
Darren Hall wrote:
> So essentially, I should download Log4J, include the jar in my classpath and
> create a "Log4J.xml" file. Correct?
>
Most people use the properties file, but the XML config gives you more
power. I've always handled XML config init programmatically; I don't
know if it works
Gotcha...
So commons-logger is writing to the environment's default logger, which is
probably Tomcat's log since I have nothing else in place.
So essentially, I should download Log4J, include the jar in my classpath and
create a "Log4J.xml" file. Correct?
Ok. For the sake of moving forward, that
On 6/13/06, stephan opitz <[EMAIL PROTECTED]> wrote:
while rebuiding the login procedure from the use-cases, i found the
problem with the browser back button...
shale does not know that the actual view was finished.
anybody has some answers?
This is most likely related to SHALE-48 [1]. Unfo
dear shale friends,
i'm want to using shale...
while rebuiding the login procedure from the use-cases, i found the
problem with the browser back button...
shale does not know that the actual view was finished.
anybody has some answers?
stephan
Commons-logging is most often used as a wrapper around Log4J, but it can
wrap other logging frameworks, too. Maybe check what Tomcat uses
natively.
> -Original Message-
> From: Darren Hall [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 13, 2006 12:39 PM
> To: 'Struts Users Mailing List'
Hi-
I'm having trouble understanding how to use subdialogs. How do I specify
the end state for a subdialog that also ends the calling dialog? The
documentation mentions some of the possiblities, but doesn't really show
how to configure it. Is there a good example somewhere? I looked in the
Thanks George.
I looked at the link you provided and it seems to pertain to Log4J
information. I just did a quick search and I don't see any Log4J files
(either properties or xml). Furthermore, I can see that the default install
of Struts includes commons-logging.jar, but I don't see anything to d
Thanks!
-Original Message-
From: Duane Rosengartner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 6:31 AM
To: Adari, Chandra
Cc: Struts Users Mailing List
Subject: RE: Problem loading/invoking struts app
The following technotes address the classloader issue and give detailed
ins
The following technotes address the classloader issue and give detailed
instructions on how to override a WebSphere included file such as JDOM:
How to use the latest JDOM jar
http://www-1.ibm.com/support/docview.wss?uid=swg21222645
Best Practice for Using Common Application Files
http://www-1
Agreed. But, remember that the plugin gets a reference to ActionServlet
and ModuleConfig, so the plugin would have to be modified either way, or
those objects provided somehow. I'm not sure how feasible the later is,
and if you have to modify the plugins to not use them anyway, there's
probably n
Have you looked at the server logs or tried using an HTTP Monitor utility to
see what is actually getting sent back and forth from your browser? How
about putting a breakpoint in the page and checking the values using a
debugger.
-Richard
-Original Message-
From: Rizwan Merchant [mailto:
Darren Hall asked:
> Essentially I'm looking for a setting that I'm missing in
> some config file (possibly the web.xml file, or the
> struts-config.xml file).
It's missing from log4j.properties (or xml). See
http://idiacomputing.com/moin/Log4jDotProperties for some links. When
you find it in
Frank W. Zammetti said:
> I suppose we could recommend people use ContextListeners
> instead, which
> I've come to prefer frankly, but if we're talking about
> upgrading/compatibility, that's maybe not the best answer.
A ContextListener that calls all the plugins shouldn't be too hard.
---
Greetings all,
I'm attempting to configure Struts 1.2.9 with Tomcat 5.5. So far everything
is going smoothly and working fine - except:
I notice that Struts is using commons-logging, and the log statements are
writing to the "catalina.log " file. This is not the best case scenario, but
it is w
I know that ApplicationResources and MessageResources do similar
things, but I'm confused about how to understand their individual
roles
1. What are the similarities and differences between MessageResources
and ApplicationResources in a struts app?
2. What is the best way to specify that a strut
On Tue, June 13, 2006 8:30 am, Ted Husted wrote:
> I also went ahead and moved the Struts Action 2 migration material
> into the SAF2 documentation.
>
> * http://confluence.twdata.org/display/WW/Migration+Guide
Just so I'm clear, because I frankly wasn't paying attention previously
:)... are we fa
navin mca ha scritto:
It won't give the definiton which content the current page but u have to give
the definition name which contains the current page.
OK just a case of misunderstanding. It is needed to do exactly the
opposite, i.e. getting a definition name given the current page...
>Do you mean that, inside a JSP page, you are able to get the definition
>that contains the current JSP page?
It won't give the definiton which content the current page but u have to give
the definition name which contains the current page.
U have to pass the definition name to the Defini
navin mca ha scritto:
Hi,
We can get the whole defition at run time and can also get its attributes and their value.
Let me know if this help you then i will post the code.
Do you mean that, inside a JSP page, you are able to get the definition
that contains the current JSP page
Hi,
We can get the whole defition at run time and can also get its attributes and
their value.
Let me know if this help you then i will post the code.
regards,
Novin
Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Sorry again, for a mistake I hijacked TWICE my own thr
On 6/12/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
We have a Wiki page that I
started that I actually think, in a more grand form probably, would do
the tricknicely... it would basically just be a catalog of things in
SAF1 and how to do something analogous in SAF2. I think if we all
pitche
Abhimanyu Koul wrote:
> are there any benefits of using custom tags over filters.
>
If you don't like your page designer it makes them type more, or if you
like repeating yourself.
I like the filter solution the best because the session attribute lookup
is handled in one place only and it's no
Done. http://issues.apache.org/struts/browse/SHALE-190
Adam Brod
Product Development Team
"Craig McClanahan" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
06/12/2006 06:52 PM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Subject
Re: [Shale] tiger - abstr
are there any benefits of using custom tags over filters.
Regards,
Abhimanyu Koul
FinEng Solutions (P) Ltd.
Mobile : +91 9819510090
- Original Message -
From: "The Jasper" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, June 13, 2006 4:44 PM
Subject: Re: sessions
> h
hi,
I would suggest a filter. You won't have to tag each page that needs
to be in session.
mvg,
Jasper
On 6/13/06, Abhimanyu Koul <[EMAIL PROTECTED]> wrote:
hi all!
can anyone tell me which approach is better for session validation in a struts
application
creating a custom jsp tag and using
Sorry again, for a mistake I hijacked TWICE my own thread! Ugh this is a
very bad day!
If it doesn't work now I will give up, I swear!
I am starting a new thread to rephrase a question from Rudolph Lang, so
that other users can see this question, because I don't know the answer.
Rudolph Lang (an
Hi,
Please suggest how can I specify which value(s) to be displayed as
selected by default in html:select tag, when specified through
collection attribute.
regards,
Pankaj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Sorry, for a mistake I hijacked my own thread! Ugh
I am starting a new thread to rephrase a question from Rudolph Lang, so
that other users can see this question, because I don't know the answer.
Rudolph Lang (and I am pretty curious about the answer :-) ) wants to
know if there is a way to get t
Hi,
I have a specific requirement to load different
properties/validations on a certain condition. But the condition I would
come to know only after the user session is created. But in struts the
plugins are loaded during startup and now I cannot load files for that
particular condition. My ja
I am starting a new thread to rephrase a question from Rudolph Lang, so
that other users can see this question, because I don't know the answer.
Rudolph Lang (and I am pretty curious about the answer :-) ) wants to
know if there is a way to get the Tiles definition that contains the
current JSP
hello friends,
this is vivek maheshwari
currently working on JSF /Shale,
i know how presentation Layer(view part) directly interect with model via
backing bean,
but by doing thing ,i think it 'll break the rules of MVC,
that why i want to use servlets as controller, JSF as view and EJB a
hi all!
can anyone tell me which approach is better for session validation in a struts
application
creating a custom jsp tag and using it in jsp pages or using request
processor/filters.
and why??
Regards,
Abhimanyu Koul
FinEng Solutions (P) Ltd.
Mobile : +91 9819510090
Do you mean that you want to get the definition the file "locale.jsp" is
in? If yes I think it is better to start a new thread, because I don't
know the answer and I would like someone else to see this question.
Otherwise, please explain what you mean.
That's exactly what i mean, thanks.
Rudo
Hi,
I need one clarification, don't we have to redeploy the application
after changing the
ApplicationResources_XX.properties file? (believing they are part of the
war/ear)
Regards,
Bharat
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee
Sent: Tuesday, June
Hi guys!
I'm wondering if there's a way to set a refresh rate of Struts
ApplicationResources_XX.properties files. I hate restarting Tomcat
everytime I've changed something there...
Thanks in advance!
Cheers,
Danny
-
To un
Make sure your property is a collection or an array.
Rahul Krishnarao Patil <[EMAIL PROTECTED]> wrote: Hi all ,
I want to submit multiple values in multiple select box . But when I
invoke get on a bean , I only get single value can any body know the
solution
Thanks
Rahul Patil.
Hi all ,
I want to submit multiple values in multiple select box . But when I
invoke get on a bean , I only get single value can any body know the
solution
Thanks
Rahul Patil.
Hi
I want to create a struts project with J2EE 1.3 version.(JDK 1.4)
And I have installed net beans 4.1.
Can we changes the setting to use J2EE 1.3??
--
Thanks and Regards
Hanmayya Udgiri
In the log4j.properties file you should and the following lines:
# setting loglevel for specific packages and classes
log4j.logger.org.hibernate=OFF
log4j.logger.org.apache.struts=OFF
Kind regards,
Emilia
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: dinsda
Hi Mansoor,
Try adding the following entries in your Log4J property,
# to avoid logging hibernate and ehcache logs
log4j.logger.org.hibernate = FATAL
log4j.logger.ehcache.CacheManager = FATAL
Thanks,
Bharat
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tues
Hi all,
I am using log4j n my struts-hibernate application.
Problem is it logging all the things n struts and hibernate.
How I can exclude all the other logging. And its should display only my
logging which I specify in my action classes and all other classes which
I code.
Eg: log.info("inside a
Pankaj Gupta wrote:
Can anyone please suggest how can I access
ApplicationResources.properties from my Action class. Specifically I
want to read the labels for my LabelValueBean object from the
application resources.
The validator framework has a utility class called Resources that can do
62 matches
Mail list logo