Run JSP File In Linux Command Prompt?

 
More
 
More
 21st Jul 2007 10:49:46 AM

sram_2004  
 
 run JSP file in Linux Command Prompt?
 
hi,

I am having file in jsp. but, its take long time for run in browser. so i need to run jsp file in linux command prompt, Its possible to run JSP in linux command prompt?. If there is yes mean, plz tell how we can do that...

I am waiting for ur reply......

Thank in advance

Regards,
sram
 
More
 
  # 22nd Jul 2007 12:10:36 PM

RajeshSingh1979  
 
 
The jsp directly will not run on commnd prompt. But you can run the file by following steps:-
1. Convert the file to the servlet.
2. running it with servlet runner.

The problem with this approach you will see many HTML tags as output which is difficult to understand in the command prompt. you have to see the things in the browser. The compiled file will take less time to process so the speed is bit fast in this case.
regards
Rajesh Singh
 
More
 
  # 23rd Jul 2007 06:06:58 AM

RajeshSingh1979  
 
 
You can try with any server. Place file to the serer and call the file in the server's work (Tomcat) or deployable folder then check the equivalent servlet and take that file for the new linux
 
More
 23rd Jul 2007 07:05:40 AM

sram_2004  
 
 
hi,

Sorry, I cant understand. Plz give some samples about it.....

I am waiting for ur reply,

thanks in advance,

Regards,
sram
 
 
  # 23rd Jul 2007 11:54:34 PM

RajeshSingh1979  
 
 
You can compile the JSP with JSP Compiler which is Jasper in tomcat and in built. So first you have to deploy your application on some other environment. Afterwards you have to run through all the pages which will create the compiled servlet for all the visited JSP page under work folder of tomcat. Just copy all the compiled files from there.
 
More
Newsletter
Copyright © 2013 VisualBuilder. All rights reserved

Warning: Unknown(): write failed: Disk quota exceeded (122) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0