File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Using of 1.jsp method in 2.jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Using of 1.jsp method in 2.jsp" Watch "Using of 1.jsp method in 2.jsp" New topic
Author

Using of 1.jsp method in 2.jsp

pradeep jaladi
Ranch Hand

Joined: Nov 21, 2004
Posts: 65
Hi,

I had 2 jsp pages i one page their is x() method.

I need to include it in 2.jsp how




Pradeep.jaladi


Pradeep.Jaladi
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
see the classes for those jsps after compilation, then you will know.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

What does this x() method do? Would it be possible to pull the method out of the JSP page and into a bean or custom tag that both pages use?


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Or if you insist of having it in the JSP itself (shudder shudder), put it in a 3rd JSP which you include in the other 2.


42
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using of 1.jsp method in 2.jsp