on 05-31-2012 5:24 PM
Hello,
thanks in advance for reading me. My problem is that i have to get client browser info from web dynpro java in version netweaver 7.3 sps05. I tryed
http://help.sap.com/saphelp_nw73/helpdata/en/49/d33e6e677758c1e10000000a421937/frameset.htm
and
code like :
HttpServletRequest request = (HttpServletRequest) WDProtocolAdapter.getProtocolAdapter().getRequestObject().getProtocolRequest();
but in both options i added in netweaver developer studio servlet.jar from ...\<instance>\J04\j2ee\cluster\bin\ext\servlet\lib\servlet.jar to project properties -> Java Build Path-> Libraries and when i try to build it fails given me the next error:
"[javac] ERROR: import javax.servlet.http.HttpServletRequest;
etc..."
My question is how i can retrive using a standard way the client browser info or how i can add servlet.jar to try to get browser info in that way.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
First, thanks for your help! Well, i was checking my available DCs to include and i only found servlet_jsp. Thanks for the reference to your blog too, but i know how to do that, but i didnt found a DC which contains servlet.jar. So its possible that i have missed a DC or that i need to ask basis team to install something?
After your confirmation that its not possible to add your own jar files, what's the correct way Now, i am wondering how to, for example, make a webdynpro that uses a smtp jar to send emails.
Thanks in advance.
its under SERVERCORE SCA..See the screenshot
Just do a search using "ser"..you should get it..If it does not show, then hit on the Refresh button..
On your other question, for javamail - there is a standard DC available "mail"..you can use that.
For other external JARs (Non-SAP), you will have to create a Library DC, add the jars, create public part and then add the dependency
Hope this helps.
Sandip
Hi Sandeep,
We are also facing errors on the javax.* imports. You are talking about the SERVERCORE SC above which do not seem to find in our landscape. We have added the required dependencies as per the note 1457908.
Can you please suggest @ the earliest if we have missed anything?
Also I do not see LocalDevelopment. Can you please suggest how can I get that too?
Thanks
Gourav
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.