Elihu Smails wrote:
I am working on a project that uses servlets exclusively. I would
like to take advantage of a Model-View-Controller system in order to
develop my servlets. For the last servlet project I worked on, I was
in charge of the back-end data processing and did not have to mess
with
In the /WEB-INF/web.xml
of your application u must have
!-- The Usual Welcome File List --
welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
to describe wich is the first page open when someone access your application
Lost World wrote:
You cannot access the jsp like
Hi All!
I have just installed Tomcat 5.5 on Windows XP Pro with apache-ant-1.6.1.
I have placed the catalina-ant.jar in in apache-ant-1.6.1's lib dir and am
attempting to install my first app.
I am using the basic build.xml file from the local Application Developer's
Guide and am seeing the
Hi All,
Not sure if I am way off mark, but it almost seems as if my JSP is not
being interpreted.
Using the /manager web app, I get my app deployed (I still can't figure
out why my command line install doesn't work) and I publish this page:
==
%@ taglib uri=/WEB-INF/tld/c.tld prefix=c %
html
Am Samstag, 19. Mrz 2005 12:36 schrieb Robert Mark Bram:
==
%@ taglib uri=/WEB-INF/tld/c.tld prefix=c %
html
body bgcolor=white
c:set var=message value=Hi there!/
c:out value=6. ${message}/br/
c:out value=7. ${'message'}/br/
bParameter values passed to this page for
On Fri, Mar 18, 2005 at 11:33:02PM -0500, Elihu Smails wrote:
: I am working on a project that uses servlets exclusively. I would
: like to take advantage of a Model-View-Controller system in order to
: develop my servlets.
: [snip]
: So I ask the question. Since the requirement that I have is
What are the advantages or the reason for the popularity of
servlet api vis-a-vis the web server specific api ?
Say Netscape server or IIS server also have their own
specific api's as well where one could write server side
code. But the servlet api is so popular and wide spread and
one could
Tomcat 5.5.7/8 documentation suggest setting 'compilerSourceVM' and
'compilerTargetVM'
to enable jdk 1.5 JSP compilation (along with removing
|jasper-compiler-jdt.jar
and replacing with ant.jar|)
However, those 2 parameter names are not in web.xml's commented list of
optional flags.
I've
You could look into alternate MVC approachs like Freemarker, Velocity,
or XSLT; these are processed by a servlet, but allow you to extract the
presentation logic into a text-based template file. Also, as others
have pointed out JSPs are compiled into servlets; and if you know your
deployment
That was the answer mks!
Is it possible that my jsp code is not being interpreted?
Does the deployment descriptor of yout web-app declare conformance to the
Servlet-API spec 2.4 - i. e. does it contain something like
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
Found the answer to this one.
I needed Ant 1.6.2..
Rob
:)
On Sat, 19 Mar 2005 22:01:58 +1100, Robert Mark Bram
[EMAIL PROTECTED] wrote:
Hi All!
I have just installed Tomcat 5.5 on Windows XP Pro with apache-ant-1.6.1.
I have placed the catalina-ant.jar in in apache-ant-1.6.1's lib dir and
am
Thanks for the information. I have not written a single JSP, but have
alot of experience with Servlets. I am targetting Tomcat 5.5.x only,
so I think it is safe to say that I can compile my JSP.
Thanks again everyone for the help.
On Sat, 19 Mar 2005 08:15:38 -0600, Robert r. Sanders
[EMAIL
I thought that for apache 1.3, the modules go in the libexec
directory, and if so then your statement above should look like:
LoadModule jk_module libexec/mod_jk.so
On Fri, 18 Mar 2005 13:10:42 +0100 (CET), Christoph Kukulies
[EMAIL PROTECTED] wrote:
I installed apache 1.13.33 and tomcat
Out of curiosity only, why were JSPs banned? That seems to be a bit
of a mystery. Do they ban html too?
Jack
On Fri, 18 Mar 2005 23:33:02 -0500, Elihu Smails [EMAIL PROTECTED] wrote:
I am working on a project that uses servlets exclusively. I would
like to take advantage of a
Dear Sir/Madam,
I have been using tomcat 4.x/5.0.x version for web
developmen (JSP/Servlets)but i am finding difficulties in starting the server
itself many times.I have set the JAVA_HOME environmental variable to the
directory where i have installed the j2sdk1.4.2. e.g.
It's tough to say what your problem is without more information. Did you
check Tomcat's logs to see what the error is when starting up? Have you
tried running tomcat from the console instead of from a batch file so
that you can see the output of the server when it erors and quits?
Give those a
Ah, yes. That seems easier. Thank you. Now if I can get my Tomcat to
stay running.
Jon Cline - Enthusiast, Inc. wrote:
Hey Justin,
I think this might help:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html
You could use wget from cron to send url commands to an isolated port.
Well I still can't seem to get this server running on my vps. They show
that they have no limits that would keep me from running this. It's a RH
9 machine and I put the export LD_ASSUME_KERNEL=2.4.1 in the
catalina.sh. I can't seem to even keep one running. I'm using
jdk1.5.0_02. The only
Thanks for your instant reply.But i just checked whatever u had said.I tried to
start it from the console by giving the command %CATALINA_HOME%\bin\startup.bat
but same problem still persists.The tomcat console came only for 2-3 seconds
and then dissapeared.So i could not read the error
Try putting an html or jsp file in your my_apps folder. I'm not sure
what Tomcat does when you navigate to the web app with nothing other
than WEB-INF in the web app's folder. When I navigate to one of my web
apps the way you're trying, I get a directory listing of the files and
folders I have
Have you tried other browsers than MSIE? If it works for FireFox, then
you've probably hit http://issues.apache.org/bugzilla/show_bug.cgi?id=28750.
Mark Leone [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Slightly off-topic -- Tomcat related
I have a servlet that is invoked by
1) If you have catalina.jar in the $CATALINA_HOME/server/lib/ directory, then
it's only going to be available to the Tomcat server internal code, not to your
web apps. If you want it to be available to Tomcat and your web apps, then you
should put it in the $CATALINA_HOME/common/lib/ directory.
Hello,
i have already tested these things which you are telling.When i put
some html or jsp files directly ubder my_apps folder i see the list of these
files when i type http://localhost:8080/my_apps but my problem is that
sometimes i am not able to see this also.it says /my_apps is
Yes, that's exactly my problem. It only fails with HTTPS connections on IE. It works with Firefox (using the built-in
download manager or Flashgot) as well as Safari on a Mac. Nice to see, according to a posting in the BZ link you provided, that M$ has decided to label it a feature rather than a
24 matches
Mail list logo