hi all..
Well i have method in my bean some thing like getValue(String columnName). This
returns the value of the particular column. so how i can i access this method in my
jsp using or .
i tried some thing like this . But this does not work me. I know we can pass index,
but is there a w
Hi, thanks for replying...
1) I'm not using the actionform capabilities of
struts. I generally just create my own actionform by
getting the necessary data out of the request object
(long story). So, in other words, in my struts
config, there's no actionform associated with the
action.
2) Yes,
The jndi stuff should be okay, certainly a better option than the
struts datasource.
Sorry if this sounds like I'm taking the piss but I assume you read
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-
examples-
howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
Good evening...
I was afraid you were going to say that. I was so happy to see data-sources
in Struts 'cuz I've been having so much trouble with JNDI in Tomcat.
Other than the Tomcat docs, did you find any other reference that was really
worthwhile? Guess I'm headed back to Google and the archi
Due to a mistake on my part the updated bundle may not have been
deployed to the webserver. Sorry about that, but that's what I get
for trying to get a bundle out the door when I'm dead tired. This
has been fixed and the actual release can be found at:
http://www.systemmobile.com/code/xdoclet-ap
Title: RedirectingActionForward oddness with IE6?
Hi,
I'm seeing some oddities w/ the behavior of Internet Explorer 6 (IE6) with regards to the struts RedirectingActionForward. I don't see the same problem in Mozilla (Firebird) or Netscape 7.1. I'm querying to see if anyone has come across t
Hi Carl,
many thanks, I also put these lines in my header.jsp, it seems to work. How
Hans wrote, I also made the experience, that the pragma-Tag doesn't work
with my proxy. But the Cache-Control seems to be the right way.
Thanks.
Regards,
Christine
-Ursprüngliche Nachricht-
Von: Carl [mai
Terry,
1. Does your actionform receive data?
2. Did you set the enctype on your form appropriately for
multipart/form-data ?
Regards,
David
-Original Message-
From: Terry Brick [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 1:08 PM
To: [EMAIL PROTECTED]
Subject: getParamete
Your login.jsp seems to be missing the form and fields. Do you have your
in it so you get the validation code?
Does your login page form also set the ?
Regards,
David
-Original Message-
From: M.Schipperheyn [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 1:31 PM
To: [EMAIL P
Hi,
I'm a newbie and I can't get validation to work using Dynabeans and
validation. Any help's appreciated. All the stuff I find on-line just
doesn't seem to cut it.
I'm getting no errors. When I post an empty username or password, no errors
are shown on the page. Input doesn't seem to get validat
You'll hear a lot of shit talked about tiles.
This article explains the lot
http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html
I use the Tiles inheritance solution. Saves all those jsp's with
forwards and redirects. The secret is that you always need to us an
action
wont
Hello,
When I submit a multipart form to my action I am
unable to get use getParameter() on the request object
to get my form field values. As I understand it
struts is supposed to automatically create a
MultipartRequestWrapper which allows you to do this
for multipart requests...
I've seen some
Thanks David
I've been going through that and the xdoclet user archive Part of the
problem is that xdoclet/ant are reporting everything as being okay, but
if the files aren't being generated then I guess its just lies.. I've
been using webdoclet okay, just the hibernate stuff is proving elusive
Mark,
There are plenty of Hibernate and Xdoclet questions
on the hibernate forum:
http://forum.hibernate.org
Regards,
David
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 9:32 AM
To: Struts Users Mailing List
Subject: Re: [OT] xdoclet + hib
Upon changing from logic:forward to
I'm getting the same error message.
javax.servlet.jsp.JspException: Error - tag useAttribute : attribute 'title' not found
in context. Check tag syntax
Please excuse my seeming a little thick about this. If I want the first form in my
applicatio
Samanth Athrey wrote:
Hello,
Am using struts1.1, tomcat 4.1.27. During development there was no
problem. But when the same was deployed on th production server, not a
single page was displayed correctly. Struts code is displayed as it is.
When I click on a link, the .do page it says cannot be displ
Thanks Matt
I found the xdoclet list just after I posted this question. Hopefully
the list is as good as this one.
I've been through the xpetstore demo.. The hibernate tags are along the
same lines as mine and there's nothing obviously wrong with my build
file.
How does xdoclet fail? If I've
I think you found a genuine bug as
tag handler class org.apache.struts.taglib.bean.DefineTag does not implement
BodyTag while viewing the source
I would foward this bug to [EMAIL PROTECTED]
Keep me apprised,
-Martin
- Original Message -
From: "Rajasekaran, Iyanu (I.)" <[EMAIL PROTECTED]>
T
If you want examples of combining the two, as well as
using xdoclet with a bunch of other things:
JSP, Struts, Sitemesh, EJB 2.0 and CMP 2.0, Velocity, WebWork,
Sitemesh, POJO and Hibernate.
then check out http://xpetstore.sourceforge.net/
matt
-Original Message-
From: Mark Lowe [mai
I'm not sure how you've got things arranged but sounds like you could
do with having you team objects having a getMembers() method. If you
don't have this in you model then I guess its going to smart somewhat.
List teamList = someModelStuff.getTeams();
request.setAttribute("teams", teamList.toA
Does anyone here uss strutstest? I want to know if the strutstest can
let me instantialize an actionform and set some of its properties before
put it into a processing of an action.
If possible, please show me a code snip, thanks!
--
Steven Woody
[EMAIL PROTECTED]
--
Sorry to post this group with an almost unrelated question, but I'm
sure someone on this list must be using xdoclet to generate hibernate
resources.
I wont take the piss and post the problem on this list but I would
appreciate it if anyone who's been using hibernatedoclet could drop me
a mail.
Hi all --
I'm trying to move to struts 1.1 multiple application modules &
am getting a very frustrating error that I can't seem to move around. I've
searched the archives & haven't found a solution. Bummer!
When I try to access a very simple JSP (/author/login.jsp) with
a html:form, Struts
Hi All,
For a Websphere 4.0.3 based application , I try to migrate to Struts 1.1 (officially
supported at Ford) and have got the following INFOs when the server gets started,
[INFO] PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
[INF
Hi,
I am having problem in displaying in struts. Can you help me out.
I want to display like
vendor ABC (checkbox)
|---Dc1, Dc2, DC3 (each dc one checkbox)
vendor DCF
|---DC3,DC7,DC9
...
...
..
I have hastable in my action class with cont
Hi,
it was really a gr8 reference for my problem ... but i am not sure whether
my Team will allow new libs to be added to the current version ...
still i will try n find out some other ( CRUDE SOLUTION .. ) for this
grouping. . but in new projects i think we will consider these libraries as
they w
This sounds like a job for ... the DisplayTag Taglib.
See this example page:
http://www.displaytag.org/example-grouping.jsp
Your formbean looks pretty simple:
(Should I ask why your properties start with a capital letter?)
myteam.teamName
myteam.Firstname
myteam.Midinitial
myteam.Lastname
If so
As i told u earlier ..
In MyTeamRowBean i have
TeamNameFirstName MiddleName LastName
In MyTeamFormBean i have an arraylist which contains MyTeamRowBean
Now in the jsp i have to show them according to a group that is
Team Name 1
Firstname1 1 Midinitial1 1 Lastname 1
We're missing key details
1. Go to the Tomcat manager (often http://hostname:8080/manager/html/list)
application and make sure it is listed. If it isn't shown, you haven't
deployed it correctly. Stop/restart Tomcat. If it is still not shown, check
that you either deployed it directly into To
Your doing a bean:write of the team name inside of your iterate, so
yeah, the team name is going to show up on every iteration.
What approaches have you tried already? Which is the part your not
getting?
> -Original Message-
> From: Shakti [mailto:[EMAIL PROTECTED]
> Sent: Saturday, No
> Hi,
> "MyTeamFormBean "contains an arraylist "allTeams" having MyTeamRowBean
> with attributes :
> String teamName, first, middle & last
>
>
>
>
>
>
>
>
> property="Firstname"/> property="Midinitial"/>
>
>
No. There are no messages in the logs directory. It just displays a
message "The page cannot be found" whenever a link is clicked. This is
the standard page that IE throws when a page cannot be found.
Regards
Sam
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Sat
What is the .do page error, exactly? Are there
any error messages in the Tomcat /logs directory?
Regards,
David
-Original Message-
From: Samanth Athrey [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 3:50 AM
To: [EMAIL PROTECTED]
Subject: Problem in deploying struts app in pr
Hello,
Am using struts1.1, tomcat 4.1.27. During development there was no
problem. But when the same was deployed on th production server, not a
single page was displayed correctly. Struts code is displayed as it is.
When I click on a link, the .do page it says cannot be displayed.
All the jar fil
Anyone see anything wrong with this validation.xml snippet?
I have 3 fields on my login page. User Id, Email Address and PW. I want
to allow the user to enter *either* his email address or user id. (okay,
I'm not stopping him from entering both yet.
It seems my attempt to say "this field is requi
Hi,
"MyTeamFormBean "contains an arraylist "allTeams" having MyTeamRowBean
with attributes :
String teamName, first, middle & last
Which produces something like this
Team Name 1
Firstname1 1 M
36 matches
Mail list logo