To be honest: your question sounds like you should neither use RSA nor JSPs yet. Please review your basics first.
And simply because your IDE's code completion doesn't work, it doesn't mean you don't have access to public instance attributs (as opposed to class/static attributes), which usually shouldn't exist anyway.
The compiler is the only instance to tell you whether access is possible or not.
i wil explain u wats the problem
i have created a project test1
and then a class ClsStudent and while creating that i hv given center as the package name..OK
this is Clsstudent
public class ClsStudent
{
public int a;
}
i am having another class like ClsProcess in the same package(center)
within that
public class ClsProcess
{
ClsStudent obj=new ClsStudent();
obj.here am not getting that obj.a..see a is a public variable..then why am not getting that a there...
that is my doubt
and see am not a jsp expert.. am a fresher in this field and now working in .NET Platform...
i was just trying this RSA
}
> i have tried that build project...if it's not that
> code completion u mean then plz let me know wat is
> that code completion.
You keep talking about "you don't get a if you type obj.".Getting the suggestion for an a is what's called code completion.
I take it back, it's not the code completion. You get an error because your putting some statement that's not a declaration outside any method.
> I have changed the status of websphere and run a
> simple login.jsp page(it doesnot contain any
> programming just two text boxes and one submit
> butten.
It has nothing to do with JSPs, RSA, Websfear or anything else.
> if u get wats my problem then let me know how to
> solve that...
You can't put non-declarations outside any methods or initializers. whatever statement "obj.a" is supposed to become, it's illegal syntax. The simple solution is: don't do it.
Your real problem is a lack of basic Java knowledge, I'm afraid. You should gain some experience before even considering moving to JSP.