aspose file tools
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

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
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: 613
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: 5347

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]
It is sorta covered in the JavaRanch Style Guide.
subject: jsp and action class