Announcement Announcement Module
Collapse
No announcement yet.
Can you use HttpInvoker to return a web page? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can you use HttpInvoker to return a web page?

    Our application is a rich swing client that is using spring remoting. We want to implement a reporting system where the report is generated as HTML from the server and then displayed in a preview component using a JEditorPane.

    The JEditorPane can take a java.net.URL object or you can setText() with html.

    Is there a way to use spring's HttpInvoker to retrieve the webpage?

    Right now we are using Basic Authentication with the remoting but I'd like to use the URL object with the JEditorPane in combination with spring.

    Does anyone have any ideas or suggestions?

    Thanks,

    Darrell

  • #2
    I think it's better to NOT use the HttpInvoker to display HTML on the client. You're better off using the MVC framework for this I guess. The HttpInvoker is meant to serve as RPC mechanism, not to display HTML stuff...


    rgds,
    alef

    Comment

    Working...
    X