File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Servlet to Jsp Conversion tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet to Jsp Conversion tool" Watch "Servlet to Jsp Conversion tool" New topic

Servlet to Jsp Conversion tool

Prasad Subramanaian

Joined: Feb 22, 2001
Posts: 3
I was just wondering if there was any tool ( or a workaround using a tool ) for converting the code in a servlet to a JSP.
Any idea ?
Tony Alicea

Joined: Jan 30, 2000
Posts: 3222
The human brain?

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Prasad Subramanaian

Joined: Feb 22, 2001
Posts: 3
Seems to be a good option
Ranch Hand

Joined: Apr 18, 2001
Posts: 46
The one can be designed in PERL. In perl you can have very effective pattern matching using which you can prepare a program in a few lines to convert servlets in to jsp. But remember a lot of code debugging, alteration would have to be done once it has been made. I'll try to give you some code in servlets/PERL to act as conversion tool in my next posting.

Vikas Aggarwal
Technology Associate

Vikas Aggarwal<BR>Technology Associate<BR>
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Thank you for your helpful posts. Please re-register with your first and last names. I think you could use 'Vikas Aggarwal' itself. Thanks.
maha anna
I agree. Here's the link:
subject: Servlet to Jsp Conversion tool