p", LoginForm.getPassword());
response.addCookie(cookie);
cookie = new Cookie("g", LoginForm.getGroup());
response.addCookie(cookie);
return mapping.findForward(forward);
Any help would be appreciated,
bort
-
To un
I just realized that part of my post was cut out. Here is the post in its
entirety:
Hi all
I have a form that has a series of fields. When I submit the form, the
action retrieves information from a database, based on the information in
the form. The information retrieved is then shown the sam
Here is where I'm having a problem...
will update a hidden field in
the form, and submit the form to a different action.
If this is possible, how would I do it?
TIA
"bort" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I just realized that part of my po
ld look like this :
>
> linkClicked() {
> document.forms[0].myHiddenField.value = 'something';
> document.forms[0].action = '/differentAction.do';
> document.forms[0].submit();
> }
>
> You could pass the "something" value int
Hi
How would I go about submitting a struts form from outside of it? I've
tried using javascript's submit() function, but that doesn't seem to be
supported by the struts form.
Does anyone know how I could do this?
TIA
-
To
viour 2.
Does anyone know why?
TIA
bort
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
values from Form F. Thus, values are reset and populated)
>
> HTH
> Manish Singla
>
> bort wrote:
> > Hi all
> >
> > I have an application which exhibits two similar, yet distinct,
behaviours.
> >
> > Behaviour 1:
> >
> > Submit Form F to Action
d. In the case of a "failure", I
forward the user back to the same page. What I'd like to do now, however,
is to print out a customized message on this page, explaining what the
problem was.
I realize that this is a rather simple question...
my head so if the syntax is wrong opps... it
> should be close).
>
> Rick Hightower
> Developer
>
> Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm
>
> Struts/J2EE consulting --
> http://www.arc-mind.com/consulting.htm#StrutsMentoring
>
>
> -Or
g and iterating through it in the JSP. Is there a better
way to do this?
bort
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the web server
with RAM.
Back to my original question...
I guess I can just pull the Vector from the request object and iterate
through it then?
ex.
Vector myvector = (Vector)request.getParameter("vectorname");
TIA
bort
"Geeta Ramani" <[EMAIL PROTECTED]> wrote i
ad in question was more about nested beans and forms, i don't
> think anyone would suggest putting readonly stuff in the session.
>
>
>
> On 4 Mar 2004, at 17:14, bort wrote:
>
> >
> > A request parameter would probably be a better solution, you're right.
> &g
but memory usage is not the
only
> (or even main?) issue against using session variables.. It's more a
question of
> what makes sense. But you can just look up that thread for all the gory
> details..;)
>
> Regards,
> Geeta
>
> bort wrote:
>
> > A request
I feel like an idiot asking this, but...
within the tags how am I supposed to pull
out the objects I have stored in my Vector?
bort
"Mark Lowe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Vector myvector = ..
>
> request.setAt
; with a getter for the
> property called "myproperty".. Is there something in particular you are
having
> a problem with..?
>
> Geeta
>
> bort wrote:
>
> > I feel like an idiot asking this, but...
> >
> > within the tags how am I supposed to
pull
&g
know how to pick
up the file name. I was thinking of using JavaScript's location.href, but I
don't know how to access that value from java.
Anyone have any ideas for a solution?
tia
bort
-
To unsubscribe, e-mail: [
able();
ht.put ("key", a);
ht.put ("anotherkey", b);
request.setAttribute("attrkey", ht);
What I want to be able to do is iterate through this Hashtable (in the JSP),
pull out a Vector, and iterate through it. How would I do this?
tia
bort
---
ially, what I want is:
for each account number in ACCVEC {
display the account number
attempt to retrieve a value from the Hashtable for this account number
if there is a INVVEC {
for each invoice number in INNVEC {
create a select drop down box
}
}
}
18 matches
Mail list logo