Results 1 to 3 of 3

Thread: Where command object is stored?

  1. #1
    Join Date
    Oct 2009
    Posts
    4

    Default Where command object is stored?

    Hi,
    I'm have a web application (with spring 2.5) and I'm writing my own tags.
    Using a class that extends SimpleFormController I set a command object.

    When writing my tags I need some properties from the command object. I have the pageContext object but I can't figure out where it's stored.

    Could everyone help me?

    Thanks in advance,
    Luisa

    p.s.

    I haven't set the command object to be stored to session(the property:sessionForm set to true), it's necessary?

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    Why not simply use jstl or expression language to use it... You can simply refer to it with the name you gave it (or the default 'command').
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3

    Default

    Turning up the log level of Spring web to debug, you shall find the answer of your question.
    [URL="http://vicina.info"] 新闻,社区新闻,分类广告

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •