JSP sessions under Websphere
Gaellle
Messages postés
10
Statut
Membre
-
teebo Messages postés 33585 Date d'inscription Statut Contributeur Dernière intervention -
teebo Messages postés 33585 Date d'inscription Statut Contributeur Dernière intervention -
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
-
Hi 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 ;-)
. .
\_/ -
<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 -