Geeth Narayanan wrote:
I believe it is a compile time error than a runtime one. So, I don't
have a stack trace.
Ok then... How does the JSP look like then? Perhaps it is possible to
see from that.
As far as I read the error it is because a JSP tag has been used
combined with a Struts HTML tag
Why are you using action inside global-forward. Use a forward element.
You can reference it from action like
mapping.findForward("toLogin");
rgds
Antony Paul
On Wed, 3 Nov 2004 10:27:49 +0530, sachin <[EMAIL PROTECTED]> wrote:
> hi all,
>
> i have a global forward defined as
>
>
>
>
>
> n
hi all,
i have a global forward defined as
now in my Action class i want to forward this to global forward "toLogin"
if the session is not valid ..
how can achieve this ?
this is going to be common for all Action classes , so i can not mapp them in
each action-mapping defination ..
Is JSTL an option? I find Struts Logic tag hard to read! If so, I
think this should do:
HTH. Of course this is from top of my head, i haven't tried it.
ATTA
On Tue, 02 Nov 2004 16:16:25 -0800, Janice <[EMAIL PROTECTED]> wrote:
> My brain has stopped working. I need an alternative
My brain has stopped working. I need an alternative to bean:define.
What I'm TRYING to do is iterate through a list, displaying a certain bit of
code only when its different than the last iteration (grouping).
Here's a snip:
Howard,
take a look at McClannahan's blog entry here:
http://blogs.sun.com/roller/comments/craigmcc/Weblog/struts_or_jsf_struts_and
You also might be interested in this article:
http://svn.apache.org/viewcvs.cgi/*checkout*/struts/trunk/contrib/struts-shale/README.html
He hints at the future of
You need to remember where, in a sense, you are, Howard. A lot of
people, obviously, have invested a lot of time and energy into Struts
based applications. With the advent or potential of JSF, so need to
start to think about moving over. So, the merger of the two
technologies here are not for pe
Perhaps this link to Craig's blog will help clarify things:
http://blogs.sun.com/roller/page/craigmcc/20040927#struts_or_jsf_struts_and
Matt
Abrams, Howard A wrote:
Thanks again Kevin, but the bullet points from the article don't state
why I would want to use Struts w/ JSF. With the exception of t
Thanks Michael,
That helped a little. Perhaps someone who knows JSF and Struts well
(Craig?) could comment on how the Struts controller is better than
using JSF by itself. (Which leads us back to my original questions
at the bottom of this thread.)
I'm not sure I would mix Struts and JSF either;
Thanks again Kevin, but the bullet points from the article don't state
why I would want to use Struts w/ JSF. With the exception of the quote
about the controller being 'powerful', they just list why JSF is good.
I know why JSF is good, why is Struts plus JSF better?
> -Original Message-
Hello,
I've seen a few posts on this subject, through this and other resources,
but I haven't seen any appealing workarounds. I'd like to try to bring
all the relevant information from these posts together and then ask for
help in identifying a viable workaround. I apologize in advance if thi
Yes, I get the overall architecture of how to do it now. I'm somewhat
new to 'beans' and haven't used a collection before but I have more to
research now while I try to figure it out.
Thank you all for your responses!
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent
Have the business logic (where ever it may reside) return a collection
of JavaBean. You can simply place the collection in some scope (request, session,
etc..)
and render it on the JSP page using JSTL (for-each) or Struts iterate tag.
You basically define an action mapping which will be invoked b
From: dbm_mailinglist [mailto:[EMAIL PROTECTED]
Subject: RE: Struts and Displaying data from a database
> I guess that's where I get lost. What does the bean return so
> that it can display multiple rows in the JSTL/JSP? I guess
> the type of the 'getter' would be some type that allowed you
>
I guess that's where I get lost. What does the bean return so that it
can display multiple rows in the JSTL/JSP? I guess the type of the
'getter' would be some type that allowed you to loop through the
dataan array maybe?
Do you know if there are any examples on the web? I'm trying to stick to
Abrams, Howard A wrote:
_WHY_ I would want to
integrate the two.
I do not see the point of using too many technologies, it gets
exponentialy harder.
So pick one, but... are there any production JSF sites out there?
.V
-
To unsu
>From the article:
Why integrate the trinity?
As the JSP and the related specifications mature, new standards like
JSF and the JSP Standard Tag Library (or JSTL, which uses simple tags
to encapsulate the core functionality common to many JSP applications)
are emerging. Following are some of the ad
1. http://www.w3.org/TR/REC-html40/struct/tables.html
2. http://www.displaytag.org/index.jsp
"dbm_mailinglist"
<[EMAIL PROTECTED]>
11/02/2004 01:56 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
<[EMAIL PROTECTED]>
cc
Subject
Struts and Displaying data
I think that the article meant "Struts powerful controller
ARCHITECTURE [emphasis added]", Howard. There are Actions,
ActionForms, ActionMappings, ActionServlet, ActionMessages,
RequestProcessor, and other less significant classes.. All these are
integrated into a very useful and very powerful "c
I had this question the other day and was referred to Hibernate
(http://www.hibernate.org) by David Friedman. The other name that
cam up was ibatis. I chose hibernate and used this tutorial to help
figure it out:
http://homepage.mac.com/edahand/projects/java/example1.html
On Tue, 2 Nov 2004 1
> I'm a complete newbie to Struts. I know how to use Struts to
> build forms and submit them, but how do I just display data
> from a database? I want a screen that just displays data from
> a sql command to a database and displays the results in a
> html table. Do I use ActionForm even though
> -Original Message-
> From: Kevin Bridges [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 02, 2004 10:40 AM
> To: Struts Users Mailing List
> Subject: Re: JSF or Struts w/ JSF (again)
>
> I found this article to be useful in addressing some of your
questions:
> http://www-106.ibm.com
Hello,
I'm a complete newbie to Struts. I know how to use Struts to build forms
and submit them, but how do I just display data from a database? I want
a screen that just displays data from a sql command to a database and
displays the results in a html table. Do I use ActionForm even though I
don'
I found this article to be useful in addressing some of your questions:
http://www-106.ibm.com/developerworks/java/library/j-integrate/
On Tue, 2 Nov 2004 13:22:15 -0500, Abrams, Howard A
<[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> For a new project, I'm planning on using JSF. The questions I
Hi everyone,
For a new project, I'm planning on using JSF. The questions I need to
answer are:
What will Struts add if I use it together with JSF? Does it add missing
functionality? Is there a good design pattern that JSF alone does not
enforce? Are there common problems that are easier to solve
I've accomplished complex functionality like that in the past with
javascript, dhtml and a hidden frame. The user would interact with a
specific area of the page and submit data. The javascript functions
would sit on a global window level and serialize the data into xml
packets that were passed t
:) thanks for pointing that out.. that was a dumb mistake I made while
typing in my question. They are public in the actual class.
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 10:39 AM
To: Struts Users Mailing List
Subject: RE: Nested Pr
Your accessors on the Form class are private. Make them public.
> -Original Message-
> From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 01, 2004 9:26 AM
> To: 'Struts Users Mailing List'
> Subject: Nested Properties in ActionForms
>
>
> Hi All,
>
>
From: "Joe Hertz" <[EMAIL PROTECTED]>
> Don't suppose you've tried building the Validator on the HP-UX machine?
No... but it's Java, I shouldn't have to. Write once, run anywhere, right?
> I'd be curious if it worked packaged up if you did that.
That same exact .jar file *does* work as part of
Hi Guys
Thanks for Peng
I found that i was putting a servlet.jar library into my war WEB-INF/lib
directory, so that i cut it and it worked fine.
Thanks a lot!
On Tue, 2 Nov 2004 09:33:44 -0400, Ricardo Andres Quintero wrote
> Hi Guys:
> does anyone know why this error happens with tomcat 5?
> im
Hi,
I'm using Struts 1.1 with Tomcat (bundled with JBoss) and got the 500 error
page when
the "execute" method of an action class throws ClassNotFoundException. I
have defined
global exceptions, which I think should be used when a ServletException
happens and
directs me to the correct error pag
Ricardo,
It would be helpful to see what's on line 22 of inicio.jsp, as in
the jsp stuff you have written.
On Tue, 2 Nov 2004 09:33:44 -0400, Ricardo Andres Quintero
<[EMAIL PROTECTED]> wrote:
> Hi Guys:
> does anyone know why this error happens with tomcat 5?
> im deploying into JBoss
I believe it is a compile time error than a runtime one. So, I don't
have a stack trace.
-Original Message-
From: dmu2201 [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 2:38 AM
To: Struts Users Mailing List
Subject: Re: Struts Tags Error
Geeth Narayanan wrote:
>I am trying t
Hi Guys:
does anyone know why this error happens with tomcat 5?
im deploying into JBoss 3.2.5, and the problem is this:
Ha tenido lugar un error en la lĂnea: 22 en el archivo jsp: /web/jsp/inicio.jsp
Error de servlet generado:
/home/desarrollo/jboss-3.2.5/server/default/work/jboss.web/localhost/s
Hi
Look at http://www.javaranch.com/
--- andy wix <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Does anyone know of a mailing list similar to this
> one for html problems?
>
> cheers,
> Andy
>
>
_
> Want to block unwanted pop-ups? Download
Hi,
Does anyone know of a mailing list similar to this one for html problems?
cheers,
Andy
_
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/
--
Geeth Narayanan wrote:
I am trying to use Struts 1.2.4 on Tomcat 5.0. I seem to get errors for
any of the struts tags including the tiles tag due to incompatibility
with JSP2.0 or something, I guess.
Here is the error:
:\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\shop
\Input_
>I am new to Tiles. Is it possible to present a link in one tile and have
>it fire an action that updates another tile without having to reload the
>whole page? FAQ seems to not have a lot of tiles related stuff.
Tiles are not frames. With HTML frames, if you decide to reload only a
frame you can
38 matches
Mail list logo