Pedro Garcia

Greenhorn
+ Follow
since Sep 12, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Pedro Garcia

I'm looking for a good framework.
I try jakarta struts and there is a lot of documentation, samples, tutorials and forums.
But few days ago I found SOFIA
web page
And looks like a better version than jakarta struts, but somebody had used SOFIA?

Maybe is necessary to evaluate this.
19 years ago
Here is another example, you can customizing the format and language
19 years ago
The same problem persists with new tomcat versions.
Somebody know how to fix that?
21 years ago
I put the Servlet below but, when I make the call from a from, send me:
HTTP Status 405 - The specified HTTP method is not allowed for the requested resource
type Status report
description The specified HTTP method is not allowed for the requested resource

How can I test this Servlets
21 years ago
JSP
Hi.
I configure my tomcat 4.1.18 to managed JRealm security.
here is my server.xml configuration

When I run the protected example and login as an user without the role, send me next error.

HTTP Status 400 - Invalid direct reference to form login page
type Status report
message Invalid direct reference to form login page
description The request sent by the client was syntactically incorrect
(Invalid direct reference to form login page).

This is my web.xml restrictions

I call in my login page
<form method="POST" action='<%= response.encodeURL("j_security_check") %>' >
How can I validate or managed this exceptions?
21 years ago
You are rigth...
But, the problem is that I have tomcat as window service, and I don't know where do I put -Xmx256m
21 years ago
Thanks to everyone for its comments.
I undestand that I don't hope the same performance in a free software to one commercial.
But on the other hand Ryan thanks for the tips that you post.
Only a question.
Where I can adjust the maximum size for JVM?
Where this must be configure?
Thanks again..
21 years ago
Thanks for your help.
Your explanation helps me to understand.
But, How can I prevent to the users do not use the button "back".
Or is better to use another method to autenticate?...
21 years ago

Hi.
I am using tomcat 4.1 on windows 2000 Server 2GB RAM.
before I used Netscape enterprise Server 3.6 on Digital Unix 4.0D 256 RAM.
I use some applications, but is more slow with tomcat.
by example:
A summary monthly html report, before take 3 or 5 seconds. But now in tomcat take 25 seconds.
I change my jsp code top use connection pool but there is no change.
How can I configure tomcat to assign more resources to improve the performance.
21 years ago
Thanks...
I check it?
It's that i looking for....
but...
Why the jsp example send me error 404 when I login, the go back and login with wrong password?.
I need to initializing the session again?
How can I fix?
21 years ago
Hi...
I have some jsp application in tomcat 4.1.18.
I'm try to restrict only for some roles.
How can I define a Security Constraint for an Application in the web.xml file.
Is necesary to put some code in /conf/server.xml too?
Could somebody post an example... :roll:
21 years ago
You must use getText() method..
JTextField1.getText();
And for the database access
the you must to make the connection to the database. Its depend your jdbc driver and database that you use..
This is a general error not only for CLOB fields...
"Exhausted Resultset."
means that you are doing next() to an resultset that have no more rows....
you resultset arrive to the end or is empty if is the first next...
If I point a browser at some dir in my apache http server
http://myhost.mydomain/mydir/
I get a directory listing. Also works for all Subdirs.
Can I disable this? How?
:roll:
22 years ago