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
I received a warning email from the ezmlm process. It said that messages
to me from this list have been bouncing because my mailbox was full. I
apologize to anyone on this list who has received any type of bounce
message related to my account. I was unaware of this. This account
doesn't give
Hi,
I have some links to sounds in a jsp page that play in the default media
player under windows when the user clicks the link. This works ok when the
sounds exist under the web context and are referenced as relative paths.
But I now have a requirement to play files that exist at an arbitrary
I don't think hibernate does sql in a xml file .
I think it's more of a mapping of objects.
Ashish, you are probably looking for a ORM right ? You could look at
hibernate,
Cayenne and there's one from apache as well.
On Thu, 28 Oct 2004 08:41:15 +0100, Marco Mistroni
[EMAIL PROTECTED]
Hello,
I don't think hibernate does sql in a xml file .
I think it's more of a mapping of objects.
Not in own xml file... but if you have the YourHIbClass.hbm.xml, you
can put your sql 'queries' in there..
Of course, that's only for a specific class every class that you use
Will need
Hai all
i just tryed EL with struts.
when i pass a value as parameter key is Title and value is The Matrix
when i use ${param[Title]} its displaying only The not The Matrix
how can i overcome this.
if i use %= request.getParameter(Title)% its working fine.
Regards,
Rajmahendra R.
Hai all
i just tryed EL with struts.
when i pass a value as parameter key is Title and value is The Matrix
when i use ${param[Title]} its displaying only The not The Matrix
how can i overcome this.
if i use %= request.getParameter(Title)% its working fine.
Regards,
Rajmahendra R.
Hi all!
When I add an ActionError in the validate method's
ActionForm, I don't have any problem, my form is
backup and when I come back to my JSP, I can see all
form's datas.
But when I add an ActionError in the execute method's
Action, and call saveError(), I loose all form's datas
when I come
Hi guys,
Apologize..can't make it... and don't wanna force 'whole group'
to make it on a Friday...
I will however appreciate if someone can posts the content of the
discussion..
With best regards
marco
-Original Message-
From: Pilgrim, Peter [mailto:[EMAIL PROTECTED]
Okay that does it for me. ;-)
We will make the Xmas BOF on a Friday 10th December 2004 @19:30,
then. I got my heart set on Wagamammas just off Leicester Square,
there abouts on Charing Cross Road. So unless there are some
objections ...
www.strutslondon.com
--
Peter Pilgrim
Operations/IT -
I try to extend the default RequestProcessor, only to view the call sequence.
Something like this, for every method of the RP:
protected boolean processPreprocess(HttpServletRequest
request,HttpServletResponse response)
{
logger.debug(processPreprocess);
return true;
}
I saw
Has anyone used DefinitionDispatcher or seen a good example of how to
use it?
I am trying to configure a layout with two tiles. The idea is to be able
to have two separate actions, one for each tile.
DefinitionDispatcherAction looked promising but I end up with a blank
page or infinite loop
Hi,
Could someone either explain the steps or point me to a web page that
explains how to develop/deploy a Struts based app without the user having to
see the .do in the URLs but still take advantage of the Struts custom
tags?
Thanks,
Yaakov.
If you've coded your app without hard references to .do, then you only
need to change the web.xml file and all links/forms will be changed.
For some fun, try changing to *.aspx and give a demo to your boss!!
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
The tiles-doc example works very well the defintion is in the
file tiles-examples-defs.xml and the result page is
tiles-doc/examples/tabs.jsp.
I would like to use the nestedTabsLayout
(http://www.lifl.fr/~dumoulin/howto/nestedTabsLayout.jsp)
Has someone an example of tiles-def.xml that use this
The tiles-doc example works very well the defintion is in the
file tiles-examples-defs.xml and the result page is
tiles-doc/examples/tabs.jsp.
I would like to use the nestedTabsLayout
(http://www.lifl.fr/~dumoulin/howto/nestedTabsLayout.jsp)
Has someone an example of tiles-def.xml that use
James,
Is that really true?
Are you saying that Struts custom tags automatically pick up their extension
from the controller servlet mapping in web.xml?
Hmm... I was under the impression that it was the other way around. Struts
tags produced *.do and you need to map it in web.xml in order for
On Mon, 20 Sep 2004 21:18:04 +0200, Johannes Wolfgang Woger
[EMAIL PROTECTED] wrote:
For FOP to render anything, your HTML must be converted to the XSL-FO
dialect, and then processed. The FOP distribution has several
examples regarding how to use FOP.
How do I access the HTML dynamically
Hi, all,
I am using javaservlethosting.com to host my website. Currently, I use something like
this
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c %
to declare JSP tag libraries. But their tomcat server complains. It sounds weird if I
download all the TLDs and jar files then
On Thu, 28 Oct 2004 10:32:30 -0400, Chaikin, Yaakov Y.
[EMAIL PROTECTED] wrote:
James,
Is that really true?
Are you saying that Struts custom tags automatically pick up their extension
from the controller servlet mapping in web.xml?
Hmm... I was under the impression that it was the
Yes, as of Struts 1.1, you only had to hard code the '.do' in a few tags.
As of Struts 1.2.4, every struts tag (that needs to) will let you specify
action=/myAction thereby eliminating any hard coded '.do'.
Unless you are doing anything funky, you should be able to change to any
James' condition, viz. if you've coded your app without hard
references to '.do', is really important here. But, you can change
your extension to anything you want, as he says.
You are mistaken that the tags add .do. They don't. The answer to
your question has been extensively discussed in the
You are mistaken that the tags add .do. They don't.
The tags do, in fact, add '.do' (or whatever it is you have specified for
the servlet mapping) when used properly. This means understanding which
attributes for which tags will compute the url for you.
If I am wrong on this, then maybe I
I imagine it'll work just like TC 4.1 if his app is using a Servlet 2.3
web.xml.
Quoting Karr, David [EMAIL PROTECTED]:
You're using Tomcat 5 with Struts-EL? You don't need to use Struts-EL
with Tomcat 5. Doing so is wasteful (and I'm surprised it works). The
base Struts tag library will
I forgot this about Struts 1.2.4, James. Good point.
I think your thing with the marketing people is funny. While I am
certain it was not so funny for you at that time, I would have liked
to be a potted plant in the room for that discussion.
You can expect, I think, marketing people to have
I have a site where index.jsp is the first page users access. It contains
some text, a link to go to a registration page, and a form for registered
users to login. I have converted all other pages to be defined by Tiles
definitions in an XML file. However, I cant figure out how or if I can
I'm using Tomcat 5.0.28 and I find I no longer need to use the
struts-el tags because JSP 2.0 supports the ${} notation anywhere in the
jsp page. e.g. you can put ${2+2} it it will display 4 on the page. I
now find I can do everything I need to do with the regular struts tags
and jstl. This
What about *.spankMe ? (Think I might have lost that client)
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Dakota Jack [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday,
Configuration:
Tomcat 5.0.24
IIS 5.0
JK2 connector
Isapi_redirector2.dll
Struts 1.1
Commons file upload 1.0
I seem to have an issue that when the file is a certain size it is
written to a temp file on the file system before it is parsed by the
multipart parser (at least that's what the
When user clicks the content layout, menu layout keeps unchanged.
Therefore I do not add an action entry in struts-config.xml
After adding controllerClass in tiles-defs.xml, no errors display and
menu layout on the left does not display testing value as I want.
It seems that the controllerClass
Kinda depends on who the client is. Some of those websites that trade in pictures with
plenty of pink in them, might find that a fun little extra. 8-)
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 10:21 AM
To: Struts Users Mailing
The only normal situation where every method in the lifecycle would
get called twice is if you are doing action chaining -- the returned
ActionForward from one Action.execute() call points at a path that is
another Action, rather than being a JSP page or something in your view
tier. In such a
At 9:55 AM -0700 10/28/04, Craig McClanahan wrote:
The only normal situation where every method in the lifecycle would
get called twice is if you are doing action chaining -- the returned
ActionForward from one Action.execute() call points at a path that is
another Action, rather than being a JSP
If you want to bend some minds, map the controller to *.html instead
(only works if you don't have any static html pages, of course). Then
be prepared to smile while you answer the inevitable how'd you do
that question :-).
Craig
On Thu, 28 Oct 2004 11:21:16 -0400, James Mitchell [EMAIL
John...
You most certainly can. I used to do it by putting a redirect in that
index.jsp file to forward to a mapping configured in a
struts-config.xml file. This could be done with a scriptlet using the
response object or by using a customer tag. There are a bunch of tag
libraries with redirect
Here's how I did it:
In your index.jsp, you have only one line:
jsp:forward page=home.do /
And then the home.do (or whatever Struts action) loads the content that
was previously in your 1st page. In other words, the page attribute
above points to your Tiles-enabled page.
-Original
Upon reviewing some struts code and documentation, the memory threshold
for a file to be parsed for upload is 256K (configurable). If the file
is over that size, I believe the uploader puts it in a temp file.
However, since the url to retrieve it for parsing is a relative path,
the parser
Thanks. I do remember that using the EL didn't work without the
struts-el tags, but my web.xml is from 2.3 (portability is a concern for
now), so that must be it. I'll give this a try.
Erik
Janelle Smith wrote:
I'm using Tomcat 5.0.28 and I find I no longer need to use the
struts-el tags
--- t t [EMAIL PROTECTED] wrote:
Hi, all,
I am using javaservlethosting.com to host my
website. Currently, I use something like this
%@ taglib uri=http://java.sun.com/jsp/jstl/core;
prefix=c %
to declare JSP tag libraries. But their tomcat
server complains. It sounds weird if I
Just in case someone else runs into this, the tomcat workDir and the
struts-config tempDir property values MUST match. Otherwise, files
greater than the threshold size (default 256K) won't be found for
parsing.
-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent:
I have a page in which I would like to display a list of information before validation
goes off and verifies the form contents, other wise the list will never get populated
and the page looks awkward. So is there a way to dictate that a validation is
triggered only at the time the form is
You can turn off declaritve validation. Then put the validation in your
Action.execute and do whatever you want:
ActionMessages am = form.validate( mapping, request );
if( am.size() != 0 ){
-Ben
Quoting Tate Austin [EMAIL PROTECTED]:
I have a page in which I would like to
Hi,
I have build my web UI using Tiles. Each part of the rootLayout.jsp, let say,
lhsMenu.jsp, body.jsp, could contain html:form, general scripts, etc The
resulting page is intended to be populated when opened at the first time.
Putting a form tag on each part of the layout could
You Don't need no stinkin' redirect! Just pull your tile into your JSP
for display, no redirects or external browser actions required. I skimmed
through my old posts and think this is the code you're looking for:
%@ taglib uri=/WEB-INF/tiles.tld prefix=tiles %
tiles:insert
Rajesh,
I had no problem using that exact EL line in my code. I've tried it using
different GET URLS with both:
?Title=The+Matrix
?Title=The%20Matrix
Both came up 'The Matrix' in the appropriate places. Are you mixing that
value in some tag or something other than simply inserting it as plain
Marco,
You are incorrect in saying Hibernate needs one hbm.xml file per class. You
can put all of your class definitions and named queries in one
SOMETHING.hbml.xml file. This is in the documentation, see the cats and
dogs example, section 5.1.2. I do it myself. You would just need one XML
Hi Joe,
The arg0, arg1, etc. tags are supposed to simply be deprecated and should
still work. If they are not working with Struts 1.2 for your application,
you will have to move to the new arg position=0 style of doing things.
I am working on updating Struts Console to support this new style and
They had quit working in the examples.
I would hope they had only been deprecated, but even that bug implied it had not been
since the struts validator examples had to be modified to work again.
I'll take another look. I was very surprised I was the only one this bothered.
Tx again. Struts
LOL This is good. That will be tucked away for the appropriate time. Nice!
On Thu, 28 Oct 2004 10:26:37 -0700, Craig McClanahan [EMAIL PROTECTED] wrote:
If you want to bend some minds, map the controller to *.html instead
(only works if you don't have any static html pages, of course).
49 matches
Mail list logo