This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
You normally use RequestDispatcher#forward() for this.
But you say, you have raw Java code in a JSP file? Immediately move it out into a Java class like a servlet before it's too late. Scriptlets indicate in any way a design flaw and are thus a bad practice.
ActionMapping? Isn't it part of Struts? If so, then the trouble is bigger. Struts is already a MVC framework at its own. You should be doing this logic in a Struts action class or whatever it provides you to control and handle requests programmatically.
The excuse "doing in this way for now" makes no utter sense. You either don't understand Struts nor the MVC concepts at all or you have another problem which you didn't elaborate about at all and for which you think that this is the solution. I.e. you're asking how to achieve a workaround instead of asking how to solve an actual problem.