On 9/22/05, Mark [EMAIL PROTECTED] wrote:
I would think that this is possible. I have been writing servlets for
over a year, but have not written a single line of JSP.
Technically speaking each JSP is actually a servlet... more or less.
Everything that works in the server works in the jsp
I want to create a webapp that will contain both servlets and JSP. I
will be using a login page to authenticate users. I will probably use
one of the Tomcat supported authentication modules.
I am wondering if it is possible for tomcat to properly manage session
information when going between
Mark wrote:
I want to create a webapp that will contain both servlets and JSP. I
will be using a login page to authenticate users. I will probably use
one of the Tomcat supported authentication modules.
I am wondering if it is possible for tomcat to properly manage session
information when
I would think that this is possible. I have been writing servlets for
over a year, but have not written a single line of JSP.
On 9/21/05, David Wall [EMAIL PROTECTED] wrote:
Mark wrote:
I want to create a webapp that will contain both servlets and JSP. I
will be using a login page
I give up. MVC baby!
On Aug 21, 2005, at 7:24 PM, Philip Weaver wrote:
How can I programmatically load servlets and servlet mappings in
Tomcat? I'm using Tomcat 5.0.28.
I'm trying to extend StandardContext to automatically map/assign a
batch of servlets from a specified jar at startup
How can I programmatically load servlets and servlet mappings in
Tomcat? I'm using Tomcat 5.0.28.
I'm trying to extend StandardContext to automatically map/assign a
batch of servlets from a specified jar at startup. I'm having trouble.
As I try to add these servlets programmatically
Hi All,
I am having a problem with Tomcat. I have a website application that I use
over 2 aplications. 1 context I use for testing and the other is meant for
vistors (live version). This means that the same application is running
over 2 contexts . When I update a servlet in the test context and
I'm trying to write an ant task to pre-compile JSP pages, but I have the
following problem.
Here is a piece of page :
# form:input type=hidden name=idy value=%= itlBean.getIdy() %/
(itlBean.getIdy() returns a Long.)
Then I try to transform the JSP page into a servlet with the jasper
task,
Hi all;
I have a servlet that implements the SingleThreadModel interface. I have
noticed that, under heavy weight, tomcat is restricting the servlet pool
size to 22 instances. My question is: How can I do to change this limit?
Regards.
Martn.
--
No virus found in this outgoing message.
Checked
Hi all;
How can I do to change the default pool size for SingleThreadModel servlets?
Regards.
Martín.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005
are the different extension point to Tomcat.
Thanks all,
Pawan
On 6/14/05, Martín Cabrera [EMAIL PROTECTED] wrote:
Hi all;
How can I do to change the default pool size for SingleThreadModel servlets?
Regards.
Martín.
--
No virus found in this outgoing message.
Checked by AVG Anti
for SingleThreadModel Servlets
Hi all
What are the different extension mechanism for Tomcat or in other words
how do we extend Tomcat. Can we write some plug-in in Tomcat environment.
From what I have gathered till now it looks like Tomcat's server.xml file
can be customized for className attibute etc. Apart from
Mart?_Cabrera,
I think you can use singlton pattern!
=== 2005-06-14 16:48:00 ===
Hi all;
How can I do to change the default pool size for SingleThreadModel servlets?
Regards.
Mart?.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308
Mart?_Cabrera,
I think you can use singlton pattern!
=== 2005-06-14 16:48:00 ===
Hi all;
How can I do to change the default pool size for SingleThreadModel servlets?
Regards.
Mart?.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308
hi
i have a remote server (linux) that contains servlets wich i want to use to
interact with an USB Aladdin eToken that the user connect in his local
machine (windows) to sing XML documents.
in the server i put (jdk1.5.0_03/jre/lib/security/java.security file):
security.provider.7
I am testing MIDlets connection to servlet. I am using Netbeans 4.1
with mobility pack,
Tomcat bundled with NB (5.5.7) or external Tomcat (5.028). I have added
an EchoServlet
under TomcatServletExample (Servlet v 2.3). My EchoServlet can respond
to POST and GET methods.
It is OK when i send
(), that is most likely your problem.
-Original Message-
From: Jean-Luc Douville [mailto:[EMAIL PROTECTED]
Sent: Wednesday 25 May 2005 09:53
To: tomcat-user@jakarta.apache.org
Subject: log files with servlets ?
I am testing MIDlets connection to servlet. I am using Netbeans 4.1
If you don't want to mess with your server.xml file, or you're a mere user
and can't, you can do it easily with Apache log4j. Create the following
file, log4j.properties and put it in your WEB-INF/classes directory. This
will create a log file in /var/tmp named logtags.log. The docs for log4j
Hi
I've got Tomcat-5.0.27-r5 installed. Running servlets
(localhost) located in
/opt/tomcat5/webapps/ROOT/WEB_INF/classes is no
problem.
What do I need to do to run servlets from my user
directory (e.g. /home/user/myapp)?
I've tried to use http://localhost:8080/admin to add
an additional
Yoo,
Do you use tomcat stand-alone? Or with Apache
Putting a context in server.xml should work, but this is not the
prevered way in tomcat 5!
Greetings O.
On 5/11/05, Raueber Hotzenplotz [EMAIL PROTECTED] wrote:
Hi
I've got Tomcat-5.0.27-r5 installed. Running servlets
(localhost
installed. Running servlets
(localhost) located in
/opt/tomcat5/webapps/ROOT/WEB_INF/classes is no
problem.
What do I need to do to run servlets from my user
directory (e.g. /home/user/myapp)?
I've tried to use http://localhost:8080/admin to add
an additional context, setting path
, but
this is not the
prevered way in tomcat 5!
Greetings O.
On 5/11/05, Raueber Hotzenplotz
[EMAIL PROTECTED] wrote:
Hi
I've got Tomcat-5.0.27-r5 installed. Running
servlets
(localhost) located in
/opt/tomcat5/webapps/ROOT/WEB_INF/classes is no
problem.
What do I need to do to run
utility to
tweak it.
Cheers,
PST
On 5/11/05, Raueber Hotzenplotz
[EMAIL PROTECTED] wrote:
Hi
I've got Tomcat-5.0.27-r5 installed. Running
servlets
(localhost) located in
/opt/tomcat5/webapps/ROOT/WEB_INF/classes is no
problem.
What do I need to do to run servlets from my user
Hi guys...
I was trying to run an application, and I've got the following message:
21/04/2005 10:06:33 org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet Auth as unavailable
21/04/2005 10:06:33 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for
public class Auth extends HttpServlet
-Original Message-
From: Adriano Monteiro [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 21, 2005 9:31 AM
To: tomcat-user@jakarta.apache.org
Subject: Problems with servlets
Hi guys...
I was trying to run an application, and I've got
-Original Message-
From: Adriano Monteiro [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 21, 2005 9:31 AM
To: tomcat-user@jakarta.apache.org
Subject: Problems with servlets
Hi guys...
I was trying to run an application, and I've got the following message:
21/04/2005 10:06:33
I am moving from jserv to tomcat.
I have 100+ servlets and classes that I want to be available to up to 100
virtual hosts. The server I am moving to runs RHE3 with Apache2, Plesk and
Tomcat4. Plesk only supports the mod_webapp connector. I can't find much
info on mod_webapp but it seems to me
Please post a *new* message when writing to the list. Replying to
an old (unrelated) message confuses thread-aware mailers, which makes
your question harder to find (and thus answer).
On Wed, Apr 20, 2005 at 05:06:00PM +1000, Bill Sutton wrote:
: I have 100+ servlets and classes that I want
tomcat-user@jakarta.apache.org
Sent: Wednesday, April 20, 2005 8:48 PM
Subject: Re: Many hosts sharing servlets
On Wed, Apr 20, 2005 at 05:06:00PM +1000, Bill Sutton wrote:
: I have 100+ servlets and classes that I want to be available to up to
100
: virtual hosts.
: So I have tried to put all
Hello all,
I'm using tomcat 5.5.7 and have configured userconfig in server.xml to look in
user's
public_html subdir for jsps etc. Jsp files work in user directories but java
beans and
servlets do not.
Does anyone have tomcat working to beans and servlets also work in user's
public_html
hihi,
is this what you're trying to achieve?
-have all servlets deployed under Tomcat's webapp directory like usual
-but then place modified/customized servlets to user's directories
whenever desired (and this one overrides the webapp one)
woodchuck
--- Steve Ochani [EMAIL PROTECTED] wrote
Hi,
On 18 Apr 2005 at 14:19, Woodchuck wrote:
hihi,
is this what you're trying to achieve?
-have all servlets deployed under Tomcat's webapp directory like usual
-but then place modified/customized servlets to user's directories
whenever desired (and this one overrides the webapp one
directories are working but servlets and beans that are being
used
from jsps are not.
For example I have a directory
/jakarta-tomcat-5.5.7/webapps/steve
in it i have Test.jsp and a subdir WEB-INF in that I have a subdir classes and
in that I
have a sub directory called blah and in that subdir I have
Hi
I am able to run the jsp in the tomcat 5.0 but when I
try to run a war file containing servlets instead of
executing it the IE try's to download it as zip file.
I have web.xml file web-inf folder also.If I just give
only the servlet path in the IE then the server say
requested resource
Hi,
I have security roles defined in DB and would like to control servlet
access based on userId(user logged in im my application) and allowed
actions (stored in DB and can be changed anytime)
I was thinking about loading allowed action ( allowed servlet names)
in to the session and check in
debug my servlets in Tomcat
5.5?
Thanks,
Siegfried
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
installation like startup.bat and shutdown.bat.
Where are some updated instructions so I can debug my servlets in Tomcat
5.5?
Just download the .zip file instead of the .exe and you'll get the
batch files back, I'm not sure why they aren't in the install set,
that might be explained somewhere but I
Users List tomcat-user@jakarta.apache.org
Sent: Thursday, February 17, 2005 5:59 PM
Subject: Re: How to run Eclipse Debugger With Servlets in Tomcat 5.5?
On Thu, 17 Feb 2005 09:36:31 -0700, Siegfried Heintze
[EMAIL PROTECTED] wrote:
The Java's Developers Guide to Eclipse contains a nice
someone tell me what
is going on. My real project uses jsp session and it is not working
because all the values are reading null!!
2) the servlets work from tomcat port 8080 through my homedirs,
but through apache. JSP work through apache though. Example) The
following works fine: http
all the values are reading null!!
2) the servlets work from tomcat port 8080 through my homedirs,
but through apache. JSP work through apache though. Example) The
following works fine: http://myserver:8080/~ccasas/servlet/hello
http://sp:8080/~ccasas/servlet/hello but I cannot make
homedirs and servlets do notwork
through apache
My implementation is not as complex as yours, so my suggestion may not
work for you...
We always use the request object to get access to the session both in
the servlet and the JSP (We don't use any specialized JSP tags to do
this. We always use
To: tomcat-user@jakarta.apache.org
Subject: Re: sessions do not work from homedirs and servlets do
notwork
through apache
My implementation is not as complex as yours, so my suggestion may not
work for you...
We always use the request object to get access to the session both in
the servlet
On Wed, Jan 05, 2005 at 07:36:16PM -0800, Manisha Sathe wrote:
: I have 2 sets of programms running on Tomcat 5.0
: 1)one set is using normal servlet program architecture.2)another is using
struts technology. This together makes whole application. Eventually the whole
application will be in
This will work fine.
You can still define normal servlets and struts actions in the same web.xml.
Remember that Struts only handles servlets that match a mapping, typically like
*.do whilst your other servlets will have their own mapping. They can all
co-exist happily.
Allistair
I have 2 sets of programms running on Tomcat 5.0
1)one set is using normal servlet program architecture.2)another is using
struts technology. This together makes whole application. Eventually the whole
application will be in struts, but currently i have half in servlet and half in
struts.
. (something to look at for the developers?)
[EMAIL PROTECTED] 12-27-2004 02:01
I am having a problem when accessing servlets in all
applications from My tomcat webserver. It seems like
the Tomcat is having a problem when executing the
servlets.
Before this all the applications worked but I realize
after
I am having a problem when accessing servlets in all
applications from My tomcat webserver. It seems like
the Tomcat is having a problem when executing the
servlets.
Before this all the applications worked but I realize
after I got comment from one of the users this
morning , it does not work
To: Tomcat User List
Subject: prevent multiple form posts using only servlets
Is there a way to prevent multiple form posts from the
same page/user/session using only servlets? I have a
page where users can upload files, but I do not want
them to keep smashing the upload button if their files
Is there a way to prevent multiple form posts from the
same page/user/session using only servlets? I have a
page where users can upload files, but I do not want
them to keep smashing the upload button if their files
are large, and the user becomes impatient.
thank you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Elihu Smails wrote:
| Is there a way to prevent multiple form posts from the
| same page/user/session using only servlets? I have a
| page where users can upload files, but I do not want
| them to keep smashing the upload button if their files
have support for it (www.springframework.com).
/Roberto
Elihu Smails wrote:
Is there a way to prevent multiple form posts from the
same page/user/session using only servlets? I have a
page where users can upload files, but I do not want
them to keep smashing the upload button if their files
posts from the
same page/user/session using only servlets? I have a
page where users can upload files, but I do not want
them to keep smashing the upload button if their files
are large, and the user becomes impatient.
thank you.
__
Do
Use javascript to disable or remove the button.
[EMAIL PROTECTED] 12-09-2004 12:12
Is there a way to prevent multiple form posts from the
same page/user/session using only servlets? I have a
page where users can upload files, but I do not want
them to keep smashing the upload button
Hi folks, I pray someone can tell me something here. Im writing an
application in Servlets using Tomcat Heres my scenario.
I display a User Login screen, ID and Password on an HTML form, user enters
data, the submit button executes the program to verify the Users
information
Mike,
What is your question? We are happy to help, but need some detail.
--Dan
-Original Message-
From: Michael McQuade [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 9:31 AM
To: Tomcat Users List
Subject: Tomcat and Servlets - DESPERATE for help
Hi folks, I
McQuade [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. November 2004 16:31
An: Tomcat Users List
Betreff: Tomcat and Servlets - DESPERATE for help
Hi folks, I pray someone can tell me something here. Im writing an
application in Servlets using Tomcat Heres my scenario.
I display
I can be helpful, if u can send me the files related to whatever u r saying.
-Original Message-
From: Michael McQuade [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 9:01 PM
To: Tomcat Users List
Subject: Tomcat and Servlets - DESPERATE for help
Hi folks, I pray someone
kinda sounds like your sending malformed html to the browser
do the view source thing in the browser and see what you're sending it
Hi folks, I pray someone can tell me something here. Im writing an
application in Servlets using Tomcat Heres my scenario.
I display a User Login
On Wed, 2004-11-24 at 10:31, Michael McQuade wrote:
Hi folks, I pray someone can tell me something here. Im writing an
application in Servlets using Tomcat Heres my scenario.
I display a User Login screen, ID and Password on an HTML form, user enters
data, the submit
lol, I put my question in my Request Dan,did u not see it
- Original Message -
From: Wick, Daniel [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 10:55 AM
Subject: RE: Tomcat and Servlets - DESPERATE for help
Mike,
What
: Michael McQuade [mailto:[EMAIL PROTECTED]
Sent: 24 November 2004 15:31
To: Tomcat Users List
Subject: Tomcat and Servlets - DESPERATE for help
Hi folks, I pray someone can tell me something here. Im
writing an application in Servlets using Tomcat Heres my
scenario.
I
sits between your browser and
your Tomcat so that you can monitor what is being sent
by your browser and the response from the Tomcat.
Good luck.
--- Michael McQuade [EMAIL PROTECTED] wrote:
Hi folks, I pray someone can tell me something
here. Im writing an application in Servlets
using
]
Sent: Wednesday, November 24, 2004 11:08 AM
Subject: [OT] Re: Tomcat and Servlets - DESPERATE for help
Hi,
This is not a Tomcat specific question so I am marking the subject [OT].
You may find more enthusiastic help in a JSP/Servlet list (a Google
search will yield plenty of them).
Have
On Wed, 2004-11-24 at 11:26, Michael McQuade wrote:
Ben, I think it is a Tomcat specific subject, Im just not sure what to do
about it, Im thinking theres a variable in Tomcat maybe needs to be set,
or session refreshed, or something..
If you want to paste the relevant part of your
If you are using a single servlet to determine the course of action and
those actions are not mutually exclusive (like using a switch or
if...else if structure) then something like this could definitely
happen. Check your code... I am sure it is allowing two things to
happen at once because it
How do people who know what they're doing go about debugging servlets?
Thanks in advance,
Richard
--
Richard Lewis
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
, restart Tomcat (which takes several
minutes) and read the Tomcat logs to find out whats gone wrong!
Nightmare! :-o
How do people who know what they're doing go about debugging servlets?
Thanks in advance,
Richard
--
Richard Lewis
[EMAIL PROTECTED
servlet-mapping
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
/servlet-mapping
(No one had ever said before about the
servlet-mapping directive.)
There are good reasons why the invoker servlet has been removed
(commented out) of the default web.xml in Tomcat.
The IDE suggested by others may already have this
features, but Apache Axis tcpmon is a neat tool to
have if you do not use IDE's. It allows you to see
what is being sent to a servlet running on Tomcat and
vice versa, the response coming out. Easy to use, as
it is an applet and run like so:
the Tomcat logs to find out whats gone wrong!
The logs are useful no matter what IDE or debugging approach you're
using. Get proficient at analyzing them.
You will always have to recompile a class after making changes to it,
that's nothing specific to Tomcat or servlets.
Yoav
This e-mail
Two thoughts:
1: startup time can be further shrunk by lightly editing the config to
remove the default load balancing app and the like.
2: I do all this using eclipse + MyEclipse, and I've found it quite
satisfactory.
-
To
Hi,
I'm a newbie to ssl, here is the scenario:
server:
linux redhat 8
tomcat 4.1.29
axis 1.1
webservice in java
server.keystore
client:
mandrake 9.2
tomcat 4.1.29
servlet
client.keystore
when using webservice from command line it works perfectly, but when running
the same code from a servlet,
On Sun, Nov 21, 2004 at 10:31:14AM +0200, Michal Ziv wrote:
: when using webservice from command line it works perfectly, but when running
: the same code from a servlet, it doesn't find truststore.
: in both cases the full path is given, all jars are accessible to code.
: can anyone please help?
Hi all,
I have one web application with some servlets running in Tomcat 4.1.18
and
now i would like to run it in tomcat 5.5.4. I have installed tomcat 5.5.4
and runs without problems. Deploy all application including my application.
But when i try to request my servlets, tomcat fail
: 17 November 2004 10:14
To: Tomcat Group
Subject: Tomcat 5.5.4 dont see Servlets in my app
Hi all,
I have one web application with some servlets running
in Tomcat 4.1.18 and
now i would like to run it in tomcat 5.5.4. I have installed
tomcat 5.5.4
and runs without problems
PROTECTED]
cc
Subject
Tomcat 5.5.4 dont see Servlets in my app
Hi all,
I have one web application with some servlets running in
Tomcat 4.1.18 and
now i would like to run it in tomcat 5.5.4. I have installed tomcat 5.5.4
and runs without problems. Deploy all application
that Servlet is not available.
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 17 de noviembre de 2004 11:27
Para: Tomcat Users List
Asunto: Re: Tomcat 5.5.4 dont see Servlets in my app
Have you registered the servlet correctly in web.xml?
Birendar
I think your web.xml is not configured correctly for Tomcat 5. Can you post
your web.xml?
-Original Message-
From: José Luis [mailto:[EMAIL PROTECTED]
Sent: 17 November 2004 11:12
To: Tomcat Users List
Subject: RE: Tomcat 5.5.4 dont see Servlets in my app
Hi all
On Wed, 17 Nov 2004 12:11:37 +0100, José Luis
[EMAIL PROTECTED] wrote:
Hi all,
this is the exception
javax.servlet.ServletException: La Clase nucleo.PagoVodafone no es un
Servlet
Be careful to not have anything containing the servlet JSP classes
in your classpath, or in your webapp
)
|
+ --- (site i)
- nucleo is the package who have servlets of application.
- javax are the servlet classes.
- com are the the jdb classes of microsoft for db connection.
- (package i) is one of my own utilities
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 8:42 AM
To: Tomcat Users List; Remy Maucherat
Subject: RE: Tomcat 5.5.4 dont see Servlets in my app
Hi,
perhaps the problem is my application structure. I show us it:
portal + --- JSP --- ...
|
|
+ --- WEB
and be located in your web application WEB-INF/lib
location NOT as separate classes. I would lookup jTDS as an alternative to M$'s
drivers anyway - far quicker and documented.
Finally, you ought really only see
/yourwebapp
+ jsp
+ WEB-INF
+ classes
+ com (include servlets in your com
Servlets in my app
Hi,
Javax.servlet classes under WEB-INF didn't work in 4.x, 5.0, and won't work
in 5.5. Drop those. Stick to a standard webapp structure anyways (which
yours is very close to, except for javax and site I).
Yoav Shapira http://www.yoavshapira.com
-Original Message
Nevermind I figured it out.
Just needed to add this in the Host in conf/server.xml:
Context path= docBase= debug=1/
Doesn't make a lot of sense but it did the trick.
John
Hello Im running tomcat5 with mod_jk2, apache 2 and RH FC01
Im having trouble getting servlets to work under mod_jk2
Hello Im running tomcat5 with mod_jk2, apache 2 and RH FC01
Im having trouble getting servlets to work under mod_jk2 and shared
instance for virtual hosting.
It works fine with preview link context for the site:
http://ip:8080/domain.com/serlvet/helloworld but with
domain.com/servlet/helloworld
Hello Im running tomcat5 with mod_jk2, apache 2 and RH FC01
Im not a programmer, just someone who manages tomcat. But anyway, Im
having trouble getting servlets to work under mod_jk2 and shared instance.
It works fine with preview link context for the site:
http://ip:8080/domain.com
WEB-INF
class(here your class file(servlets) has to be present in order
to be loaded; you can keep HelloWWW.java here but HelloWWW.class has to be
there)
lib
what you are missing is compilation and adding serlets tag in web.xml and
sme changes in server.xml
it is worth
I am using Tomcat 5
Also I have created ant utility to build my servlets and jsp pages.
I have a servlet named HelloWWW which is under src directory of
(src created by ant)
src/vjsp/HelloWWW.java
This servlet I am mapping in web.xml file as
servlet
servlet-nameHelloWWW/servlet-name
than mapping servlets.
You don't mention having compiled the servlet class, which is required
for Tomcat to load it. Out of the box, the container won't do that for
you. (It will only compile JSPs, not raw Java .class files.)
-QM
--
software -- http://www.brandxdev.net
tech news -- http
ant builds servlets and jsps everything. That is why I have mentioned
that I am using ant to build my application.
Thanks,
: I have a servlet named HelloWWW which is under src directory of
: (src created by ant)
:
: src/vjsp/HelloWWW.java
: [snip: web.xml listing]
:
: resource /vjsp
-Original Message-
From: QM
Executables and other server-side dynamic content( CGI,
servlets/JSPs, PHP, etc) permit end-users to interact with
the server in a different
way: they must process user input, and in doing so, watch
out for malformed values
Hi,
I'm using mySQL for login name, password validation.
This from a standard html static page.
I can't see how I can get to this data to validate it?
Is it possible?
On a standard HTML static page you can use JavaScript for form field
validation and not even submit the form if the inputs
-Original Message-
From: Shapira, Yoav
I'm using mySQL for login name, password validation.
This from a standard html static page.
I can't see how I can get to this data to validate it?
Is it possible?
On a standard HTML static page you can use
Hi,
form method=POST action=j_security_check name=login
Which I'm guessing is picked up by Tomcat,
though I don't know how to 'add checking to it'?
Any advice appreciated, since I'd prefer java to jscript!
If you're trusting the container, trust it ;) You're depending on the
container to auth
t; They go on to suggest various
precautions that will reduce the risk.
This has me wondering if servlets are equally insecure or have a much
stronger security model. I also have Jason Hunter's 'Java Servlet Programming
(Second Edition)' which has a 30 page chapter on Security that details how
var
from external threats is CGI scripts. They go on to suggest various
: precautions that will reduce the risk.
:
: This has me wondering if servlets are equally insecure or have a much stronger
: security model.
The authors of that book may have said CGI but what they probably
meant, in a larger
Hi,
I'd say it's easier to expose security flaws with CGI scripts than it is with
Servlets, and vice versa it's easier to configure a secure environment for Servlets
than it is for CGI scripts.
That's not the same as saying Servlets are more secure than CGI. I don't think such
a categorical
Rhino wrote:
/* others having responded to the first issue(s), I'll just confine
myself to this one :-) */
is anyone aware of a wiki
that runs as a servlet, preferably open source?
You might look at JSPWiki -- http://www.jspwiki.org/
FWIW!
--
Hassan Schroeder -
I have a form with multiple input name=file0 elements.
The names are generated and range file0..n
I'm trying (and failing) to retrieve the value of the input fields.
String f =;
f = request.getParameter(file0);
works fine;
The remainder appear inaccessible.
In the docs
String[] f = request.getParameterValues(file0);
f[0]
..
f[f.length - 1]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 9:16 AM
To: [EMAIL PROTECTED]
Subject: javascript and servlets.
String f =;
f
1 - 100 of 1922 matches
Mail list logo