15,911,531 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Hamza Halim (Top 7 by date)
Hamza Halim
17-Jan-17 10:19am
View
Thank you Mr Ahmed, but i steel have the same problem. when i want to associate url to instance i go on sturts-config.xml file and i write the following lines:
<action path="/threed1" type="DManager1" validate="false">
<action path="/threed2" type="DManager2" validate="false">
and tomcat create instances of DManager1, DManager2 and associate these instances to paths /threed1, /threed2.
that's what i want to do dynamically without write these lines on sturts-config.xml file
Hamza Halim
16-Jan-17 9:40am
View
yes, it works, but how can i make this instance serve url one or url two ...
Hamza Halim
16-Jan-17 4:36am
View
i need to dynamically instantiate a java class that extends Action Class(struts), and associate this instance to a specific url without use struts-config.xml, to associate this url to that instance.
<action path="/threed1" type="DManager1" validate="false">
<action path="/threed2" type="DManager2" validate="false">
DManager1 and DManager2 in fact, are the same class. so what i want to do is to use just one class and create instances to treat urls(threed1, threed2, ..., threedN)
Hamza Halim
16-Jan-17 4:26am
View
Deleted
i have to serve multi client, by create a instance of my class that extends Action(struts). for every client i need one instance to treat client http Request
Hamza Halim
15-Jan-17 11:29am
View
thank you, but what i need seriously is that instance must be associated to url without use web.xml, just with coding
Hamza Halim
23-Aug-16 9:16am
View
so when the client do his treatment i need to get just the last response from server, and we have a lot of treatments so if i let this number of treatments work without abort it, there is a strong probability that the server will blocked
Hamza Halim
21-May-16 9:49am
View
thank you for your solution but if you know a solution that make a fast conversion from int array to jpeg with 0.60f in quality and send it as byte array to client side
Show More