Re: Using PHP language in Java/JSP files.
- From: "Ziggie" <cejohnson@xxxxxxxxx>
- Date: 29 Nov 2005 13:22:49 -0800
I'm just gonna answer everyone at once, sorry if this seems disjointed:
Thanks for the input. I apologize that I know next to nothing about
Java and JSP and that I tend to be a little tongue-in-cheek.
PHP is installed and working properly. I am able to run PHP code that
is not included within the jsp files and not placed within the tomcat
directory. The application is complete and written in jsp (which is
different than Java, right?) and I'm just trying to add one feature
which is easy in PHP, but seems to be very difficult in jsp/java. I
don't know how to make jsp output php code (though I would try and link
to a php file outside of tomcat, but I need a variable that jsp already
has to be passed to the php code (oy vey).
Right now tomcat is not running php. I'm not sure what servlet i would
need to install. The basics are: I have a jsp application that needs
a feature added to it. I am trying to add php to the jsp file, so that
the php is processed, then outpout to the jsp which processes it and
converts it to whatever the browser needs. Rewriting this entire
application into PHP is on the long-term to do list, but is not what I
was looking to do right now.
Basically, a user is going to click on a link, and this link will, once
clicked, take a file (which they are viewing) copy it to a
subdirectory, rename the extension (from test.txt to test.doc for
example) and then display the renamed file onscreen. If there is a
simple (or even a complicated, but doable) way to do this with jsp, I
am all ears.
Does anyone know any good online java/jsp tutorials?
Again, thanks!
.
- Follow-Ups:
- Re: Using PHP language in Java/JSP files.
- From: Ben_
- Re: Using PHP language in Java/JSP files.
- References:
- Using PHP language in Java/JSP files.
- From: cejohnson
- Re: Using PHP language in Java/JSP files.
- From: Ben_
- Using PHP language in Java/JSP files.
- Prev by Date: Re: checking casts
- Next by Date: Re: Tagging interfaces
- Previous by thread: Re: Using PHP language in Java/JSP files.
- Next by thread: Re: Using PHP language in Java/JSP files.
- Index(es):
Relevant Pages
|
|