hi!
i have a value in request scope that i would like to pass on to an action,
called when you submit a form on the page,
i accessed the value on the page as
%
String tableName = request.getParameter(tableName);
%
and correctly retrieved the value.
in my form then i initialized a hidden property
hi!
i need to allow a user to enter data into a database through a form. However
i dont know beforehand what the table structure will be. Looking around, the
solution seems to be to use map backed forms.
What i would like to know is how do you perform error checking, bounds
checking etc in
hi!
i am getting an error when i submit a form.
briefly i have a tree stucture that gets displayed, along with checkboxes to
select a particular node. the tree structure is of the type:
class TreeStructure{ private ArrayList children;} //the ArrayList children
contains objects of type
not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
ajay brar [EMAIL PROTECTED
hi!
A pity a student like me doesn't qualify for a beta version of Flex.
I believe DHTML currently provides a really good way of managing those fancy
HTML interfaces.
cheers
Ajay
From: Brice Ruth [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing
hi!
i was going to take this opportunity to point out how CIO's are generally
big duds, esp the CIO in Accenture, who is an even greater dud going by what
little contact i have had with Accenture staff.
why? well there was this project i did as part of uni which used Struts and
the accenture
hi!
you could have an exponential backoff period, where rather than blocking a
person (there's a genuine chance you forgot the password and are trying five
combinations or so) you disable the account for a period of time which is
proportional to the number of tries the user has made.
An
hi!
i have a page that shows user operations. Each user operation is represented
as a userbean that includes info about the user and a Tree structure for
functions that the user can make.
the structure is eg:
manage database
agency table
add
edit
hi!
i am using the following code to display a tree structure
nested:root name=newUser
nested:nest property=functions
jsp:include page=treenode.jsp /
/nested:nest
/nested:root
treenode.jsp goes as
nested:root
nested:write property=nodeName/
hi!
i'm doing nested statements for the first time so please tell me where i am
wrong.
can i write
bean:write name=newUser property=name/
as
nested:root name=newUser
nested:write property=name/
/nested:root
would they give the same output? i'd think yes but my results dont seem to
hi!
i had the same problem with my tomcat, and this happened only on my online
account and not on my home pc. The app worked fine earlier and then suddenly
stopped working for all the .do actions.
And then again sometimes it would work fine.
However i could never find the problem.
so post up
hi!
I have a situation where a user is allowed to create tables in a database
and then specify what fields there will be.
He should then be able to access the database from the web interface and
add/edit/delete entries.
so far i have been using ActionForms to represent a single record and knew
hi!
What i am trying to do is allow a user to create a personalized web
interface.
he should as such be able to select layouts, choose what goes where, colours
etc and in the end it should generate a html page for him.
my questions are:
1 is it possible for me to generate a jsp page using
hi!
thanks for the reply James.
i should probably clarify myself. This thing i am building is like a webpage
builder, you choose everything and the person should then get a resulting
html file, which he should be able to download.
so how do you convert the jsp (resulting from the choices he
hello
i just got a problem implementing JDBC realms
i have setup a mysql database with tables:
roles, users, user_roles with all feilds specified
i have populated the database with user role mappings
but now i cant log into tomcat manager:
from looking around i found out that i had to add the
hi!
i have a code segment that displays a form. part of the form consists of a
selection from a bunch of plans that can be selected through a radio button
tag
here's how it goes
html:form action=/saveServiceAccount
..
logic:iterate name=serviceTypes id=serviceType
tr
tdhtml:radio
hi!
i have a collection that i would like to iterate over and print the contents
out
i am currently doing this as
logic:iterate name=ResVector id=transactionBean
here ResVector is a collection that has been placed in session.
it is a collection of transaction beans.
i want to iterate over
/
..
bean:write name=transactionBean property=propertyN /
/logic:present
/logic:iterate
HTH
jeremy
-Original Message-
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 11:19 AM
To: [EMAIL PROTECTED]
Subject: collection iterate
hi!
i have a collection that i
hi!
can someone tell me whats wrong with this?
I am placing a vector of TransactionBean in session as
session.setAttribute(resVector, resVector);
i then place an empty TransactionBean in session scope as well
TransactionBean tb = new TransactionBean();
session.setAttribute(transactionBean, tb);
in
Instead of Vector try using the ArrayList.
-Original Message-
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: 29 October 2003 13:25
To: [EMAIL PROTECTED]
Subject: iterate over a collection
hi!
can someone tell me whats wrong with this?
I am placing a vector of TransactionBean in session
hi!
i have to redirect the user from within my action class to an external site.
i'm currently doing sendRedirect()
is this better, worse or the same as doing setHeader(Location, some
url)
thanks
cheers
Ajay
_
Hot chart ringtones
hi!
is it possible for me to redirect users to an external site from inside an
action class.
ie, say a user clicks /foo, this calls FooAction which does some intial
processing. I now want to redirect the user to some other site. how can i do
that?
do i write the link out into the response
hi!
i have the following scenario.
server0 - has a jsp page, that allows user to enter the goods they want
etc, say foo.jsp
server1-jsp payment page, say bar.jsp and action class CommAction
on clicking done on foo.jsp, this should establish a connection with
CommAction class on server1, perform
have the first figured out, how do i implement the second?
please help. If you have an alternative way of doing it, tell me.
any ideas, thoughts would be very much helpful
cheers
Ajay
From: ajay brar [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED
look what other people might
say.
ur security depends on how u call ur remote class
-Original Message-
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: 22 October 2003 16:12
To: [EMAIL PROTECTED]
Subject: Re: design question
hi all!
would anyone in the spirit of diwali like to help me
hi!
this may sound really basic, but how do i deploy a war file(with a STRUTS
application) in Jboss.
this war will interact with an ejb jar file. Do i need to put the war and
the jar together in an ear file, or do i just put the war file by itself
somewhere.
please help (i have this thig due
expressly permitting the use of
e-mail for such purpose.
ajay brar [EMAIL PROTECTED]
21/10/2003 02:15 PM
Please respond to Struts Users Mailing List
To: [EMAIL PROTECTED]
cc:
Subject
hi!
i need to implement the following security features in my security
application.
authentication
which is better - have a login page and keep some sort of bean in
session on successful login
and check for the ban in every action(and have
no direct links)
hi!
i am getting the following error, when i try to deploy my application
Element type null must be followed by either attribute specification or
/
could anyone help please.
my web.xml looks like this
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD
2003 20:26:52 -0400
my web-app has a id e.g.
web-app id=WebApp
Also is it wise to call servlet action
I thought action was a reserved name?
-M
- Original Message -
From: ajay brar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 20, 2003 8:18 PM
Subject: element type null
hi!
i
it anywhere
any help would be immensely great
cheers
ajay
From: ajay brar [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: element type null
Date: Tue, 21 Oct 2003 14:15:33 +1000
hi!
tried that but didn't work
i dont know about the reserved word
hi!
i'm getting a problem with my html:options
what i have is a MyUtils class with a method to retrieve a list of agency
id's from the database
class MyUtils
{
//gets agencyIds creates LabelValueBeans and chucks them into a Vector
public static Vector getAgencyIds()
}
in my jsp page i had
hi!
I think your collection needs to implement the List interface (use an
ArrayList instead of a vector)
but a vector implements the List interface, or so says the api
any other ideas
-Original Message-
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: 14 October 2003 12:45
To: [EMAIL
this tag:
%
request.setAttribute(items, agencyIds);
%
html:select property=agencyId
html:options collection=agencyIds
label=label
value=value /
/html:select
Nico.
- Original Message -
From: ajay brar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday
hi!
i have the following scenario
in my database i have an Agency table(which includes the attribute
AGENCY_ID) and a Client tables(which includes a AGENCY_ID that maps to the
id in the Agency table)
agencies are created first through a web interface.
after that you create Clients. what i want
you want.
-jeff
On Sunday, October 12, 2003, at 09:33 AM, ajay brar wrote:
hi!
i have the following scenario
in my database i have an Agency table(which includes the attribute
AGENCY_ID) and a Client tables(which includes a AGENCY_ID that maps to the
id in the Agency table)
agencies are created
.
-- Michael D. Norman
ProbuSoft - Custom Software Development
http://www.probusoft.com/
913-390-6951
[EMAIL PROTECTED]
- Original Message -
From: ajay brar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 11:33 PM
Subject: action class for more than one
get the error of Struts looking for the null
action form.
Use a regular HTML form tag to evade that issue, or define the stuff for
your /kiosk action.
-Max
- Original Message -
From: ajay brar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 9:30 PM
Subject: Cannot
-Original Message-
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 9:51 PM
To: [EMAIL PROTECTED]
Subject: ejb's and tomcat
Hi!
does tomcat support ejb's. I'm building a web app which uses struts. i'm
using ejb's for the model part.
can i deploy the ejb component on tomcat
hi!
can i have an Action class for more than one action mapping.
that is can i do
action-mappings
actionpath=/menu
type=MenuAction
scope=request
forward name=success path=/tour.htm /
/action
actionpath=/tour
Hi!
does tomcat support ejb's. I'm building a web app which uses struts. i'm
using ejb's for the model part.
can i deploy the ejb component on tomcat?
what other alternate ways are there to do so?
thanks
cheers
ajay
_
ninemsn
hi!
i had heard that a form bean for a form was optional, not sure why i am
getting this error here.
i have a button on a page and it goes like
html:form action=/kiosk browse kiosks html:submit
value=Submit//html:form
in my struts-config.xml i have defined the following action mapping
action
hi!
ihave a link as
html:link page=/blah.jsp blah /html:link
this adds a dynamic string to the link and so you have something like
blah.jsp;jsessionid=fjwdjkfh342lkjl3kj4
however on my webserver, this gives me a 300 Multiple Choices error.
ie i get an error like
Multiple Choices
The document name
hi!
i'm getting a HTTP 300 Multiple choices response when i try to run my
application.
I have had this problem for a while now, and it comes when i have a link
like
html:link page=/agency.doagency/html:link
i then get an error, that agency.do does not exist or if there is an
agency.jsp i get
hi!
i am a new struts user.
i am having the following problem
when i click on a link that is supposed to perform an action and either
return an error or success, it says fileTransfer.do not found
here is my link
html:link page=/fileTransfer.do?action=getStatistics/html:link
my struts-config.xml
45 matches
Mail list logo