aviral saini wrote:
hi
i am using nested checkboxes to display an array of
checkboxes - each row belonging to a new entity.
i also want the form to read these checkboxes when
they are selected(true) and unselected(false).
i have been able to implement the display but the
while reading the form, i g
All of your problems are caused because LookupDispatchAction creates a
reverse mapping from the value of a parameter to its key, in order to
get the method name. This is not only resource intensive but also a
constant source of the sorts of difficulties you are experiencing. You
can find what are
I use Tomcat 5.0.27, I don't use the "isELIgnored" attribute, and I do
use the struts-el tags (Struts version 1.1), and everything works fine.
Erik
David G. Friedman wrote:
Rajesh,
If you use this syntax in your Tomcat 5.X.X (I'm on 5.0.27) JSP's:
<%@ page isELIgnored="false" %>
Remember to use t
Hi all,
I'm using LookupDispatchAction to submit a form with multiple submit
buttons. The labels of the buttons are translated. The translated strings
are in a .properties file. I'm able to run the web app fine in English but
when I switch to Korean none of the the submit buttons work and I see
Rajesh,
If you use this syntax in your Tomcat 5.X.X (I'm on 5.0.27) JSP's:
<%@ page isELIgnored="false" %>
Remember to use the standard struts tags, not the contributed struts-el
tags.
Regards,
David
-Original Message-
From: Rajesh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27,
Hai
Am using Tomcat5
Its supporting JSP2 right
Regards,
Rajmahendra R. Hegde
GK Bharani Software Pvt. Ltd.
There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that th
Hai
Am using Tomcat5
Its supporting JSP2 right
Regards,
Rajmahendra R. Hegde
GK Bharani Software Pvt. Ltd.
There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that th
Hi
I dont do any thing that complemenated, this is what i
had in mind my xml file will look some thing like this
Select * from ABC
myfied
Then my java program will read this XML file and build
a preparedStatement like
pstmtSQl = SELECT * from ABC where myfield=?
the build the preparedStatement an
If you change your servet mapping you can have whatever file suffix you want,
change *.do to *.html
beware that doing this will route all *.html requests through the
action servlet.
if you just need to forward to a static html page then
Should work.
Mark
On Wed, 27 Oct 2004 13:24:57 -0400
thanks
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 11:25 AM
To: Struts Users Mailing List
Subject: RE: mapping a html page request
Dennis,
Web server like tomcat have rewrite modules (mod_rewrite) where you can
sense an incoming
Hi, all,
While everything works well on my own server, it seems their server can find the
action forward specified in JSP file, but cannot find the mapping specified in action
servlet. Anyone know why?
Thanks in advance.
Tong
-
Do you Yahoo!?
James:
I downloaded your product a while before I received your email. It is
great! usin with eclipse.
On Wed, 27 Oct 2004 15:54:57 -0400, James Holmes <[EMAIL PROTECTED]> wrote:
> Struts Console version 4.8 is now available.
>
> http://www.jamesholmes.com/struts/
>
> Download Now:
> http://
James, thank you! I've been looking forward to this.
Out of curiousity, it doesn't look like it handles the "new and improved"
way of defining args in validator.xml files as mentioned at the end of
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29004
Do the arg0, arg1, arg2 attributes really
James, thank you! I've been looking forward to this.
Out of curiousity, it doesn't look like it handles the "new and improved"
way of defining args in validator.xml files as mentioned at the end of
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29004
Do the arg0, arg1, arg2 attributes really
FYI, here is the debug message from DefinitionDispatcherAction class.
[App=LS][Oct-27 16:41:31:199]
org.apache.struts.tiles.actions.DefinitionDispatcherAction (DEBUG) - get
Definition {name=page.viewWeekSchedule, path=/viewWeekSchedule.jsp,
role=null, controller=null, controllerType=null,
controll
On Wed, 27 Oct 2004 13:09:39 -0600, Sudip Shrestha <[EMAIL PROTECTED]> wrote:
> I am trying this simple struts application here, that uses following:
>
>
>
> and under :
>
> However, I am getting following exceptions.I could not find
> anything regarding this messag
Trying to invoke a tile definition via DefinitionDispatcherAction. All I
get is a blank page. Nothing in log file.
This URL shows up in the address
http://oc4j.server.com/labor/viewWeekSchedule.do;jsessionid=0a021a42502f
3623a2117e432bb4d1b48a258cd6cd?def=page.viewWeekSchedule
The HTML is pretty
Struts Console version 4.8 is now available.
http://www.jamesholmes.com/struts/
Download Now:
http://www.jamesholmes.com/struts/struts-console-4.8.zip
-- OR --
http://www.jamesholmes.com/struts/struts-console-4.8.tar.gz
Struts Console is FREE software.
Changes with Struts Console v4.8
*) A
Are you using a JSP 1.2 or JSP 2.0 container? If you're using a JSP 1.2
container, you use the jars/tlds in "contrib/struts-el/lib". If you're
using a JSP 2.0 container, don't use Struts-EL. I didn't see in any of
these notes where you said what container you're using.
> -Original Message--
I am trying this simple struts application here, that uses following:
and under :
However, I am getting following exceptions.I could not find
anything regarding this message in the archive.
Any help would be appreciated. I am wondering if this is being caused
by ta
What could lead to a run-time error such as:
[ServletException in:/frame/content/content.jsp]
Exception creating bean of class
org.dhsinfo.content.AddFileForm: {1}'
The strange thing is that the application worked
without any problem before. I did not touch anything.
I re-ran the application a
Ashish,
I've never heard of a data layer that looks proactively at a configuration
file. However, you could make your ClassB check the timestamp of the
configuration file and reload it if it changed since the last time you
looked at it (if you store the modification timestamp or something like
th
Hi
This is what i want to achieve by keeping the SQL
statement outside java code,
I can change the SQL statement with out having to
compile the java program.
The resltset will be returned to another java program
So ClassA calls ClassB, ClassB reads my.xml file,
which has a SQL statement, ClassB w
Mike,
To capture that data, I think your form bean needs nested objects. When
populated, your ActionForm (if you use one) will try to invoke
getFoo().getStatus().setName(value) where value is what was submitted. So,
to capture it, you either need to have your Actionform have a Foo object
plus get
Ryan,
I posted a code snippet on how to send an HTTP request behind the scenes in
an Action some time ago. This might help if you change the paypal specific
stuff to be your type of transaction:
http://marc.theaimsgroup.com/?l=struts-user&m=109529231331622&w=2
I have no idea what a "XmlStringNot
Dennis,
Web server like tomcat have rewrite modules (mod_rewrite) where you can
sense an incoming URL and parse it to make it go where you wish. See:
http://httpd.apache.org/docs-2.0/misc/rewriteguide.html
Also, I'm not sure if a "filter" in a java web (or application) server might
do the trick.
LOL. Thanks, David. I think if the whole open source
community was one company, we wouldn't even need a
book. We'd probably just have a wizard.
--- "David G. Friedman" <[EMAIL PROTECTED]> wrote:
> Dan,
>
> I skimmed over your steps outline and it looks like
> you should turn that
> into a bo
It's not exacly what you're looking for, as it's meant for testing, but
you might want to take a look at DBUnit. At least you can look at the
source code:
"DbUnit has the ability to export and import your database data to and
from XML datasets"
http://dbunit.sourceforge.net/
Thompson
Ashish Ku
Ashish,
Where do you want your resultSet returned? You can use Hibernate(.org) in a
webapp or stand-alone (even command line) program. It uses XML
configuration files. If you're looking to start the data layer and have it
run a prepared statement to put into memory for later use, you could do t
Look at iBatis.
robert
> -Original Message-
> From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 27, 2004 1:02 PM
> To: [EMAIL PROTECTED]
> Subject: [OT] SQL in XML file
>
>
> Hi
> Is there any code out there or any one worked on a
> framework, where we can defin
Ashish,
Check out the validation.xml page="NUMBER" attribute. See "Multi Page
Forms" at: http://struts.apache.org/userGuide/dev_validator.html
Additionally, handling page navigation depends on how you set it up.
If you set up one action per page but using the same validation.xml form,
you could
Hi
Has anyone developed a data entry screen which spans
more then one jsp page,
This framework must do validation on each page, and
provide navigation buttons to go one page to other or
come back and see the data entered
How do i processed with this requirement
Ashish
_
Hi
Is there any code out there or any one worked on a
framework, where we can define SQL statements in XML
file and at runtime java program will read this XML
file, build the SQL if prepared statement and execute
it and return a ResultSet
What may be the points to be taken into consideration
if i
Dan,
I skimmed over your steps outline and it looks like you should turn that
into a book for beginning contractors or webapp developers. It might sell a
few books too. :)
Regards,
David
-Original Message-
From: Dan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 12:52 PM
To
Rajesh,
Have you tried one of these approaches:
1) Just a JSP 2.0 application server or web server?
2) Use the Struts-EL taglibs (bean-el, struts-html-el, etc.) located in the
/contrib folder of the 1.1 release?
Regards,
David
-Original Message-
From: Rajesh [mailto:[EMAIL PROTECTED]
S
I've never developed an open source database web app.
Since each open source product only documents its part
of the whole process, I've had some trouble finding a
documented step-by-step procedure for doing the whole
thing. So I tried to make one by patching together
bits from the documentation o
Can be a bit more specific? How would you do this with tiles and nested
tags?
Thanks,
Yaakov.
-Original Message-
From: VAN BROECK Jimmy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 12:08 PM
To: Struts Users Mailing List
Subject: RE: Recursive iteration
Nested tags with til
Hmm ... looks like RequestProcessor.processMultipart() always uses a
MultipartRequestWrapper if the content type is "multipart/form-data".
The controller setting you are trying to change sets the
MultipartHandler class, not the request wrapper class.
One could argue that the wrapper class ought t
Nested tags with tiles inclusion, can get you on the road.
-Original Message-
From: Chaikin, Yaakov Y. [mailto:[EMAIL PROTECTED]
Sent: woensdag 27 oktober 2004 17:55
To: StrutsUser (E-mail)
Subject: Recursive iteration
Hi,
I am hoping there is a simple way to do this, but can't find any
Hi,
I am hoping there is a simple way to do this, but can't find anything in the
docs. I have an object that has a "has-a" relationship with itself.
Basically, it's like a folder explorer, i.e., a folder can have one or more
folders under it. Each of those folders can have one or more folder under
What are you trying to do have a constant navigation system?
TilesAction is like Action except it has the tiles context aviable
giving easy access to values in you tiles defs.
TilesControllers let you do stuff to tiles defs before an action.
You current code should work if you map the action (r
Mark,
It is my 1st trial of using Tiles.
I do not know how to choose. What are you using?
Could you show me some fragment codes with
struts-defs.xml,
struts-config.xml
action or controllerSomething?
Thanks
On Wed, 27 Oct 2004 17:26:55 +0200, Mark Lowe <[EMAIL PROTECTED]> wrote:
> Decide if
Decide if you want to use an action or a tiles controller.. Or a tiles action..
You can use an action if you return null rather than a forward (well
for a forward) and use the controllor url attribute. But this means
wiring an an action and a tile/ controllorUrl="/myaction.do"
Mark
On Wed, 27 O
Error messages display as follows.
[ServletException in:/layout/menu.jsp] null'
java.lang.ClassCastException at
org.apache.jsp.layout.menu_jsp._jspService(menu_jsp.java:193) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
...
...
after adding a few lines to test in the follo
Here is a good resource that I used.
http://www.javaworld.com/javaforums/showflat.php?
Cat=2&Board=JavaSecurity&Number=2500&page=0&view=collapsed&sb=5&o=&fpart=1%3E
-Matt
On Wed, 2004-10-27 at 13:39 +, liooil wrote:
> Hello world,
>
> Before we integrate authorization/authentication based
Sorry, Joe. I should say by PLA's comments. At that time I couldn't decide which
hosting company to choose. So I just see which has been chosen by the email list
members.
And thanks for your answer. One more question: Does that mean their server won't look
up for my own web.xml?
Thanks again.
T
Maybe it was a bad explanation of my problem.
In our project we have demands on accessability that affect what components
we are using.
In current implementation we have link tags(with images nested) for
submitting forms, for links and so on.
This works fine but if a user has to increase text in th
Hello world,
Before we integrate authorization/authentication based on a sun one
identity server policy agent, i would like to make something more
simple. I'd just like to build an authorization/authentication system
relying on the login-config.xml file of my jboss3.2.2 and the web.xml
and jboss-
It's actually pretty straightforward. Just define a "title" attribute in your
tiles-defs, as you would any other attribute. Override it for each page that requires
a different title. For example:
tiles-defs.xml:
*
This is normal behavior. The reset method is only to clear the values
of checkbox fields, not to set all fields in the form to initial values.
Read the JavaDoc on the ActionForm.reset() method for an explanation.
-- Jeff
sqdf qsdf wrote:
I tested the redirect set false but I don't know why,
t
Implement the Cloneable interface on your ActionForm and call XXX
newForm = (XXX)oldForm.clone(). Read the JavaDoc on Cloneable and the
Object.clone() method for more information.
-- Jeff
dmu2201 wrote:
Sebastian Ho wrote:
Now this is a Java question, if "XXX newForm = (XXX) form" resulted in
f
Hi,
Due to the requirements related to i18n in my app I use characters that are encoded
like ł or ó and so on. If the validation fails the values typed in the
or are remembered and return to the input with
those charecters escaped - that means if you take a look at the html source the tags
Not sure I've i've understood or not but wouldn't a
work?
Perhaps even use one of thise LazyDyanBeans i keep hearing about in
the beanutils package.
Perhaps I've missunderstood the problem.
Mark
On Wed, 27 Oct 2004 15:22:54 +0530, Jay Chandran
<[EMAIL PROTECTED]> wrote:
> I am not a big st
hi
i am using nested checkboxes to display an array of
checkboxes - each row belonging to a new entity.
i also want the form to read these checkboxes when
they are selected(true) and unselected(false).
i have been able to implement the display but the
while reading the form, i get a union of all se
> On Wed, 27 Oct 2004 12:43:15 +1000, Ben <[EMAIL PROTECTED]> wrote:
>
>> How do I obtain the Realm context or get the current realm in an
>> ActionForm? I would like to sign in the users after they have signed
>> up using my RegistrationActionForm.
Tue, 26 Oct 2004 20:49:16 -0700,
Craig McClanah
Sebastian Ho wrote:
Now this is a Java question, if "XXX newForm = (XXX) form" resulted in
form and newForm having the same memory space? How do I really make a
duplicate copy with different memory space (beside using new, or is new
the only solution)?
Sebastian Ho
Since this is Java and not C
Rajesh wrote:
:) My Boss :0
How not working for me then
Should i add any taglib ???
Yeah you have to use the HTML and Bean taglibs:
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
replace the uri with the relativ
Now this is a Java question, if "XXX newForm = (XXX) form" resulted in
form and newForm having the same memory space? How do I really make a
duplicate copy with different memory space (beside using new, or is new
the only solution)?
Sebastian Ho
On Wed, 2004-10-27 at 17:44, dmu2201 wrote:
> Seb
:) My Boss :0
How not working for me then
Should i add any taglib ???
Can u give em any URL i can get basic use of EL ${...} objects
Regards,
Rajmahendra R. Hegde
GK Bharani Software Pvt. Ltd.
There are two ways of constructing a software design. One way is to make it so simple
that ther
:) My Boss :0
How not working for me then
Should i add any taglib ???
Can u give em any URL i can get basic use of EL ${...} objects
Regards,
Rajmahendra R. Hegde
GK Bharani Software Pvt. Ltd.
There are two ways of constructing a software design. One way is to make it so simple
that ther
Sebastian Ho wrote:
Hi
Can someone point out why this do not work, or why this work?
What this does, get a Actionform, set a value in it, add the ActionForm
into an Vector, set the Vector into Session.
Strangely the new ActionForm is not displayed in the JSP returned by
ActionForward. It only app
Rajesh wrote:
Hai Claus,
The code
Is not parsed and directly appairs in the html source code.
You would have to use the struts html tags. I forgot to mention that, sorry.
try
instead
In my lib directry i have standard struts jars some site they added jstl.jar
and struts-el.jar.
I redownlo
We are decorating each request object for our requirements.
MySpecialRequest customReq= MySpecialRequest(request);
Also , MySpecialRequest extends HttpRequest
If the content type is multipart/form-data ,also struts decorates our request object
in
processMultipart method and returns an
I am not a big struts giant :)
But let me give my suggestions on ur doubt
In the case of links we are just invoking a java (acion) file . If we need
to send some value through links to action file we need to send as parameter
from our link.
HTML:FORM tag is mainly meant for passing form
Hai Claus,
The code
Is not parsed and directly appairs in the html source code.
In my lib directry i have standard struts jars some site they added jstl.jar
and struts-el.jar.
I redownloaded struts1.1 but in the distribution binary zip file i didnt
found struts-el.jar
Is it really needed
Hai Claus,
The code
Is not parsed and directly appairs in the html source code.
In my lib directry i have standard struts jars some site they added jstl.jar
and struts-el.jar.
I redownloaded struts1.1 but in the distribution binary zip file i didnt
found struts-el.jar
Is it really needed
Hi
Can someone point out why this do not work, or why this work?
What this does, get a Actionform, set a value in it, add the ActionForm
into an Vector, set the Vector into Session.
Strangely the new ActionForm is not displayed in the JSP returned by
ActionForward. It only appears if the Action
Hi Rajesh
In layout page in a tile page am passing a querystring(parameter) as
?CategoryId=3
If i need to display can i just add it as
I'm afraid not since the method signature is
request.getParameter(String) and what you are trying to do is
request.getParameter().getCagegoryId().getGif(), wh
You can put what ever you like in the tile attributes. I store the
resource keys so that they can be looked up depending on locale.
Example - using a welcome page and a view shopping cart page
In your tiles definition
welcome page:
...
shopping cart page:
...
In your template p
Hi!
I know that this is and old issue but i'm not satisfied with solutions.
We have used links with images to go to actions without forms and it works
fine.
Now we got demands that we must use html buttons on pages for accessability.
I've seen
two workarounds, use a dummy form or regular html form
Hai Claus,
Thanks :)
After i added the line
<%@ page isELIgnored="false" %>
In layout page in a tile page am passing a querystring(parameter) as
?CategoryId=3
If i need to display can i just add it as
?
Regards,
Rajmahendra R. Hegde
GK Bharani Software Pvt. Ltd.
There are two ways of
Hai Claus,
Thanks :)
After i added the line
<%@ page isELIgnored="false" %>
In layout page in a tile page am passing a querystring(parameter) as
?CategoryId=3
If i need to display can i just add it as
?
Regards,
Rajmahendra R. Hegde
GK Bharani Software Pvt. Ltd.
There are two ways of
is it possible to use EL in Struts 1.1 ?
Yes it is. Just insert this in the top of your JSP page:
<%@ page isELIgnored="false" %>
Enjoy...
Claus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hai all,
is it possible to use EL in Struts 1.1 ?
Struts-EL how to use with Struts 1.1.
Regards,
Rajmahendra R. Hegde
GK Bharani Software Pvt. Ltd.
There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the othe
Hai all,
is it possible to use EL in Struts 1.1 ?
Struts-EL how to use with Struts 1.1.
Regards,
Rajmahendra R. Hegde
GK Bharani Software Pvt. Ltd.
There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the othe
Hi,
There is an example in the file tiles-examples-def.xml in tiles-doc.war
It works.
I would like to use NestedTabsLayout
(http://www.lifl.fr/~dumoulin/howto/nestedTabsLayout.jsp) but I don't know which
syntax use in
tiles-def.xml.
Has someone al
Thank you for your help!!!
I tested the redirect set false but I don't know why,
the ActionForm is always reset at the end of the
execute method.
My Struts Config is like this :
My ContactForm extends ValidatorForm and I use the
tiles to define the path contactCreate.
Whe
Hi all!
I have a small problem:
I am creating a web-application with struts, which contains many jsp-pages. At the
moment I use the concept copy & pasting the layout into each page. I read much about
including parts by jsp-commands, templates and tiles and try to use tiles. But I do
have one b
The next Silicon Valley Web Developer JUG meeting will convene at 6:30pm on
Wednesday, November 10th, at Netscape in Mountain View. This is another
co-hosted meeting with the Silicon Valley Java User Group
(http://www.svjug.org). Special thanks goes to Netscape for providing the
meeting space and O
79 matches
Mail list logo