Joe Ess

+ Follow
since Oct 29, 2001
Joe likes ...
Linux Mac OS X Windows
Forum Moderator
Joe Ess currently moderates these forums:
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Joe Ess

Have you looked at Apache POI?  I've never used it, but it mentions xlsx.
1 week ago
You don't have the source code?!?!  I feel bad for you!
You can get to the official Struts documentation by downloading the distribution here.  Unzip it and look under the "docs" directory.  Double-click on index.html and there's the website as it was in 2008.  Click on the "User Guide" to get started.  It's not hard to understand.  Basically there is an XML file that maps URL's to classes called Actions.  It's a design pattern called a Front Controller.
As for decompliing, if you use Eclipse, look at this.  If you don't have Eclipse, this looks promising.
3 weeks ago

Tim Holloway wrote:Spring MVC is very popular, although I haven't used it to any significant degree. My impression has been that JSF is much more capable as far as automating the validation of form field values goes.

Spring leverages the javax.validation library.   I don't know how that compares with JSF's abilities.

Tim Holloway wrote:
Plus JSF has both core and available extension taglibs that provide very powerful controls, whereas to the best of my knowledge, you have to provide your own front-end controls (possibly REACT or jQuery) for Spring MVC. Incidentally, several of the JSF extension tagsets leverage off jQuery themselves.

Spring MVC is view-agnostic, so one can use JSP's, Thymeleaf, Groovy, FreeMarker, Jade, whatever.  I've seen examples using JQuery, but I haven't tried it myself in Spring MVC (we use it extensively with Struts 2).  How about using Spring with JSF?  Madness I say!

Tim Holloway wrote:
That was one of the main complaints about Struts, in fact - that Struts required user-written components to extend Struts-specific base classes and/or extend Struts-specific interfaces.

That was the certainly the case in Struts 1.   Struts 2 permits the use of POJO's for the objects between the framework and the domain classes, however, in practice it is more common to extend a class called ActionSupport to get some helpful defaults.  It's never been an issue for my team, but your mileage may vary.
3 weeks ago

Zach Lucas wrote:
I am debating on whether or not a version upgrade would be worth it/necessary at this stage.  

Struts 1.x has known security vulnerabilities.  I cannot stress this enough: upgrading is imperative.  

Zach Lucas wrote:
I would like to ask the opinions of whoever has experience with this older version or experience with making such a large jump in versions. What kind of issues would I expect to run into be doing this? I have never upgraded something so outdated...

We made the switch from Struts 1.x to 2.x in 2013.  The difference between the two are substantial, so it is worthwhile looking at other options, since you'll be doing a lot of work in any case. The good news is that Struts 2 is easier to work with and requires a lot less "coding for the framework" compared to 1.x.  That means less boilerplate code and your applicatino will be easier to maintain going forward.  The bad news is that Struts is still a pretty "primitive" framework compared to more modern options.

Zach Lucas wrote:
I currently do not care what version I upgrade to and am talking any recommendation. Even its its upgrading to a different framework altogether.

Struts 2 would probably be easiest if you know Struts 1 well.  I've never used JSF, but it is very popular.  My team is currently looking at Spring MVC for our new development.  It seems easy to use, but I've run into some issues with Spring in general that make me hesitant to recommend it.  Spring is a collection of around 20 different projects, and getting the dependencies correct when using several (MVC, Data, Security, etc) is a challenge.  Spring Boot is an attempt to resolve that issue by providing a single configuration that "just works".  Of course, if something doesn't "just work", figuring out where in the implicit configuration the issue lurks is not trivial.  
There are a bunch of Java web frameworks, many with unique features that may make them more suitable for your purposes.  My advice would be to see if you have a requirement that is a good match for a particular framework.  If not, look at the most popular frameworks (Spring MVC, JSF), with the thinking that they will be the best supported.  Make a judgement if the level of effort to adapt your current code is worth moving to a new framework. If that isn't true, I'd choose Struts 2.

3 weeks ago
Did you upgrade the Tiles plugin?  Note that the Tiles 3 plugin has been dropped in favor of the Tiles plugin
3 weeks ago
Remember the good old days when you'd get a new laptop, tablet or phone and it would have new functionality and work better with your existing platforms?  I miss those days.  
My employer upgraded my work phone to an iPhone 8.  No more headphone jack. No more charging my phone while I listen to calming ambient music on my headphones.  No more plugging it into the AUX jack in the car.  
BuT yOu CaN uSe BlUeToOtH.  Bluetooth sucks.  $100+ for headphones?  I have enough devices to charge.  I can't be bothered to charge my flipping headphones.  What's more, my car will only pair with one phone at a time (I have an Android phone for personal purposes).  Somebody calls the wrong phone?  Pardon me while I pull over and dive into a dozen menus to switch the primary phone.  BuT tHaTs A bAd ImPlEmEnTaTiOn.  Yes, and real Communism has never been tried.
YoU cAn UsE a DoNgLe.   *sigh*
Another thing that irks me is that for a brief moment in time, about 7 years ago, I only had one charging cable for all my devices: a USB mini.   Now, I have a cable organizer in my backpack to keep track of all my cables.  
Furthermore, my MacBook Pro is getting long in the tooth.  I'd like to upgrade, but I'm rather attached to having discrete ports for my camera's SD cards, my piles of USB A drives, and yes, my flipping headphones.  Can't even plug an iPhone into a new MacBook.  
YoU cAn UsE SoMe DoNgLeS.   Double *sigh*
Is it too much to expect that new devices should work better than the old ones or am I this guy?  
3 weeks ago
What is your local web server?  If it is Tomcat, do you have your Connector(s) configured with a proxyName/proxyPort like this:

see here for more info
4 months ago
Then when you go to apply...
5 months ago

Adrian Grabowski wrote:"Halt and Catch Fire" was quite good as well

I never thought I'd see the day where a dramatic series had a pivotal plot moment like a new web browser being released.  
5 months ago
Didn't you already ask this question?  If the answers in that topic were not sufficient, what more information do you need?
5 months ago
What features do you think an Integrated Development Environment should have?  Does the combination of Anakonda and Notebook fit that description?
5 months ago
Given that this topic is over a decade old, I don't think anyone else will be contributing to it.  You may want to create a new topic describing your particular situation so we can better address your issues.
If you are using Tomcat, you may want to look at the ProxyName and ProxyPort parameters of your Connector configuration see here
6 months ago
Think Python is a good introduction to Python as well as basic programming skills.
6 months ago
Have you checked the server logs?  Tail the logs when you deploy the application.  Some issues will occur during deployment leaving the application unavailable.
What application server are you using?  I've been having an issue deploying a Struts 2.5 app on Weblogic, but I haven't had time to determine if the issue is something I've done or related to the Struts upgrade.
7 months ago