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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 4419

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
Similar Threads
How to invoke a method in action class
How to call a method in action passing a parameter inside jsp with struts 1
json call to a struts action
JSP refresh calling action class method automatically
calling a action class method from JSP in struts