If you are using then you
must define mybean using tag.
for e.g If you set your javabean as myBean in request and want to display
it's property key's value then just define it as
and to display it use bean:write tag
Regards,
Vishakha
-- Forwarded message --
From: Comain Chen
Hi
Been away for a couple of days, but now I'm back at it. I finally figured out
why it was not serving resources like .css files etc.
In my web.xml file, I had a filter&filter mapping like this:
shale
org.apache.shale.fa
Thanks, Michael. A simple attribute name change frees up the redundant
memory used in my previous approach.
Michael Jouravlev wrote:
On 12/8/05, Jun Bihag <[EMAIL PROTECTED]> wrote:
I am developing a web application that goes from one page to another
using two different Action classes. The
On 12/8/05, Jun Bihag <[EMAIL PROTECTED]> wrote:
> I am developing a web application that goes from one page to another
> using two different Action classes. The initial page is connected to a
> session scoped ActionForm. On the second page which is handled by
> another Action (and its correspondin
On 12/8/05, Jun Bihag <[EMAIL PROTECTED]> wrote:
> I am developing a web application that goes from one page to another
> using two different Action classes. The initial page is connected to a
> session scoped ActionForm. On the second page which is handled by
> another Action (and its correspondin
I am developing a web application that goes from one page to another
using two different Action classes. The initial page is connected to a
session scoped ActionForm. On the second page which is handled by
another Action (and its corresponding ActionForm that is request
scoped), I want to acces
Opps.
We used iBatis 2.0 on a project 2 years ago, 1up.com.
The main difference is that it does not need to map as much, looked
similar to me, minor things. So 2.x all the way.
.V
Michael Jouravlev wrote:
Er... Actually, I was asking about IBatis 1.x vs. IBatis 2.x. Thanks
for giving me insig
Er... Actually, I was asking about IBatis 1.x vs. IBatis 2.x. Thanks
for giving me insight on Struts versions, though ;-)
Michael.
On 12/8/05, netsql <[EMAIL PROTECTED]> wrote:
> There is no concreate Struts 2.0 afaik! So you can't use it to build.
>
> There's hardly a 1.3 you can download yet to
There is no concreate Struts 2.0 afaik! So you can't use it to build.
There's hardly a 1.3 you can download yet to even try.
Lots of changes are yet to happen to "Ti" even at high level. No Api has
been set. And no date set for it. Look how long 1.3 has been baking.
.V
Michael Jouravlev wr
Sebastian Stein <[EMAIL PROTECTED]> wrote on 12/08/2005 05:31:36 PM:
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> [051208 23:27]:
> > String xpdlPropertiesFileName = "xpdl.properties"; //file should be in
the
> > class path..
>
> Sorry for the stupid question, but what are possible class paths in a
Vic, I am sorry I did not get this one ;)
On 12/8/05, netsql <[EMAIL PROTECTED]> wrote:
> there not even 1.3, hold on early adators.
> >
> > Is 1.x usage so different from 2.0 ? Does it make sense to start from
> > 1.x and then move to 2.0 features or it is better to start from 2.0
> > right away?
[EMAIL PROTECTED] <[EMAIL PROTECTED]> [051208 23:27]:
> String xpdlPropertiesFileName = "xpdl.properties"; //file should be in the
> class path..
Sorry for the stupid question, but what are possible class paths in a
webapp? I guess it is the WEB-INF/lib directory, but any other directory?
Can thi
I have one I wrote for a internal developer class I gave. If you're
interest let me know and I'll send it to you.
2005/12/8, Access Denied <[EMAIL PROTECTED]>:
>
> Would someone please recommend a current tutorial that may include iBATIS
> integration?
>
> tia,
> am
>
>
there not even 1.3, hold on early adators.
.V
Is 1.x usage so different from 2.0 ? Does it make sense to start from
1.x and then move to 2.0 features or it is better to start from 2.0
right away?
-
To unsubscribe, e-mail:
Hi Sebastain,
There are probably many ways of doing this (I don't know of any "standard"
way though). Here's some code which i use to populate a Properties object
from a file:
String xpdlPropertiesFileName = "xpdl.properties"; //file should be in the
class path..
InputStream is = null;
ClassLo
No, believe it or not, there's no standard way of doing this.
One option is here:
http://javawebparts.sourceforge.net/javadocs/javawebparts/listener/AppConfigContextListener.html
...which is part of Java Web Parts:
http://javawebparts.sourceforge.net
This is a ContextListener which makes it e
On web page, there are two kinds of tabs,
1. Tab-looking pages with the different style for active tab, there is
nothing special for this kind of tab, you can just treat them as the POHA
(Plain Old HTML Application), well you need design the styles. Please check
CSS-2 document. Page refresh will be
On 12/8/05, Rick R <[EMAIL PROTECTED]> wrote:
> (By the way, I just started using gmail for my struts stuff now.. why does
> it include the sender also when I click reply and not just the
> [EMAIL PROTECTED] address? Does that happen for other gmail users
> also?)
Yes, but not always.
> On 12/8
In your validator-rules.xml you need to identify a java classname as well as
a method which will handle that specific contingency e.g.
Martin-
- Original Message -
From: "yuhong Qian" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, December 08, 2005 3:15 PM
Su
Hi,
I have a config file in WEB-INF/classes/ directory. This file has the
information for database connection. How can I make this file accessible in
all Action classes? I guess there must be a unified way to access such a
file.
Sebastian
Ha I was just going to say that is definitely outdated:) I'll get around to
updating it... I keep saying that I know:)
(By the way, I just started using gmail for my struts stuff now.. why does
it include the sender also when I click reply and not just the
[EMAIL PROTECTED] address? Does that ha
Rick's is old old old - version 1.x ibatis...I keep hounding the
slacker to update it, but he says he's busy. ;-)
Larry
On 12/8/05, netsql <[EMAIL PROTECTED]> wrote:
> In the wiki, I think there's a rick reuman Struts and iBatis tutorial
>
> Access Denied wrote:
> > Would someone please recommen
On 08/12/05, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
> Well, I'm not sure what to make of this one. The RI doesn't throw and
> exception when a managed bean is not found, just returns a null object.
>
> // Retrieve an existing instance, or one created and configured by
> // the
Hello all,
I have a struts 1.1 app that I want to use Validator Framework to validate
the user input on the browser. This app will need user to enter username and
password. These two fields are both required fields and the minlength and
maxlength of password is 5 and 8.
I have
In the wiki, I think there's a rick reuman Struts and iBatis tutorial
Access Denied wrote:
Would someone please recommend a current tutorial that may include iBATIS
integration?
tia,
am
-
To unsubscribe, e-mail: [EMAIL PROT
Well, I'm not sure what to make of this one. The RI doesn't throw and
exception when a managed bean is not found, just returns a null object.
// Retrieve an existing instance, or one created and configured by
// the managed bean facility
ValueBinding vb =
cont
all explained here
http://struts.apache.org/struts-doc-1.2.7/userGuide/struts-bean.html#write
Good Luck,
M-
- Original Message -
From: "Comain Chen" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, December 08, 2005 10:55 AM
Subject: A problem about bean:write
In a
You are correct garner ,
with 3 pages its easy to maintain and understand.
On 12/8/05, Garner, Shawn <[EMAIL PROTECTED]> wrote:
>
> >> single JSP with logic tags
> If you do this you will get one huge JSP page potentially if you have a
> hundred countries. I assume with a single huge JSP not on
Another option is to pull your data already translated from a preconfigured
Locale specific DB instance (an example is ORA_NLS configutation from
Oracle)
doc available at
http://download-east.oracle.com/docs/cd/A81042_01/DOC/server.816/a76966/ch1.htm#41077
HTH,
M-
- Original Message -
F
Gary VanMatre comcast.net> writes:
[snippet]
>
> Make sure that you don't have any expression like #{ managed-bean-name}
bound to
> a control. If you are using the " managed-bean-name" symbol, make sure
it's registered
> in the faces-config.xml.
>
> If you have a more specific exception,
>> single JSP with logic tags
If you do this you will get one huge JSP page potentially if you have a
hundred countries. I assume with a single huge JSP not only would it take
longer to serve the page because of the logic tags but the code itself would
be harder to maintain. Also there is a limit
I liked it because you setup the doc task depending on a previous task (such
as JSPC task)
In any case I very look forward to seeing the features your mentioned
Give a shout when you have something viable
Thanks
Martin-
- Original Message -
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "S
He said he only needed it for 3 countries. Seems like my way would be easy
for that amount of pages. He could even use tiles for the common parts of
the pages.
Seems like since the ordering is different that as tiles configuration would
need a separate tiles definition for each country so there c
Martin Gainty wrote:
I would look at Ants JavaDoc for creating the necessary html Doc
Do you mean for the formatting or specific tasks for creating the same
documentation? I haven't found much that I liked in terms of documenting
overall structure (outside of graphical IDE tools, anyway) th
>From: Mikael Andersson <[EMAIL PROTECTED]>
> Gary VanMatre comcast.net> writes:
>
> [snippet]
> > > >
> > > > When running this without a managed bean called 'test' in
> faces-config.xml, I
> > > > get the following error:
> > > > ERROR
> > >(org.apache.catalina.core.ContainerBase.[Catali
Thanks a lot, Larry! Are there instructions on how to set everything up
from scratch? How to get a hello world working?
ad
2005/12/8, Larry Meadors <[EMAIL PROTECTED]>:
>
> Hey there, Mr. Denied,
>
> JPetstore 5 is available in the iBATIS SVN repository...more of an
> example than a tutorial,
Hey there, Mr. Denied,
JPetstore 5 is available in the iBATIS SVN repository...more of an
example than a tutorial, but it does use Struts and iBATIS ... as well
as junit+emma for testing.
http://svn.apache.org/repos/asf/ibatis/trunk/java/jpetstore/jpetstore5/
Larry
On 12/8/05, Access Denied <[
//I would set up three different JSP Pages ..
But what happens if there are about 100 countries?? we need 100 JSPs
right..Instead he can go for a single JSP with logic tags..but if there are
100 countries...his JSP will be very very long ..option left is to go for
tiles...
On 12/8/05, Garner, Sh
Would someone please recommend a current tutorial that may include iBATIS
integration?
tia,
am
Gary VanMatre comcast.net> writes:
[snippet]
> > >
> > > When running this without a managed bean called 'test' in
faces-config.xml, I
> > > get the following error:
> > > ERROR
> >(org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/estoolweb].
> > > [Faces
> > > Servlet]) - Se
I think Validator Framework internally uses Javascript..You can customise
according to you Requirement..Some one correct me if iam wrong..
On 12/8/05, Tony Santinello <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm using Struts 1.2.7 and I'm using commons-validator
> to validate my forms. Can someone
Dave-
I would look at Ants JavaDoc for creating the necessary html Doc
In the meanwhile
You may want to look at another hosting solution
or host the site yourself-
Good Work!
M
- Original Message -
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, D
I would set up three different JSP Pages and route to them based on them
answering which country they are from. I suggest you use the struts method
to setLocale to the country and then make a version of the resources file
for that locale.
In our application we have two sets of properties files.
A
Hi,
I'm using Struts 1.2.7 and I'm using commons-validator
to validate my forms. Can someone tell me why
validator includes all the javascript functions when
rendering the jsp page?
Even including javascript functions that I'm not using
in validation.xml, such as creditcard validation or
integ
>From: Ryan Wynn <[EMAIL PROTECTED]>
> On 12/8/05, Mikael Andersson wrote:
> > Hi,
> > testing some clay templating ( base code from some very helpful posts in
> > this
> > forum),
> > and it seems like I must have a managed bean associated to every view.
> > Is this correct?
> >
> > When
Ryan Wynn gmail.com> writes:
> Mikael,
>
> I think you could get it down to 1 managed-bean by doing this
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> And declaring layoutBe
In a jsp page, when use there should be a bean name to be
defined,
as .
well, here, i come across a problem:how can i define the javabean"mybean"
to let the tag know it.
Because, when i just define a class "mybean" with property key
and method getKey(),setKey(), the system tell me that he can't
Thanks Laurie,
It worked perfectly.
Neil Meyer
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: 07 December 2005 12:30 AM
To: user@struts.apache.org
Subject: Re: checkbox for nested collection
Neil Meyer wrote:
> Good day,
>
> I read all the topi
On 12/8/05, Mikael Andersson <[EMAIL PROTECTED]> wrote:
> Hi,
> testing some clay templating ( base code from some very helpful posts in this
> forum),
> and it seems like I must have a managed bean associated to every view.
> Is this correct?
>
> When running the code below without a managed bean
On 12/8/05, Sony Thomas <[EMAIL PROTECTED]> wrote:
> Hi ,
>
> i have lot of information to fill in the form. I mean it cannot contain
> in one page. so i would like to use tabs in my struts application. how
> can i use tabs in struts, please give me a reply.
http://ditchnet.org/tabs
I haven't use
Hi ,
i have lot of information to fill in the form. I mean it cannot contain
in one page. so i would like to use tabs in my struts application. how
can i use tabs in struts, please give me a reply.
-
To unsubscribe, e-mail: [
This error occurs when you are running an earlier JVM with code that was
compiled with a newer JDK. In your case, I think you might be running a
1.4.2 JVM with code that was compiled with the 1.5 JDK.
-Richard
e-denton Java Programmer wrote:
Hi,
I recently uploaded an updated Struts applica
You need to make use of the html:optionsCollection tag
In your form bean you need an object that has the properties label and
value. Like this:
public class ComboBoxItem implements Serializable, Comparable {
private String label;
private String value;
Hi,
testing some clay templating ( base code from some very helpful posts in this
forum),
and it seems like I must have a managed bean associated to every view.
Is this correct?
When running the code below without a managed bean I get an error, but if I
declare one for it it works fine.
The code
The reset method would be called in the normal course before the
ActionForm is populated. What reset does is up to you. For the base
ActionForm, it's an empty method that you can override. In the case of
DynaActionForms, you can specify an initial=value and use reset=true
to have the property set t
It sounds like WildCard mappings (since Struts 1.2) might help. You
would probably only need one set of mappings for any number of
catagories.
You would probably only need one ActionForm too. If some of the
categories don't use some of the properties, then they just travel
null. Just give the base
Hi,
I recently uploaded an updated Struts application to a remote server. Now I
get this message (below: UnsupportedClassVersionError). I am using Tomcat
5.0.27. I do have 5.5 on that system, but everything points to 5.0.27 (as
far as I can tell). I am running Java 1.4.2_01_b06. I have the same se
Mathew Joseph wrote:
My web application consists of 2 webapps. And these are internally invoking each other.
Or the user itself can make calls to any of these webapps using the common menu page.
Now, when i try to logout (session.invalidate()), its not logging off from both
webapp sessions.
I
Dave Newton wrote:
I got so crabby I wrote a Ruby program that eats the struts and tile
configs and spits out a JavaDoc-like listing (screenshot available at
http://www.whackamonk.com/strutsdoc/screenshot1.png once my FREAKIN'
HOSTING COMPANY GETS ITS SH*T TOGETHER.)
The screenshot is up, in
Thanks for the help Gary.
You sorted out my first problem, but now I have a new one. I'll spend some time
investigating it myself before posting (which I'll probably end up doing).
Cheers, Mikael
-
To unsubscribe, e-mail: [EM
Try struts layout tags.
They support tabbed inputs.
On 12/8/05, Sony Thomas <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there is any way to use tabs in struts. Is there is any html bean tag
> for this ?
>
>
>
Hi,
Is there is any way to use tabs in struts. Is there is any html bean tag
for this ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
2005/12/6, Jim Reynolds <[EMAIL PROTECTED]>:
> If I put a object into the request, and switched protocols, the
> request object was no longer found? Since most struts work has
I see that when sslext switches from a protocol to another what is
really happening is: a redirect is sent in the response
Thanks for the link !
Tremal Naik a écrit :
2005/12/8, Nicolas De Loof <[EMAIL PROTECTED]>:
Do you know any opensource (java) proxy that could help me doing this ?
i've used muffin for a while:
http://muffin.doit.org/
I used it for much simpler tasks then those you need, but I see
2005/12/8, Nicolas De Loof <[EMAIL PROTECTED]>:
> Do you know any opensource (java) proxy that could help me doing this ?
i've used muffin for a while:
http://muffin.doit.org/
I used it for much simpler tasks then those you need, but I see it's
very flexible and maybe it gives you what you need
2005/12/7, Gary VanMatre <[EMAIL PROTECTED]>:
> I'm planning on some Shale white papers that will be available on my
> employers website (so I can get paid for doing it and promote services :-).
> Please feel free to ask questions here about Shale.
thanks to you
--
TREMALNAIK
---
I think there are many people asking the same question. But I cannot
find the answer. any web sites have more or less coding example of
populating a dropdown box or list in a Struts way before the web page
displays.
Thanks
-
To
Hello,
My app will be used (in production) behind a SSO server that adds HTTP
headers to incoming requests. I use those headers for user
authentication. For tests, I need to emulate those headers and I'm
looking for a HttpProxy that can be customized to process incoming HTTP
request and add
68 matches
Mail list logo