Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Using struts-tags in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using struts-tags in jsp" Watch "Using struts-tags in jsp" New topic
Author

Using struts-tags in jsp

Ana Belen Morales
Greenhorn

Joined: Sep 16, 2008
Posts: 1
Hello!

I have the next problem, and I'm a little desperate :S

I have included a jsp with javascript in my source jsp:

<c:import url="/myJavascript.jsp" />

Code in myJavascript.jsp:

function addButton() {
myNode.innerHTML = '<s:submit value="Aceptar" method="myMethod" />';
}

But when the page is rendered, it looks like the server doesn't understand the tag.
There is any solution for doing something like that?

Any help will be appreciated!!
 
 
subject: Using struts-tags in jsp