File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Failed to display/run but I dont know why Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Failed to display/run but I dont know why" Watch "Failed to display/run but I dont know why" New topic
Author

Failed to display/run but I dont know why

Hiu Xiu Huang Lo
Greenhorn

Joined: Nov 11, 2005
Posts: 2
Hi everyone!

Ok so i have to install and test run this webpayment, its written in .jsp.
I loaded a simple helloworld.jsp that just test the tags and whats not which works.

But when i run the webpayment jsp, it get a literal version of the code as if i open a txt editor...ie i see all the tags and everything

Does anyone know what do i have to do to fix this? is it scripting or server problem?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61760
    
  67

"Robert H.L",

There aren't may rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61760
    
  67

Well you haven't really given us much to go on. Please start with what JSP engine you are using and how you have set up your web app in it.
Hiu Xiu Huang Lo
Greenhorn

Joined: Nov 11, 2005
Posts: 2
Dear Bear

I am sorry about the naming convention, but I am asian, so mine are an odd ball...but not a problem I'll use the non-english version.

As for the server type and everything:
Linux Red Hat 2.4.1
Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7i PHP/4.4.0 mod_perl/1.29 FrontPage/5.0.2.2510

The rest of the information is hidden from me as for as the .jsp itself as it is a payment gateway that i am trying to install the server.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18987
    
    8

So, you don't have a server there that knows how to deal with a JSP. Apache will just serve it as a file without processing it. A lot of people use Tomcat for JSPs, and it works with Apache. Maybe give that a try.

http://tomcat.apache.org/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failed to display/run but I dont know why