Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Regarding html:link

Reply
Thread Tools

Regarding html:link

 
 
ajay.ravichandran@gmail.com
Guest
Posts: n/a
 
      02-06-2005
Hi

I am new to struts and am facing a unique problem. I have a jsp page
and am implementing pagination using pager tag libs...when i click on a
page hyperlink i need to reload the same page again...but i cannot call
the jsp page directly, instead i need to send the same set of
parameters back to the action class and thus invoking the jsp page
again....one problem i am facing is that i am not able to set the
ActionForm object in the html:link tag, i am using the getAction method
to identify the paging functionality in the Action class....so ineed to
set the name of the ActionForm in my jsp page, anyt idea of how to do
this....or is there an alternative eay to implement the same
functionality

any help wuld be greatly appreciated

thanks

ajay

 
Reply With Quote
 
 
 
 
Ryan Stewart
Guest
Posts: n/a
 
      02-07-2005
<> wrote in message
news: ups.com...
> Hi
>
> I am new to struts and am facing a unique problem. I have a jsp page
> and am implementing pagination using pager tag libs...when i click on a
> page hyperlink i need to reload the same page again...but i cannot call
> the jsp page directly, instead i need to send the same set of
> parameters back to the action class and thus invoking the jsp page
> again....one problem i am facing is that i am not able to set the
> ActionForm object in the html:link tag, i am using the getAction method
> to identify the paging functionality in the Action class....so ineed to
> set the name of the ActionForm in my jsp page, anyt idea of how to do
> this....or is there an alternative eay to implement the same
> functionality
>

You're going to give some more details. I'm not sure what you're saying/asking.
What getAction method are you talking about? The one in the html link tag's
class? How are you getting that in an Action? As for displaying the same JSP
with a different set of data, you should just need to submit back to the same
Action that forwarded to your JSP in the first place. What exactly is your
problem?


 
Reply With Quote
 
 
 
 
Wendy S
Guest
Posts: n/a
 
      02-07-2005
From: <>

> when i click on a page hyperlink i need to reload the same page again.
> but i cannot call the jsp page directly,
> instead i need to send the same set of parameters back to the
> action class and thus invoking the jsp page


Do you want to submit the form with a hyperlink instead of the usual
'submit' button in the form?

--
Wendy


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question regarding viewing .asf files on my IP Lee Firefox 0 09-27-2005 03:36 PM
Regarding installation of Mozilla over Firebird and Thunderbird Delete Firefox 1 02-15-2005 08:29 PM
Question regarding newsgroups on Thunderbird Delete Firefox 5 02-12-2005 07:08 PM
Question Regarding Updating Firefox samx@north.net Firefox 2 07-09-2004 05:42 PM
help regarding msn and hotmail in mail vc Firefox 6 04-03-2004 08:22 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57