Hi Norbert,
Struts1 actions are thread safe (no instance variables). The login
action has been moved to Struts2 with instance variables for username,
password and the issue is coming up with this new struts2 action. Which
is used for both displaying login page and also taking
On 2/27/2018 4:37 PM, Dave Weis wrote:
> value="1500"/>HOTTER
> public void setVariation(HashMap variationItem){
>
> logger.error("setVariation was called with variations");
>
> for (Map.Entry entry : variationItem.entrySet()) {
> String
Hi Prasanth,
are you sure all your struts1 code is thread safe ? I had some similiar
problems in a struts1 application. After removing all action class
properties the problem was solved. Struts2 should be thread safe. But
your problems looks to me like a problem with thread safety.
Best
I was able to replicate the issue today. Asked few users to keep logging in and
ran jmeter to access login page, with out putting any username or password. Out
of the 100 attempts 2 attempts were
successful in getting in with out username/password. I am seeing database login
entries for these
https://issues.apache.org/jira/projects/WW/issues/WW-4904
Forwarded using request dispatcher.
ServletContext sContext = context.getContext("/context2");
RequestDispatcher rd = sContext.getRequestDispatcher(resource);
rd.forward(request, response);
Thanks,
Prasanth
On 03/02/2018 09:31 AM,
2018-03-02 15:16 GMT+01:00 Prasanth :
> There are two applications on different contexts. Each have their own struts
> jars. The exception happens when a request to one context is forwarded to
> another context.
What do you mean by "forwarded"?
Regards
--
Ćukasz
+
There are two applications on different contexts. Each have their own struts
jars. The exception happens when a request to one context is forwarded to
another context.
Thanks,
Prasanth
On 03/02/2018 01:13 AM, Lukasz Lenart wrote:
> 2018-03-01 20:20 GMT+01:00 Prasanth
2018-03-02 13:31 GMT+01:00 albert kao :
> My jsp fields username and password are null at startup (jsp page is
> loaded).
> Why?
> That make the "Invalid Username/Password. Please try again." message appear
> when the page is loaded.
> How to fix that?
Use two methods:
-
My jsp fields username and password are null at startup (jsp page is
loaded).
Why?
That make the "Invalid Username/Password. Please try again." message appear
when the page is loaded.
How to fix that?
Login.jsp
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s"
9 matches
Mail list logo