JSP sessions under Websphere
Hi !
I have a problem with JSP sessions under WAS 3.5.4.
I wrote an application with sessions that worked under Tomcat, and now that I have to migrate to Websphere, lines such as :
tf = (String)session.getAttribute("id");
won't work : I get the error :
com.sun.jsp.JspException: Compilation failed
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.(Compiled Code)
...
I am sure that the error comes from this since I have commented any other line, and it doesn't work any longer as soon as I add this one...
Can anybody help me ?
Gaelle.
I have a problem with JSP sessions under WAS 3.5.4.
I wrote an application with sessions that worked under Tomcat, and now that I have to migrate to Websphere, lines such as :
tf = (String)session.getAttribute("id");
won't work : I get the error :
com.sun.jsp.JspException: Compilation failed
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.(Compiled Code)
...
I am sure that the error comes from this since I have commented any other line, and it doesn't work any longer as soon as I add this one...
Can anybody help me ?
Gaelle.
3 réponses
-
ContributeurHi Gaellle, just a question, why do you write in English...This is a francophon forum, even if we are tolerant!!! ;-) Anyway, your first name (assuming it is your pseudo) sounds quite french to me...
OK, I won't bother you any longer as if I speak english, I don't speak Java ;-)
. .
\_/-
-
Contributeur@GaellleIt's all right with me, it's just fun to see english here...But I'm sorry I can't help you...
CU
. .
\_/ -
@teeboi'm like teebo, i don't speak Java (neither do i danse it :-D )
but i'll, trslate your post for the other little frenchies who might speak Java better than english :)
.O
(_)__... Castor
-
-
<TRANS>
Salut !
J'ai un probleme avec des sessions JSP sous WAS 3.5.4
J'ai ecrit des applications utilisant les sessions qui fonctionnent sous TomCat, mais la je dois migrer tout ca sous Websphere.
Le pb: des lignes comme:
tf = (String)session.getAttribute("id");
ne marchent plus :
com.sun.jsp.JspException: Compilation failed
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.(Compiled Code)
...
Je suis sure que l'erreur vient de ce morceau de code, puisque j'ai mis en commentaire toutes les autres lignes, et cela ne fonctionne plus des que j'ajoute cette fameuse ligne...
Est-ce que quelqu'un peut m'aider ??
Gaelle.
</TRANS>
voila...desole pour mon incompetance Javanaise :)
that's it... sorry for my Javanese incompetence :)
.O
(_)__... Castor -
essai (String) session.getValue("id");