Jump to content

Search the Community

Showing results for tags 'getattribute'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello, I have a problem with my java/jsp application. I created it in eclipse as it was described here http://wiki.helionet.org/Java_Servlet. I have tested it on Apache 7 and selected Java 1.6 for this project. It runs ok on my local machine. I deployed it on server (rec0.heliohost.org/xmascard) and it doesn't work as it should. The problem occurs everytime I try to get object from java in jsp site. I'm trying to do it like: <% Card card = (Card) session.getAttribute("card"); %> And when I try to use this object <%= card.getUsername()%>I allways get NullPointerException like this object is never loaded. As I said it works on my local tomcat 7 server so I doubt it is implementation problem. Mabye there are some version differences so I don't ask you to fix this. I would only like to know how should I pass objects (or eventually simple variables) from java code to jsp the way it works on your servers. I'd love to try it myself but long deploying times make it hard. I hope you can help me Regards, rec0
×
×
  • Create New...