This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Transfer Learning for Natural Language Processing (MEAP) and have Paul Azunre on-line!
See this thread for details.
Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!

Raj Shharma

Ranch Hand
+ Follow
since Mar 22, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Raj Shharma

Raj Shharma wrote:

Bear Bibeault wrote:Do I look 42?
Why do we have your picture up in portal with horns ?


I'm an old coot!



Much Younger...I must say...





Cheers

8 years ago

That classpath, is that for the environment that you are running/deploying too, or just the classpath for your IDE for editing your code.



Its for the environment that am running/deploying too and so I believe it should work.
8 years ago
I have this FileUploadController which I am trying to run but am getting BeanCreationException and NoClassDefFoundError for FileUploadController.class. I have this class in classpath but still am getting this error, any suggestions, I have web.xml file, servlet-config.xml, exception and classpath information for this question here.

Also please refer to BeanCreationException

FileUploadController.java



Web.xml


spring-context.xml


exception



classpath


Any suggestions would be highly appreciated?
8 years ago
Hi,

I am getting following error message:


My controller looks like:



My Pojo class looks like:


Note

I have posted only relevant pieces of code here. I am not sure as to why am I getting mentioned error about IllegalStateException and some useful pointers would be appreciated.

Also, what are normal reason for getting `Neither BindingResult nor plain target object for bean name x available as request attribute` errors ?


Thanks.

Background:

I have a file which I upload, during this process the link of the file is stored in the database and not the actual file, acutal file is stored in the File System, currently am storing it in my local machine.

Goal:

My goal is to upload a file and download a file properly which has special characters in it -
  • #,$,%,@
  • etc.

    Issue:

    I am able to upload the file with special character but am not able to download file with special characters. Also I cannot do any changes in the Download Servlet as it is part of the Framework, so all I can work with is the Upload Servlet, so my focus is to upload file with special characters in such a way so that I can download them.

    I have tried creating an alias for the filename where in am replacing the special characters with _ symbol, this approach works fine and am able to download the file but actual name of file is not maintained in here, all special characters in the filename are replaced by _ symbol and this is not acceptable as user should actual name of the file.

    Any suggestions or approach:






    Thanks.
    9 years ago
    Hi,

    I need to validate XML against XSD and so what are free XML Validator available out there that could be useful for my task.
    Note: Programming Language is Java.

    Thanks.
    Hi,

    I need to get data from xml file and store it into MySQL Database. I am thinking of using SAX Parser for parsing the data but I am not sure of how to store data efficiently into database, I am thinking of few technologies like JDBC, Hibernate but I wanted to ask about what would be the efficient way of doing it ?

    Note: Here programming language is Java.

    Thanks.
    Hi,


    I am willing to revise and enhance my knowledge on Data Structures and Algorithms in Java and so what is the best book relevant to my concern.


    Thanks.
    10 years ago
    What are the Qualities/Skillset to look for while hiring for Software Quality Engineer Position ?
    10 years ago

    Gregg Bolinger wrote:

    Ugh! I don't know. Toss a coin and hope for the best? This isn't a question that can be answered on JavaRanch. You should discuss this with your team, your manager, and/or your investors. None of which are here on JavaRanch.




    Thank you Gregg for your valuable inputs...
    10 years ago

    Gregg Bolinger wrote:

    Raj Shharma wrote:

    Gregg Bolinger wrote:

    Raj Shharma wrote:

    Gregg Bolinger wrote:PHP can be just as scalable (with the right amount of hardware) as Java and Java (with the right toolkit/framework) is just as suitable for smaller web applications and tighter budgets.




    I agree but if one have to do project implementation like CMS system, say Online forums like Javaranch or develop an auction site like ebay than on what parameter would one decide to go for PHP or Java.



    If I was doing a CMS I'd find an existing CMS and go with it. Same with forums. There's too many existing solutions for those types of things to roll one from scratch. As far as something like ebay, personally, I'd go with Java (as a platform). I think Java (as a platform) scales more naturally than PHP and is more suited to highly transactional systems, as something like ebay would need.



    Thank you very much...It really makes sense not to re-invent wheel and look for already existing solutions...

    Scenario: I want to develop yahoo like portal for internet providers wherein I would get some sort of content from different content providers and would have some sort of feeds similar to yahoo...

    For above scenario which one would be preferrable: PHP v/s Java

    I might be repeating myself but do provide your inputs as it would really help to get better understanding. From discussion so far I guess PHP would be better options for this but not sure on it.



    It's literally impossible to make a decision based on the information given. There's soooo much that goes into making these decisions and it's not even always about what is the best tech but might come down to speed to market and what the team knows already.





    On this parameter's

    1.speed to market
    2.what the team knows already

    which tech would be best results: Java/PHP provided teams are on same level of understanding for both the technologies or let's say needs to be trained in both the technologies.

    10 years ago

    Fred Hamilton wrote:

    seems clear enough. My remarks were based not on personal experience with development costs, rather they were based on information I've gathered when trying to make my own decisions about what to focus on. Thus I can't really argue from my own knowledge of the situation. In which case when someone with apparent much more experience says otherwise, I back off and reconsider. That's all. I don't mean to offend, though the BS part irked me just a touch.




    Thank you Fred for your valuable inputs...
    10 years ago

    Gregg Bolinger wrote:

    Raj Shharma wrote:

    Gregg Bolinger wrote:PHP can be just as scalable (with the right amount of hardware) as Java and Java (with the right toolkit/framework) is just as suitable for smaller web applications and tighter budgets.




    I agree but if one have to do project implementation like CMS system, say Online forums like Javaranch or develop an auction site like ebay than on what parameter would one decide to go for PHP or Java.



    If I was doing a CMS I'd find an existing CMS and go with it. Same with forums. There's too many existing solutions for those types of things to roll one from scratch. As far as something like ebay, personally, I'd go with Java (as a platform). I think Java (as a platform) scales more naturally than PHP and is more suited to highly transactional systems, as something like ebay would need.



    Thank you very much...It really makes sense not to re-invent wheel and look for already existing solutions...

    Scenario: I want to develop yahoo like portal for internet providers wherein I would get some sort of content from different content providers and would have some sort of feeds similar to yahoo...

    For above scenario which one would be preferrable: PHP v/s Java

    I might be repeating myself but do provide your inputs as it would really help to get better understanding. From discussion so far I guess PHP would be better options for this but not sure on it.
    10 years ago

    Fred Hamilton wrote:

    Raj Shharma wrote:

    Fred Hamilton wrote:hmm, so is BS that as a general rule scripting languages offer lower development costs. Well, then there's a lot of misinformation, and misguided people out there that need to be called for BS.



    Even I thought that using Scripting Language one would have lower development cost but I was not sure how it would stack up with Java/Java EE Technologies.



    I'm gonna back off from my statements as I was relying more on information from others rather than lots of my own experience with cost benefit analysis.



    10 years ago

    Fred Hamilton wrote:hmm, so is BS that as a general rule scripting languages offer lower development costs. Well, then there's a lot of misinformation, and misguided people out there that need to be called for BS.



    Even I thought that using Scripting Language one would have lower development cost but I was not sure how it would stack up with Java/Java EE Technologies.
    10 years ago