top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to use JSP outside of tomcat

0 votes

I have a number of documents that are very template like and ideal for JSP that are
1) not intended for the web and
2) need to be automatically batch processed (the output stored in output files).

How do I call the JSP processor from them command line? (it takes tomcat too long to see updated files for the purpose I have in mind)

posted Jul 24, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

Use FreeMarker or Velocity for that. JSP was not designed for that.

answer Jul 24, 2013 by anonymous
Similar Questions
0 votes

I'm facing performance issue with my application which loads a very large number of different JSPs (ie 16 000). As the application loads the different JSP, the response time becomes longer and the CPU increases.

I have tried many configurations by modifying the maxLoadedJsp, PermgenSize, jspIdleTimeout parameters, but without having positive results.

I'd like to know if there are known limitations regarding the max number of JSP loaded in an application that could be used without facing performance issue ?

Configuration : Tomcat 7.0.52 with Oracle Java on Linux RHEL

0 votes

Upgrading from tomcat 6.0.35 to 6.0.36 causes a simple jsp page to require about 20 minutes to load.

We have two clients that are running in an IBM mainframe USS (Unix System Services) environment and when they upgraded from tomcat 6.0.35 to 6.0.36, the simple jsp page in our webapp takes up to 20 minutes to load into the web browser. We have other clients that are successfully running 6.0.36 in
the USS environment. So it is a somewhat isolated issue.

I looked over the 6.0.36 change log at,
but nothing jumped out at me as to which change may have caused the issue.

Since I am not a tomcat expert, I am asking for help on how to diagnose this issue.

Are there certain logging options that could be enabled?

+1 vote

I have a JSP with a layout. it means the JSP has menu on the left and header on the top. now for every action the center part of the JSP should change. Is this possible?

I mean for every different action a different JSP should be included in the center of the layout JSP. If this is possible it will be of so much help. kindly help? if possible is there a solution without tiles?