File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Usage of Tomahawk SourceCodeServlet

 
Shasi Mitra
Ranch Hand
Posts: 101
Flex Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Can anyone tell me why do we use org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet? Is it mandatory?
 
Rahul Santha
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know.

But it is not a mandatory, unless you are trying to use the tomahawk library.
 
Shasi Mitra
Ranch Hand
Posts: 101
Flex Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using many of the tomahawk's compnonents..i read somewhere that we have to configure the source code servlet..but m not sure why..can anyone tell me..
 
Pari Gandhi
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The SourceCodeServlet is used to serve the source code (jsp) as a html page.


For Example : http://www.irian.at/myfacesexamples/masterDetail.jsp.source

This is what the servlet does:- (Nothing fancy)

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic