GeeCON Prague 2014*
The moose likes Struts and the fly likes Plain HTML Tags with struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Plain HTML Tags with struts 2" Watch "Plain HTML Tags with struts 2" New topic
Author

Plain HTML Tags with struts 2

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 757
Hi,

I have plain .html file which does not contain any of the struts UI tags like <s:form ... etc.

how do i use it with struts 2 ?

>


Jigar Naik


Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9303
    
  17

Jigar you can use it just like you use a normal JSP page with struts tag. You will have to reference it as a result in your struts.xml. One thing that you have to do is, that you have to use full action names like myaction.action or myaction.do to refer to your actions...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 757
yup... it's working.. thanks a lot ankit...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Plain HTML Tags with struts 2