File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes jsp and action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "jsp and action class" Watch "jsp and action class" New topic

jsp and action class

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 614
HEllo all
I have a JSP page and the action class and action form related to it.But there is no action involved.I mean when the jsp is displayed it should call the action class method to do some DB query and based on the result should display some message. At the same time the JSp should refresh after 2 seconds.

is it possible to call the action class method from th JSP?

and if possible how to do that?

thanks, Trupti
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

Did any of the suggestions in this thread make sense? If not, you can follow up there. No point in trying to rephrase the question in new threads and start the whole "Ok, what exactly do you want to achieve" question-answer cycle all over again.

Junilu - [How to Ask Questions] [How to Answer Questions]
I agree. Here's the link:
subject: jsp and action class
It's not a secret anymore!