Hi
First of all: Please direct these types of questions to the proper maillisting
for Tomcat.
Tomcat is as I stated, first and foremost a Servlet engine (Reference
implementation), and is as such tuned for that. My guess is that if you are
having performance problems, that these are due to
Have you put *submit()* correctly? It works:
html:button onclick=document.forms[0].submit(); /
2005/10/19, Carl Smith [EMAIL PROTECTED]:
I seem to have a issue using html:button's onclick. My value of onclick
is a javascript performing form.submit(), but I found out this is not
working.
I found the solution in a post to another thread from
[EMAIL PROTECTED]
Are you using Windows? Than this it no tomcat specific problem. yout
struts.jar is not deleted because windows locks this file. i had the same
problem. the solution is to add the directory META-INF to your project. put
a
[EMAIL PROTECTED] wrote:
Hi Bob, I'll try to give my 1 cent to the topic and also to answer you
more concrete because I believe you want some concrete answers, not
theoretical conversations.
Background: I just started a Struts project with Hibernate. I have chosen to
use the Data Access
On 10/19/05, Martin Gainty [EMAIL PROTECTED] wrote:
George
Could you explain on how MVC patterns are fractal?
Thanks,
Martin-
I think there are no fractal patterns, but fractal architectures,
which follows same pattern in different levels. Example:
a typical 3-tier can be considered MVC
the
Hi
Has anybody successfully made
org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl work with Shale?
Meaning that Tiles definitions can successfully be accessed as pages. I.e
somepage.jsf will be mapped to somepage.tiles (a tiles definintion)
Hermod
* * * * * * * * * * * * * * * * *
Paul,
I am dealing with a multiple select tag... Ie html:select
property=userroles multiple =true html:optionsCollection
property=userroles / /html:select
Natalie
-Original Message-
From: Paul Benedict [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 7:11 PM
To: Struts
Good Morning Carl
excerpted from Craig:
The challenge with doing this is that the JSP tags run on the server (as the
page is being generated), while the JavaScript runs on the client side. To
integrate the two, you need your tags (and other JSP code) to dynamically
generate the JavaScript
On 10/19/05, Leon Rosenberg [EMAIL PROTECTED] wrote:
I think there are no fractal patterns, but fractal architectures,
which follows same pattern in different levels. Example:
a typical 3-tier can be considered MVC
the presentation layer in the 3-tier could itself be an MVC too (jsp
the view,
Hi Hermon,
I use tiles with Shale, but Shale uses the stand-alone tiles, so I'm
not sure which view handler is used. But it works ok.
On 19/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi
Has anybody successfully made
org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl work with
Shale has it's own tiles viewhandler that uses tiles stand-alone. And
it does allow accessing tiles as pages.
On 19/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote on 10/19/2005 09:24:01 AM:
Hi Ronald
Can you access pages as tiles-definitions? I mean not just
Hi
Are you using the TilesViewHandler from shale-tiles or JspTilesViewHandlerImpl
from Tomahawk ?
-Opprinnelig melding-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sendt: 19. oktober 2005 15:29
Til: Struts Users Mailing List
Emne: Re: SV: [Shale] JspTilesViewHandlerImpl and Shale
Hi
Weird. I just took one of my working MyFaces/Tiles projects, and introduced
Shale/Clay/Spring configuration to it along with the approprate .jar files.
After that the tiles definitions stopped working.
I'll try to make myself a simple sample based on the shale usecases and see if
I can get
[EMAIL PROTECTED] wrote on 10/19/2005 09:53:55 AM:
Hi
Weird. I just took one of my working MyFaces/Tiles projects, and
introduced Shale/Clay/Spring configuration to it along with the
approprate .jar files. After that the tiles definitions stopped working.
I'll try to make myself a
Let it never be said that the myriad OT discussions on the Struts mailing
list aren't worth something :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
On Wed, October 19, 2005 8:50 am,
From: [EMAIL PROTECTED]
Weird. I just took one of my working MyFaces/Tiles projects,
and introduced Shale/Clay/Spring configuration to it along
with the approprate .jar files.
After that the tiles definitions stopped working.
What .jar files did you introduce? If you're missing
Thanks for link! Tried it but same problem.
I'm starting to think that it might have something to do with forwards or the
container... :(
Anyone else out there using response-manipulating-filters with struts?
TIA
Ulf
-Ursprungligt meddelande-
Från: Frank W. Zammetti [mailto:[EMAIL
Hi All,
I'm wondering if there is a way to define conditional validation for mask,
date, integer etc in validation.xml. I know there is a validwhen, but it
only checks for the condition as defined by the test variable. What I
want is to perform the mask, date validation only some conditions are
That's weird... I just threw it in a Struts app and it worked (mapped it
to every request by the way), so I wonder what your app is doing that
breaks both filters... could very well be a flaw in both filter
implementations, that's not at all out of the question.
--
Frank W. Zammetti
Founder and
Hello,
We are in process of moving to different IDE and at same time have decided
to upgrade to Struts 1.2.7.
Started out with a just two pages from an app that is running fine in our
current environment. It consists of a login page and a viewPrices.jsp
page. Upon valid login the user is
Nilsson Ulf /Konsult wrote:
Anyone else out there using response-manipulating-filters with struts?
I've used the filter from... um... _Core Servlets and JSP_ w/ zero
problems, but IIRC we mapped it to everything.
Dave
I have noted your comments
Thank You for responding
Good Luck,
Martin-
- Original Message -
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Wednesday, October 19, 2005 2:00 AM
Subject: Tomcat performance - Was Clever trick required
Hi
First of all: Please direct these types
On my current project I've written a validation method that
dynamically invokes other validation rules depending on the String
returned by bean.getDepends()
It's used with indexed properties where the fields for the form to
fill in are configurable and come from a database.
Is that what you're
Hello,
I didn't find this in the archives, so I'll ask.
I have a tomcat app deployed via proxypass from apache (2 in fact, a
double-proxy through 2 servers). It needs to use relative paths in its
links to ensure that the composed path is correct. Unfortunately struts
doesn't seem to want to
That's simlar to what I need, except that it's not an indexd property. Can
some of your code or send it to me offline.
thanks,
Saul
On my current project I've written a validation method that
dynamically invokes other validation rules depending on the String
returned by bean.getDepends()
On 10/19/05, Michael P. Soulier [EMAIL PROTECTED] wrote:
Hello,
I didn't find this in the archives, so I'll ask.
I have a tomcat app deployed via proxypass from apache (2 in fact, a
double-proxy through 2 servers). It needs to use relative paths in its
links to ensure that the composed
html:form...
..
...
td
html:text name=Form1 property=name size=40
errorStyleClass=errormessage/
/td
/html:form
Css is working except for this.
When I hit the submit button it just forwards to the different jsp. it
doesn't validate the field which I set to be required. I did make it
I have a WSDL that is managed and generated by a different group than mine.
This wsdl has many complex types within complex types for each service. Thus
I get composite objects being generated, and we use a flattened version of
these objects in our Struts UI. But Currently, we create an
Good Morning Mick
Stupid question but I'll ask anyway ..I'm assuming you have already used
Axis wsdl2java to automate the generation of the Java Class?
http://ws.apache.org/axis/java/user-guide.html#WSDL2JavaBuildingStubsSkeletonsAndDataTypesFromWSDL
Martin-
- Original Message -
From:
Hi,
I am creating a drop down list using the HTML select and option
tags. The items in the list will be color names (ex. red, green, blue,
etc..). I would like a small square image to be next to each color
name text in the list. How would I go about this in my jsp file with
my struts tags?
Martin Gainty wrote:
I'm assuming you have already used Axis wsdl2java to automate the
generation of the Java Class?
http://ws.apache.org/axis/java/user-guide.html#WSDL2JavaBuildingStubsSkeletonsAndDataTypesFromWSDL
Or if that doesn't do what you need, just write a simple script in
Faisal Mahmoud wrote:
I am creating a drop down list using the HTML select and option
tags. The items in the list will be color names (ex. red, green, blue,
etc..). I would like a small square image to be next to each color
name text in the list. How would I go about this in my jsp file with
my
Hi,
I'm doing an upgrade from JDK 1.3.1 to JDK 1.4.2 for
my Struts 1.1 applications. I have an issue with the
logic:present tags. These don't seem to work with
JDK 1.4.2 version.
I'm using OC4J 9.0.4 as my application server.
For the JSP code snippet shown below , I get an error
message:
quote:
This isn's something that is possible in straight HTML. There could be a
way to do it via CSS, but nothing obvious presents itself to me... I tried
setting a background-image, but that didn't work.
Can you find an example of it being done? Unless there's some non-obvious
CSS trick, or perhaps
Just thought of this... one thing you could do is set the text color of
each option. That *does* work. Might serve your purpose alright.
You can actually set the color style attribute or background-color, both
work.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex
Shyam Anand wrote:
These don't seem to work with JDK 1.4.2 version.
I'm running 1.4.2 w/o any JSTL issues. (Tomcat, WinXP, 1.4.2_08)
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Frank W. Zammetti wrote:
Just thought of this... one thing you could do is set the text color of
each option. That *does* work. Might serve your purpose alright.
You can actually set the color style attribute or background-color, both
work.
Looks funny when you roll over it. Still and
On Wed, October 19, 2005 3:20 pm, Dave Newton said:
Looks funny when you roll over it. Still and all, kinda handy for
something, I'm sure.
Yeah, I thought so too... might be some CSS tricks you could play to keep
the color the same when hovered over... I just tried some obvious things,
none
And insert a #149; in front of the text in a larger font size (But same
line height). This will give you a circle, but not a square.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: 19 October 2005 20:13
To: Struts Users Mailing List
Cc: Struts Users Mailing
action
path=/login
type=com.firstenergycorp.hep.LoginAction
name=rtpForm
scope=session
input=login.jsp
forward
name=viewPrices
path=viewPrices.jsp/
/action
In the above configuration try for the forward's path as
/viewPrices.jsp instead of viewPrices.jsp
What I really want to know is how to use html:button and still using onclick
to call javascript to submit the form.
Martin Gainty [EMAIL PROTECTED] wrote:Good Morning Carl
excerpted from Craig:
The challenge with doing this is that the JSP tags run on the server (as the
page is being
At 3:11 PM -0400 10/19/05, Frank W. Zammetti wrote:
This isn's something that is possible in straight HTML. There could be a
way to do it via CSS, but nothing obvious presents itself to me... I tried
setting a background-image, but that didn't work.
Can you find an example of it being done?
Hey everyone.
Thanks for the input on my problems with my LookupDispatchAction.
I was able to get the wizard steps working using the example on page 201 of the
book:
Jakarta Struts Cookbook.
Now I am off to do the business logic. Again, thanks for all the help.
--Brad
-Original
I am forced to use the Websphere Axis libraries, and yes generate
classes just fine. But I can't get them to adhere to MY interface, or
MAKE these Types extend an Abstract Class of my own. At least that I can
see.
I also have about 1,000 different types being generated in our project.
So, is
I was thinking you could build an actual custom control to do this, and
that's a good start... add a down arrow to the right of it to show the
dropdown portion and lock the textbox from editing and you'd have a good
start.
Thanks Joe!
--
Frank W. Zammetti
Founder and Chief Software Architect
Okay, somewhere in my head I can remember seeing an example of this,
but I can't recall where it was. Sounds like the solution (if one
exists) is non-trivial. Appreciate the ideas and if I do come across
or develop some sort of solution I will post back to this thread.
On 10/19/05, Frank W.
Actually, based on Joe's suggestion, I just threw it together just now.
This is literally hacked together off the top of my head, and only tested
in IE 6... I can see some things I'd want to fix already, but that's what
you get from 5 minutes of hacking! Might make a good candidate for
inclusion
I have issues with struts-logic tags...I'm not using
JSTL.
Shyam
--- Dave Newton [EMAIL PROTECTED] wrote:
Shyam Anand wrote:
These don't seem to work with JDK 1.4.2 version.
I'm running 1.4.2 w/o any JSTL issues. (Tomcat,
WinXP, 1.4.2_08)
Dave
Michael Jouravlev on 19/10/05 00:44, wrote:
On 10/18/05, Adam Hardy [EMAIL PROTECTED] wrote:
Secondly, getKeyMethodMap() looks really clunky - is there no way this
can be pushed into the struts-config.xml?
It can be done, but if this to be defined inside existing structures
like action, then
Shyam Anand wrote:
I have issues with struts-logic tags...I'm not using JSTL.
Whoops.
I'm running 1.4.2 w/o any struts tag issues (including 'logic').
(Tomcat, WinXP, 1.4.2_08)
Why not switch to JSTL anyway, though?
Dave
Referencing
http://struts.apache.org/api/org/apache/struts/taglib/html/BaseHandlerTag.html#triedJstlSuccess
To quote the doc
org.apache.struts.taglib.html.BaseHandlerTag
Base class for tags that render form elements capable of including
JavaScript event handlers and/or CSS Style attributes.
Hi all,
i am new to this forum.this is my first post.i hope this mailing list helps me.
in the first page in my struts web app, i need to enter the details of 5
persons.
they have proprties name,sex,rollnumber and age
for that i created a bean with these 4 properties which have getter and
Thank you Martin on this information. This issue was resolved. Basically there
was another error in my jsp that cause this issue. Now it is working fine.
Simply put html:button does support form.submit() when correctly code in
onclick.
I will however have another issue with sturts validator
Use JSTL.
__
Senior Programmer Analyst, Tax Distributed Systems Development
Tax Compliance Development, ADP IT
Phone: (909) 592-6411 Ext. 3863
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Shyam Anand [mailto:[EMAIL PROTECTED]
Hi,
Assume I have 2 jsp(s), header.jsp and content.jsp
In header.jsp, I have:
%@ taglib uri=/WEB-INF/tld/struts-bean.tld prefix=bean %
%@ taglib uri=/WEB-INF/tld/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/tld/struts-logic.tld prefix=logic %
%@ taglib uri=/WEB-INF/tld/element.tld
From: Koon Yue Lam [EMAIL PROTECTED]
Assume I have 2 jsp(s), header.jsp and content.jsp
In content.jsp, I include header.jsp like the following:
%@ include file=../common/Header.jsp %
The include isn't working. Possibly because your file is named 'header.jsp'
and you're including
Hi Carl,
Mind telling us the cause of your problem?
On 10/20/05, Carl Smith [EMAIL PROTECTED] wrote:
Thank you Martin on this information. This issue was resolved. Basically
there was another error in my jsp that cause this issue. Now it is working
fine. Simply put html:button does support
sorry, the include in my first mail was wrong, it should be:
%@ include file=../common/header.jsp %
and it still can't locate those tld
On 10/20/05, Wendy Smoak [EMAIL PROTECTED] wrote:
From: Koon Yue Lam [EMAIL PROTECTED]
Assume I have 2 jsp(s), header.jsp and content.jsp
In
All,
I have used tiles and struts1.2.7 without definitions. The test worked. Now
I wanted to test struts and tiles with definitions.
This is the tiles-defs.xml file (stored in my web-app web-inf folder)
tiles-definitions
definition name=tests.test path=/tests/x.jsp/
/tiles-definitions
I also
I have to update the resource bundle from an Action Class.I found it impossible
as the handle of Resource Bundle is with ActionServlet when it is
intialized.So, in order to update the resource Bundle values i have remove the
handle first.
My Question is it true?If Yes why if No how it can
Faisal,
Why you want to use image, you can use stylesheet. You may refer following
code:
HTML
HEAD
TITLE New Document /TITLE
STYLE type=text/css
OPTION.mar{background-color:maroon; color:white}
OPTION.red{background-color:red; color:maroon}
OPTION.blue{background-color:blue; color:maroon}
tiles:insert beanName=tests.test flush=true/
Try definition instead of beanName as in
tiles:insert definition=tests.test flush=true/
From: Simons Kevin [EMAIL PROTECTED]
I have used tiles and struts1.2.7 without definitions. The test worked.
Now I wanted to test struts and tiles with definitions.
This is the tiles-defs.xml file (stored in my web-app web-inf folder)
tiles-definitions
definition name=tests.test
Hi,
I am new to struts development. I have got a sample application from elsewhere.
and if I deployed that one works good. I have changed the files. I have added
one field in to jsp page. for that I have modified form and action classes
also. even it gives the following error. kindly help in
+1
Try tiles:insert name=tests.test ... /
OR tiles:insert attribute=tests.test /
Cheers,
Thomas Joseph
[EMAIL PROTECTED]
From: Wendy Smoak [EMAIL PROTECTED]
From: Simons Kevin [EMAIL PROTECTED]
I have used tiles and struts1.2.7 without definitions. The test worked.
Now I wanted
65 matches
Mail list logo