| |

VerySource

 Forgot password?
 Register
Search
View: 1372|Reply: 6

How to use filter on Websphere Application Server

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-20 15:00:02
| Show all posts |Read mode
Recently, it is necessary to use WAS in development and publish the application that originally ran on weblogic to WAS; but during the migration process, it was found that the filter that worked normally on weblogic did not work on WAS;
    Excuse me, prawn, do you need to configure Filter in WAS? How do I configure it?
    Another: Struts framework is used in development
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-7-11 19:30:01
| Show all posts
No, it is based on the servlet specification. Test your program in WSAD or RAD.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-20 01:15:01
| Show all posts
Set it in the web deployment descriptor when packing ear or war.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 18:45:01
| Show all posts
No other configuration, I think you need to check the web.xml, was very strict
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 20:45:01
| Show all posts
Look at the definition of the dtd file in web.xml, the order is very important!
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-24 06:45:01
| Show all posts
Mostly because of the path problem of the JSP configuration in the filter, I have encountered it. For example, change jsp/* to /jsp/*
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Japan

Post time: 2020-8-30 14:00:01
| Show all posts
Add a custom attribute value to the web container, the name is com.ibm.ws.webcontainer.invokefilters, and the value ofcompatibility is true
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list