Search:

Type: Posts; User: loulou2u; Keyword(s):

Search: Search took 0.01 seconds.

  1. Need Assistance Debugging why sqljdbc4 SQLServerDriver class is not being found.

    I have hit a brick wall and I need some suggestions. I have installed the sqljdbc4 driver in my application's /WEB-INF/lib directory and I still receive the error:


    Caused by:...
  2. Replies
    0
    Views
    179

    Passing an object from jsp to controller

    Hi,

    I want to be able to pass an object via a link to a Controller which will then display the details of the object.

    For example, I want to pass the object "item" to a controller which will...
  3. One more question. I did take out the...

    One more question.

    I did take out the maxUploadSize and try what you suggested but I noticed that it won't go that far. It's like the application times out before attempting to check if it's too...
  4. Okay, I thought of doing it that way but I wanted...

    Okay, I thought of doing it that way but I wanted to make sure that I wasn't missing anything with the CommonsMultipartResolver functionality.

    Thanks so much.
  5. Have you figured out a way to display the error...

    Have you figured out a way to display the error message if the user exceeds the maxUploadSize? I'm not sure what to pass to the jsp file.

    Thanks
  6. Replies
    1
    Views
    1,359

    Hibernate not updating?

    When I perform a merge() my object is not being updated in the database. All other instances of my updating and inserting records work, so I'm ruling out that their is a problem with database...
  7. Replies
    1
    Views
    647

    I found a solution. I ran into a similar post and...

    I found a solution. I ran into a similar post and responded with a solution here for future reference http://forum.springsource.org/showthread.php?p=350159#post350159

    Thanks.
  8. Okay I think I found a way to do this using an...

    Okay I think I found a way to do this using an example I found here (http://www.blokefood.com/liferay-portal-4.2.1/web/blokefood/spring_upload_example) .. this is what I did using Spring Portlet MVC:...
  9. Did you find an answer to your question? I'm...

    Did you find an answer to your question? I'm having the same issue and would love to hear what you did?

    Thanks
  10. Replies
    1
    Views
    647

    Portal MVC and uploading an image

    Are there any examples that may help guide me with uploading an image from a form using Spring Portlet MVC? I tried the documentation at the following url,...
  11. Replies
    1
    Views
    474

    I made some adjustments to my code below. ...

    I made some adjustments to my code below.

    First of all, my notices-dao.xml file was incorrect. The property name is not 'user' it is 'username'.

    Secondly, I removed the reference to...
  12. Replies
    1
    Views
    474

    Need help adding mysql support

    I have got a skeleton working but once I start adding the datasource I run into context=null errors.

    I'm using portlet mvc and annotations if that helps. I'm truly thinking this is a matter of...
  13. Ok, I think I figured it all out for now. This is...

    Ok, I think I figured it all out for now. This is my resulting code:




    @Controller
    @RequestMapping("VIEW")
    public class MyEditController{

    @RequestMapping(params="action=edit")
  14. I think I got my signatures working now but I was...

    I think I got my signatures working now but I was wondering how you now bind form data? Previously I used the commandClass and bindOnNewForm to configure this but I guess this is different when using...
  15. Ok, I'll take a look at modifying the signatures....

    Ok, I'll take a look at modifying the signatures. I'm going to remove the processSubmit out initially to see if I can at least get the form to display. I'll keep you posted. Other than that, are the...
  16. Thanks for responding. Here's my code: ...

    Thanks for responding. Here's my code:

    MyViewController:



    @Controller
    @RequestMapping("VIEW")
    public class MyViewController{
    private IMyService myService;
  17. I stumbled upon this thread because it's...

    I stumbled upon this thread because it's something that I've been trying to do the past couple days. I had an existing spring portlet that I'm trying to rewrite using annotation. Basically, upon...
  18. I just got it working using the standard: String...

    I just got it working using the standard: String url = request.getParameter("path");

    I had the impression that I had to use PortletRequestUtils.getStringParameter() in spring mvc..

    So, I guess...
  19. Requesting parameters from the view controller

    I'm in the middle of learning how to use Spring Portlet MVC and I'm trying to understand how to use controllers.

    Right now, I'm attempting to write an application that retrieves the contents of a...
  20. help: Eclipse 3.4.x, Spring plugin, Tomcat working together

    I've installed all necessary plugins and I tried an example Spring mvc example but I'm having a difficult time getting the project deployed on tomcat.

    this is the tutorial I used:...
Results 1 to 20 of 20